Weewx Not Writing to InfluxDB

136 views
Skip to first unread message

The Reckoning

unread,
Oct 28, 2023, 3:45:16 PM10/28/23
to weewx-user
Hey guys, I am relatively new to Weewx. I have it installed on my Ubuntu 22.04 server. I also have Influx 1.6.7 installed on that same server. 

I installed the weewx-influx extension and modified the weewx.conf file accordingly.

[[Influx]]

        database = weewx_data

        host = localhost

        obs_to_upload = all

        measurement = label


It looks like weewx successfully created a new database but isn't putting anything in it. I'm posting my log below. Can someone please help me figure out how to correct this? In looking at the GitHub, it seems that other people are having the same issue.

My whole goal here is to create a getter dashboard through Grafana. As a side note, is there a good list of weewx extensions out there? 

Oct 28 14:20:15 jm-Virtual-Machine weewx[79124] DEBUG weewx.drivers.vantage: Getting archive packets since 2023-10-28 14:15:00 EDT (1698516900)

Oct 28 14:20:16 jm-Virtual-Machine weewx[79124] DEBUG weewx.drivers.vantage: Successfully woke up Vantage console

Oct 28 14:20:18 jm-Virtual-Machine weewx[79124] DEBUG weewx.drivers.vantage: Retrieving 1 page(s); starting index= 0

Oct 28 14:20:18 jm-Virtual-Machine weewx[79124] INFO weewx.manager: Added record 2023-10-28 14:20:00 EDT (1698517200) to database 'weewx.sdb'

Oct 28 14:20:18 jm-Virtual-Machine weewx[79124] INFO weewx.manager: Added record 2023-10-28 14:20:00 EDT (1698517200) to daily summary in 'weewx.sdb'

Oct 28 14:20:18 jm-Virtual-Machine weewx[79124] DEBUG weewx.drivers.vantage: Empty record page 0; index 1

Oct 28 14:20:18 jm-Virtual-Machine weewx[79124] DEBUG user.influx: skipped value 'None': float() argument must be a string or a real number, not 'NoneType'

Oct 28 14:20:18 jm-Virtual-Machine weewx[79124] DEBUG weewx.reportengine: Running reports for latest time in the database.

Oct 28 14:20:18 jm-Virtual-Machine weewx[79124] DEBUG weewx.reportengine: Running report 'SeasonsReport'

Oct 28 14:20:18 jm-Virtual-Machine weewx[79124] DEBUG weewx.drivers.vantage: Requesting 200 LOOP packets.

Oct 28 14:20:18 jm-Virtual-Machine weewx[79124] DEBUG weewx.reportengine: Found configuration file /etc/weewx/skins/Seasons/skin.conf for report 'SeasonsReport'

Oct 28 14:20:18 jm-Virtual-Machine weewx[79124] DEBUG weewx.cheetahgenerator: Using search list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.DisplayOptions', 'weewx.cheetahgenerator.Extras', 'weewx.cheetahgenerator.Gettext', 'weewx.cheetahgenerator.JSONHelpers', 'weewx.cheetahgenerator.PlotInfo', 'weewx.cheetahgenerator.SkinInfo', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo']

Oct 28 14:20:18 jm-Virtual-Machine weewx[79124] DEBUG weewx.manager: Daily summary version is 4.0

Oct 28 14:20:18 jm-Virtual-Machine influxd[79116]: [httpd] 127.0.0.1 - - [28/Oct/2023:14:20:18 -0400] "POST /write?db=weewx_data HTTP/1.1" 204 0 "-" "weewx/4.10.2" a64b7e66-75be-11ee-801d-000000000000 43772

Oct 28 14:20:18 jm-Virtual-Machine weewx[79124] INFO weewx.restx: Influx: Published record 2023-10-28 14:20:00 EDT (1698517200)

Oct 28 14:20:19 jm-Virtual-Machine weewx[79124] DEBUG weewx.restx: StationRegistry: Failed upload attempt 1: HTTP Error 429: TOO MANY REQUESTS

Oct 28 14:20:19 jm-Virtual-Machine weewx[79124] INFO weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 0.43 seconds

Oct 28 14:20:19 jm-Virtual-Machine weewx[79124] DEBUG weewx.restx: CWOP: Connected to server cwop.aprs.net:14580

Oct 28 14:20:19 jm-Virtual-Machine weewx[79124] DEBUG weewx.manager: Daily summary version is 4.0

Oct 28 14:20:19 jm-Virtual-Machine weewx[79124] INFO weewx.imagegenerator: Generated 13 images for report SeasonsReport in 0.13 seconds

Oct 28 14:20:19 jm-Virtual-Machine weewx[79124] INFO weewx.reportengine: Copied 5 files to /var/www/html/weewx

Oct 28 14:20:19 jm-Virtual-Machine weewx[79124] DEBUG weewx.reportengine: Report 'SmartphoneReport' not enabled. Skipping.

Oct 28 14:20:19 jm-Virtual-Machine weewx[79124] DEBUG weewx.reportengine: Report 'MobileReport' not enabled. Skipping.

Oct 28 14:20:19 jm-Virtual-Machine weewx[79124] DEBUG weewx.reportengine: Report 'StandardReport' not enabled. Skipping.

Oct 28 14:20:19 jm-Virtual-Machine weewx[79124] DEBUG weewx.reportengine: Report 'FTP' not enabled. Skipping.

Oct 28 14:20:19 jm-Virtual-Machine weewx[79124] DEBUG weewx.reportengine: Report 'RSYNC' not enabled. Skipping.

Oct 28 14:20:19 jm-Virtual-Machine weewx[79124] INFO weewx.restx: CWOP: Published record 2023-10-28 14:20:00 EDT (1698517200)

Oct 28 14:20:19 jm-Virtual-Machine weewx[79124] INFO weewx.restx: Wunderground-PWS: Published record 2023-10-28 14:20:00 EDT (1698517200)

Oct 28 14:20:20 jm-Virtual-Machine weewx[79124] DEBUG weewx.drivers.vantage: Successfully woke up Vantage console

Oct 28 14:20:24 jm-Virtual-Machine weewx[79124] DEBUG weewx.restx: StationRegistry: Failed upload attempt 2: HTTP Error 429: TOO MANY REQUESTS

Oct 28 14:20:29 jm-Virtual-Machine weewx[79124] DEBUG weewx.restx: StationRegistry: Failed upload attempt 3: HTTP Error 429: TOO MANY REQUESTS


The Reckoning

unread,
Oct 28, 2023, 3:54:10 PM10/28/23
to weewx-user
I realized that I linked to the wrong GitHub above. I installed this extension...the one compatible with Influx V1.XX. The incorrect one linked above is for Influx V2.XX. I did NOT install that one. 

vince

unread,
Oct 28, 2023, 4:46:37 PM10/28/23
to weewx-user
Check your influxdb logs and see what it thinks too.....

The Reckoning

unread,
Oct 28, 2023, 5:12:38 PM10/28/23
to weewx-user
I am using Influxdb for my openHAB installation which runs on this same server and I see logs for that but no Influx logs for any Weewx entries. to get the logs I'm running this command and observing when weewx updates (every 5 minutes in my case). 

The update ran at about 17:05:17. Here's a sample:

Oct 28 17:04:00 jm-Virtual-Machine influxd[79116]: [httpd] 127.0.0.1 - openhab [28/Oct/2023:17:04:00 -0400] "GET /query?db=openhab_db&epoch=ms&q=SELECT+%22value%22%3A%3Afield%2C%22item%22%3A%3Atag+FROM+%22autogen%22.%22ZWaveNode041ZW095HomeEnergyMeterGen5MeterWatts%22+WHERE+time+%3C%3D+%272023-09-28T21%3A04%3A00.056524387Z%27+ORDER+BY+time+DESC+LIMIT+1%3B HTTP/1.1" 200 168 "-" "okhttp/3.14.9" 845356bb-75d5-11ee-8551-000000000000 5150
Oct 28 17:04:00 jm-Virtual-Machine influxd[79116]: ts=2023-10-28T21:04:00.372622Z lvl=info msg="Executing query" log_id=0l9swtRl000 service=query query="SELECT value::field, item::tag FROM openhab_db.autogen.ZWaveNode041ZW095HomeEnergyMeterGen5MeterWatts WHERE time >= '2023-09-28T21:04:00.372219339Z' ORDER BY time ASC"
Oct 28 17:04:00 jm-Virtual-Machine influxd[79116]: [httpd] 127.0.0.1 - openhab [28/Oct/2023:17:04:00 -0400] "GET /query?db=openhab_db&epoch=ms&q=SELECT+%22value%22%3A%3Afield%2C%22item%22%3A%3Atag+FROM+%22autogen%22.%22ZWaveNode041ZW095HomeEnergyMeterGen5MeterWatts%22+WHERE+time+%3E%3D+%272023-09-28T21%3A04%3A00.372219339Z%27+ORDER+BY+time+ASC%3B HTTP/1.1" 200 132556 "-" "okhttp/3.14.9" 8455364f-75d5-11ee-8552-000000000000 50713
Oct 28 17:04:00 jm-Virtual-Machine influxd[79116]: ts=2023-10-28T21:04:00.646479Z lvl=info msg="Executing query" log_id=0l9swtRl000 service=query query="SELECT value::field, item::tag FROM openhab_db.autogen.ZWaveNode041ZW095HomeEnergyMeterGen5MeterWatts WHERE time <= '2023-09-28T21:04:00.372219339Z' ORDER BY time DESC LIMIT 1"
Oct 28 17:04:00 jm-Virtual-Machine influxd[79116]: [httpd] 127.0.0.1 - openhab [28/Oct/2023:17:04:00 -0400] "GET /query?db=openhab_db&epoch=ms&q=SELECT+%22value%22%3A%3Afield%2C%22item%22%3A%3Atag+FROM+%22autogen%22.%22ZWaveNode041ZW095HomeEnergyMeterGen5MeterWatts%22+WHERE+time+%3C%3D+%272023-09-28T21%3A04%3A00.372219339Z%27+ORDER+BY+time+DESC+LIMIT+1%3B HTTP/1.1" 200 168 "-" "okhttp/3.14.9" 847efe8c-75d5-11ee-8553-000000000000 4250
Oct 28 17:04:03 jm-Virtual-Machine influxd[79116]: [httpd] 127.0.0.1 - openhab [28/Oct/2023:17:04:03 -0400] "POST /write?db=openhab_db&rp=autogen&precision=n&consistency=one HTTP/1.1" 204 0 "-" "okhttp/3.14.9" 86183365-75d5-11ee-8554-000000000000 9870
Oct 28 17:04:21 jm-Virtual-Machine influxd[79116]: [httpd] 127.0.0.1 - openhab [28/Oct/2023:17:04:21 -0400] "POST /write?db=openhab_db&rp=autogen&precision=n&consistency=one HTTP/1.1" 204 0 "-" "okhttp/3.14.9" 90d49dd0-75d5-11ee-8555-000000000000 10884
Oct 28 17:05:00 jm-Virtual-Machine influxd[79116]: ts=2023-10-28T21:05:00.057202Z lvl=info msg="Executing query" log_id=0l9swtRl000 service=query query="SELECT value::field, item::tag FROM openhab_db.autogen.ZWaveNode041ZW095HomeEnergyMeterGen5MeterWatts WHERE time >= '2023-09-28T21:05:00.056705386Z' ORDER BY time ASC"
Oct 28 17:05:00 jm-Virtual-Machine influxd[79116]: [httpd] 127.0.0.1 - openhab [28/Oct/2023:17:05:00 -0400] "GET /query?db=openhab_db&epoch=ms&q=SELECT+%22value%22%3A%3Afield%2C%22item%22%3A%3Atag+FROM+%22autogen%22.%22ZWaveNode041ZW095HomeEnergyMeterGen5MeterWatts%22+WHERE+time+%3E%3D+%272023-09-28T21%3A05%3A00.056705386Z%27+ORDER+BY+time+ASC%3B HTTP/1.1" 200 132565 "-" "okhttp/3.14.9" a7e85847-75d5-11ee-8556-000000000000 44614
Oct 28 17:05:00 jm-Virtual-Machine influxd[79116]: ts=2023-10-28T21:05:00.288497Z lvl=info msg="Executing query" log_id=0l9swtRl000 service=query query="SELECT value::field, item::tag FROM openhab_db.autogen.ZWaveNode041ZW095HomeEnergyMeterGen5MeterWatts WHERE time <= '2023-09-28T21:05:00.056705386Z' ORDER BY time DESC LIMIT 1"
Oct 28 17:05:00 jm-Virtual-Machine influxd[79116]: [httpd] 127.0.0.1 - openhab [28/Oct/2023:17:05:00 -0400] "GET /query?db=openhab_db&epoch=ms&q=SELECT+%22value%22%3A%3Afield%2C%22item%22%3A%3Atag+FROM+%22autogen%22.%22ZWaveNode041ZW095HomeEnergyMeterGen5MeterWatts%22+WHERE+time+%3C%3D+%272023-09-28T21%3A05%3A00.056705386Z%27+ORDER+BY+time+DESC+LIMIT+1%3B HTTP/1.1" 200 168 "-" "okhttp/3.14.9" a80ba640-75d5-11ee-8557-000000000000 6302
Oct 28 17:05:00 jm-Virtual-Machine influxd[79116]: ts=2023-10-28T21:05:00.301498Z lvl=info msg="Executing query" log_id=0l9swtRl000 service=query query="SELECT value::field, item::tag FROM openhab_db.autogen.ZWaveNode041ZW095HomeEnergyMeterGen5MeterWatts WHERE time >= '2023-09-28T21:05:00.300713912Z' ORDER BY time ASC"
Oct 28 17:05:00 jm-Virtual-Machine influxd[79116]: [httpd] 127.0.0.1 - openhab [28/Oct/2023:17:05:00 -0400] "GET /query?db=openhab_db&epoch=ms&q=SELECT+%22value%22%3A%3Afield%2C%22item%22%3A%3Atag+FROM+%22autogen%22.%22ZWaveNode041ZW095HomeEnergyMeterGen5MeterWatts%22+WHERE+time+%3E%3D+%272023-09-28T21%3A05%3A00.300713912Z%27+ORDER+BY+time+ASC%3B HTTP/1.1" 200 132565 "-" "okhttp/3.14.9" a80da0ab-75d5-11ee-8558-000000000000 62814
Oct 28 17:05:00 jm-Virtual-Machine influxd[79116]: ts=2023-10-28T21:05:00.542961Z lvl=info msg="Executing query" log_id=0l9swtRl000 service=query query="SELECT value::field, item::tag FROM openhab_db.autogen.ZWaveNode041ZW095HomeEnergyMeterGen5MeterWatts WHERE time <= '2023-09-28T21:05:00.300713912Z' ORDER BY time DESC LIMIT 1"
Oct 28 17:05:00 jm-Virtual-Machine influxd[79116]: [httpd] 127.0.0.1 - openhab [28/Oct/2023:17:05:00 -0400] "GET /query?db=openhab_db&epoch=ms&q=SELECT+%22value%22%3A%3Afield%2C%22item%22%3A%3Atag+FROM+%22autogen%22.%22ZWaveNode041ZW095HomeEnergyMeterGen5MeterWatts%22+WHERE+time+%3C%3D+%272023-09-28T21%3A05%3A00.300713912Z%27+ORDER+BY+time+DESC+LIMIT+1%3B HTTP/1.1" 200 168 "-" "okhttp/3.14.9" a83276da-75d5-11ee-8559-000000000000 5646
Oct 28 17:05:21 jm-Virtual-Machine influxd[79116]: [httpd] 127.0.0.1 - openhab [28/Oct/2023:17:05:21 -0400] "POST /write?db=openhab_db&rp=autogen&precision=n&consistency=one HTTP/1.1" 204 0 "-" "okhttp/3.14.9" b49a1949-75d5-11ee-855a-000000000000 14995
Oct 28 17:05:21 jm-Virtual-Machine influxd[79116]: [httpd] 127.0.0.1 - - [28/Oct/2023:17:05:21 -0400] "POST /write?db=weewx_data HTTP/1.1" 204 0 "-" "weewx/4.10.2" b4afcd69-75d5-11ee-855b-000000000000 13373
Oct 28 17:05:21 jm-Virtual-Machine weewx[86408] INFO weewx.restx: Influx: Published record 2023-10-28 17:05:00 EDT (1698527100)
Oct 28 17:06:00 jm-Virtual-Machine influxd[79116]: ts=2023-10-28T21:06:00.057379Z lvl=info msg="Executing query" log_id=0l9swtRl000 service=query query="SELECT value::field, item::tag FROM openhab_db.autogen.ZWaveNode041ZW095HomeEnergyMeterGen5MeterWatts WHERE time >= '2023-09-28T21:06:00.056910328Z' ORDER BY time ASC"
Oct 28 17:06:00 jm-Virtual-Machine influxd[79116]: [httpd] 127.0.0.1 - openhab [28/Oct/2023:17:06:00 -0400] "GET /query?db=openhab_db&epoch=ms&q=SELECT+%22value%22%3A%3Afield%2C%22item%22%3A%3Atag+FROM+%22autogen%22.%22ZWaveNode041ZW095HomeEnergyMeterGen5MeterWatts%22+WHERE+time+%3E%3D+%272023-09-28T21%3A06%3A00.056910328Z%27+ORDER+BY+time+ASC%3B HTTP/1.1" 200 132574 "-" "okhttp/3.14.9" cbaba589-75d5-11ee-855c-000000000000 74384
Oct 28 17:06:00 jm-Virtual-Machine influxd[79116]: ts=2023-10-28T21:06:00.354710Z lvl=info msg="Executing query" log_id=0l9swtRl000 service=query query="SELECT value::field, item::tag FROM openhab_db.autogen.ZWaveNode041ZW095HomeEnergyMeterGen5MeterWatts WHERE time <= '2023-09-28T21:06:00.056910328Z' ORDER BY time DESC LIMIT 1"
Oct 28 17:06:00 jm-Virtual-Machine influxd[79116]: [httpd] 127.0.0.1 - openhab [28/Oct/2023:17:06:00 -0400] "GET /query?db=openhab_db&epoch=ms&q=SELECT+%22value%22%3A%3Afield%2C%22item%22%3A%3Atag+FROM+%22autogen%22.%22ZWaveNode041ZW095HomeEnergyMeterGen5MeterWatts%22+WHERE+time+%3C%3D+%272023-09-28T21%3A06%3A00.056910328Z%27+ORDER+BY+time+DESC+LIMIT+1%3B HTTP/1.1" 200 168 "-" "okhttp/3.14.9" cbd90571-75d5-11ee-855d-000000000000 5915
Oct 28 17:06:00 jm-Virtual-Machine influxd[79116]: ts=2023-10-28T21:06:00.368478Z lvl=info msg="Executing query" log_id=0l9swtRl000 service=query query="SELECT value::field, item::tag FROM openhab_db.autogen.ZWaveNode041ZW095HomeEnergyMeterGen5MeterWatts WHERE time >= '2023-09-28T21:06:00.368053637Z' ORDER BY time ASC"
Oct 28 17:06:00 jm-Virtual-Machine influxd[79116]: [httpd] 127.0.0.1 - openhab [28/Oct/2023:17:06:00 -0400] "GET /query?db=openhab_db&epoch=ms&q=SELECT+%22value%22%3A%3Afield%2C%22item%22%3A%3Atag+FROM+%22autogen%22.%22ZWaveNode041ZW095HomeEnergyMeterGen5MeterWatts%22+WHERE+time+%3E%3D+%272023-09-28T21%3A06%3A00.368053637Z%27+ORDER+BY+time+ASC%3B HTTP/1.1" 200 132574 "-" "okhttp/3.14.9" cbdb1fe9-75d5-11ee-855e-000000000000 47163
Oct 28 17:06:00 jm-Virtual-Machine influxd[79116]: ts=2023-10-28T21:06:00.614449Z lvl=info msg="Executing query" log_id=0l9swtRl000 service=query query="SELECT value::field, item::tag FROM openhab_db.autogen.ZWaveNode041ZW095HomeEnergyMeterGen5MeterWatts WHERE time <= '2023-09-28T21:06:00.368053637Z' ORDER BY time DESC LIMIT 1"
Oct 28 17:06:00 jm-Virtual-Machine influxd[79116]: [httpd] 127.0.0.1 - openhab [28/Oct/2023:17:06:00 -0400] "GET /query?db=openhab_db&epoch=ms&q=SELECT+%22value%22%3A%3Afield%2C%22item%22%3A%3Atag+FROM+%22autogen%22.%22ZWaveNode041ZW095HomeEnergyMeterGen5MeterWatts%22+WHERE+time+%3C%3D+%272023-09-28T21%3A06%3A00.368053637Z%27+ORDER+BY+time+DESC+LIMIT+1%3B HTTP/1.1" 200 168 "-" "okhttp/3.14.9" cc00a71a-75d5-11ee-855f-000000000000 5433
Oct 28 17:06:03 jm-Virtual-Machine influxd[79116]: [httpd] 127.0.0.1 - openhab [28/Oct/2023:17:06:03 -0400] "POST /write?db=openhab_db&rp=autogen&precision=n&consistency=one HTTP/1.1" 204 0 "-" "okhttp/3.14.9" cda588a5-75d5-11ee-8560-000000000000 10793

Here are my Weewx startup logs:

Oct 28 17:02:35 jm-Virtual-Machine systemd[1]: Started WeeWX weather system.
Oct 28 17:02:35 jm-Virtual-Machine weewx[86408] INFO __main__: Initializing weewx version 4.10.2
Oct 28 17:02:35 jm-Virtual-Machine weewx[86408] INFO __main__: Using Python 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0]
Oct 28 17:02:35 jm-Virtual-Machine weewx[86408] INFO __main__: Located at /usr/bin/python3
Oct 28 17:02:35 jm-Virtual-Machine weewx[86408] INFO __main__: Platform Linux-6.2.0-35-generic-x86_64-with-glibc2.35
Oct 28 17:02:35 jm-Virtual-Machine weewx[86408] INFO __main__: Locale is 'en_US.UTF-8'
Oct 28 17:02:35 jm-Virtual-Machine weewx[86408] INFO __main__: Using configuration file /etc/weewx/weewx.conf
Oct 28 17:02:35 jm-Virtual-Machine weewx[86408] INFO __main__: Debug is 1
Oct 28 17:02:35 jm-Virtual-Machine weewx[86408] DEBUG __main__: Initializing engine
Oct 28 17:02:35 jm-Virtual-Machine weewx[86408] INFO weewx.engine: Loading station type Vantage (weewx.drivers.vantage)
Oct 28 17:02:35 jm-Virtual-Machine weewx[86408] DEBUG weewx.drivers.vantage: Driver version is 3.5.2
Oct 28 17:02:35 jm-Virtual-Machine weewx[86408] DEBUG weewx.drivers.vantage: Option loop_request=1
Oct 28 17:02:35 jm-Virtual-Machine weewx[86408] DEBUG weewx.drivers.vantage: Opened up ethernet host 10.39.40.43 on port 22222. timeout=4.0, tcp_send_delay=0.5
Oct 28 17:02:37 jm-Virtual-Machine weewx[86408] DEBUG weewx.drivers.vantage: Successfully woke up Vantage console
Oct 28 17:02:37 jm-Virtual-Machine weewx[86408] DEBUG weewx.drivers.vantage: Hardware type is 16
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] DEBUG weewx.drivers.vantage: ISS ID is 1
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] DEBUG weewx.drivers.vantage: Hardware name: Vantage Pro2
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] DEBUG weewx.engine: Loading service weewx.engine.StdTimeSynch
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] DEBUG weewx.engine: Finished loading service weewx.engine.StdTimeSynch
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] DEBUG weewx.engine: Loading service weewx.engine.StdConvert
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] INFO weewx.engine: StdConvert target unit is 0x1
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] DEBUG weewx.engine: Finished loading service weewx.engine.StdConvert
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] DEBUG weewx.engine: Loading service weewx.engine.StdCalibrate
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] DEBUG weewx.engine: Finished loading service weewx.engine.StdCalibrate
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] DEBUG weewx.engine: Loading service weewx.engine.StdQC
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] DEBUG weewx.engine: Finished loading service weewx.engine.StdQC
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] DEBUG weewx.engine: Loading service weewx.wxservices.StdWXCalculate
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] INFO weewx.wxservices: StdWXCalculate will use data binding wx_binding
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] DEBUG weewx.manager: Daily summary version is 4.0
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] DEBUG weewx.engine: Finished loading service weewx.wxservices.StdWXCalculate
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] DEBUG weewx.engine: Loading service weewx.wxxtypes.StdWXXTypes
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdWXXTypes
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] DEBUG weewx.engine: Loading service weewx.wxxtypes.StdPressureCooker
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdPressureCooker
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] DEBUG weewx.engine: Loading service weewx.wxxtypes.StdRainRater
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdRainRater
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] DEBUG weewx.engine: Loading service weewx.wxxtypes.StdDelta
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdDelta
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] DEBUG weewx.engine: Loading service weewx.engine.StdArchive
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] INFO weewx.engine: Archive will use data binding wx_binding
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] INFO weewx.engine: Record generation will be attempted in 'hardware'
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] INFO weewx.engine: Using archive interval of 300 seconds (specified by hardware)
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] DEBUG weewx.engine: Use LOOP data in hi/low calculations: 1
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] DEBUG weewx.engine: Finished loading service weewx.engine.StdArchive
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] DEBUG weewx.engine: Loading service weewx.restx.StdStationRegistry
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] INFO weewx.restx: StationRegistry: Station will be registered.
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] DEBUG weewx.engine: Finished loading service weewx.restx.StdStationRegistry
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] DEBUG weewx.engine: Loading service weewx.restx.StdWunderground
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] DEBUG weewx.restx: WU essentials: {}
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] INFO weewx.restx: Wunderground-PWS: Data for station KFLSTJOH39 will be posted
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] DEBUG weewx.engine: Finished loading service weewx.restx.StdWunderground
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] DEBUG weewx.engine: Loading service weewx.restx.StdPWSweather
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] INFO weewx.restx: PWSweather: Posting not enabled.
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] DEBUG weewx.engine: Finished loading service weewx.restx.StdPWSweather
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] DEBUG weewx.engine: Loading service weewx.restx.StdCWOP
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] INFO weewx.restx: CWOP: Data for station FW5919 will be posted
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] DEBUG weewx.engine: Finished loading service weewx.restx.StdCWOP
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] DEBUG weewx.engine: Loading service weewx.restx.StdWOW
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] INFO weewx.restx: WOW: Posting not enabled.
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] DEBUG weewx.engine: Finished loading service weewx.restx.StdWOW
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] DEBUG weewx.engine: Loading service weewx.restx.StdAWEKAS
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] INFO weewx.restx: AWEKAS: Posting not enabled.
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] DEBUG weewx.engine: Finished loading service weewx.restx.StdAWEKAS
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] DEBUG weewx.engine: Loading service user.influx.Influx
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] INFO user.influx: service version is 0.17
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] INFO user.influx: database: weewx_data
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] INFO user.influx: destination: http://localhost:8086
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] INFO user.influx: line_format: single-line
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] INFO user.influx: measurement: record
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] INFO user.influx: tags: None
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] DEBUG weewx.manager: Daily summary version is 4.0
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] INFO user.influx: binding: archive
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] DEBUG weewx.manager: Daily summary version is 4.0
Oct 28 17:02:41 jm-Virtual-Machine influxd[79116]: ts=2023-10-28T21:02:41.658321Z lvl=info msg="Executing query" log_id=0l9swtRl000 service=query query="CREATE DATABASE weewx_data"
Oct 28 17:02:41 jm-Virtual-Machine influxd[79116]: [httpd] 127.0.0.1 - - [28/Oct/2023:17:02:41 -0400] "POST /query?q=CREATE+DATABASE+weewx_data HTTP/1.1" 200 33 "-" "weewx/4.10.2" 556a5d57-75d5-11ee-854a-000000000000 215
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] INFO user.influx: Data will be uploaded to http://localhost:8086
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] DEBUG weewx.engine: Finished loading service user.influx.Influx
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] DEBUG weewx.engine: Loading service weewx.engine.StdPrint
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] DEBUG weewx.engine: Finished loading service weewx.engine.StdPrint
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] DEBUG weewx.engine: Loading service weewx.engine.StdReport
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] INFO weewx.engine: 'pyephem' detected, extended almanac data is available
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] DEBUG weewx.engine: Finished loading service weewx.engine.StdReport
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] INFO __main__: Starting up weewx version 4.10.2
Oct 28 17:02:41 jm-Virtual-Machine weewx[86408] DEBUG weewx.manager: Daily summary version is 4.0
Oct 28 17:02:43 jm-Virtual-Machine weewx[86408] DEBUG weewx.drivers.vantage: Successfully woke up Vantage console
Oct 28 17:02:43 jm-Virtual-Machine weewx[86408] ERROR weewx.drivers.vantage: send_data: no <ACK> received from Vantage console
Oct 28 17:02:45 jm-Virtual-Machine weewx[86408] DEBUG weewx.drivers.vantage: Successfully woke up Vantage console
Oct 28 17:02:45 jm-Virtual-Machine weewx[86408] INFO weewx.engine: Clock error is -1.67 seconds (positive is fast)
Oct 28 17:02:45 jm-Virtual-Machine weewx[86408] INFO weewx.engine: Using binding 'wx_binding' to database 'weewx.sdb'
Oct 28 17:02:45 jm-Virtual-Machine weewx[86408] INFO weewx.manager: Starting backfill of daily summaries
Oct 28 17:02:45 jm-Virtual-Machine weewx[86408] INFO weewx.manager: Daily summaries up to date
Oct 28 17:02:45 jm-Virtual-Machine weewx[86408] DEBUG weewx.drivers.vantage: Getting archive packets since 2023-10-28 17:00:00 EDT (1698526800)
Oct 28 17:02:47 jm-Virtual-Machine weewx[86408] DEBUG weewx.drivers.vantage: Successfully woke up Vantage console
Oct 28 17:02:48 jm-Virtual-Machine weewx[86408] DEBUG weewx.drivers.vantage: Retrieving 0 page(s); starting index= 0
Oct 28 17:02:48 jm-Virtual-Machine weewx[86408] INFO weewx.engine: Starting main packet loop.
Oct 28 17:02:50 jm-Virtual-Machine weewx[86408] DEBUG weewx.drivers.vantage: Successfully woke up Vantage console
Oct 28 17:02:50 jm-Virtual-Machine weewx[86408] DEBUG weewx.drivers.vantage: Requesting 200 LOOP packets.
Oct 28 17:02:52 jm-Virtual-Machine weewx[86408] DEBUG weewx.drivers.vantage: Successfully woke up Vantage console
Oct 28 17:02:52 jm-Virtual-Machine weewx[86408] ERROR weewx.drivers.vantage: send_data: no <ACK> received from Vantage console
Oct 28 17:02:52 jm-Virtual-Machine weewx[86408] ERROR weewx.drivers.vantage: LOOP batch try #1; error: No <ACK> received from Vantage console
Oct 28 17:02:54 jm-Virtual-Machine weewx[86408] DEBUG weewx.drivers.vantage: Successfully woke up Vantage console

The Reckoning

unread,
Oct 28, 2023, 5:13:53 PM10/28/23
to weewx-user
Sorry, the command to get the influx logs (and weewx logs) is: tail -f /var/log/syslog | grep -i influx

The Reckoning

unread,
Oct 28, 2023, 5:46:27 PM10/28/23
to weewx-user
I turned on debug logging for influx and got nothing more than ive already posted. 

The Reckoning

unread,
Oct 28, 2023, 8:06:57 PM10/28/23
to weewx-user
Okay everyone, so I looked into it a bit more and it actually has been working! I am relatively new to Grafana and Weewx is organizing the data in a way that I didn't expect. We can close this thread now. I appreciate your help. 

In case someone is reading this and also using Grafana, click FROM = record and SELECT = "your measurement here". 

Reply all
Reply to author
Forward
0 new messages