I reboot the pi zero-w and seen it didnt add the files to database till it ran the second payload
Sep 13 21:10:09 zero-wx weewx[532] DEBUG user.MQTTSubscribe: (Driver) MessageCallbackProvider data-> incoming topic: enviro/river-wx, QOS: 0, retain: 0, payload: b'{"readings": {"pressure": 952.05, "rain": 0, "wind_speed": 0, "temperature": 17.41, "humidity": 90.31, "wind_direction": 90, "rain_per_second": 0.0, "luminance": 0.0}, "nickname": "river-wx", "model": "weather", "uid": "e6614c311b62b034", "timestamp": "2023-09-14T01:10:05Z"}' Sep 13 21:10:10 zero-wx weewx[532] DEBUG user.MQTTSubscribe: (Driver) TopicManager data-> incoming enviro/river-wx: 'luminance': '0.0', 'outHumidity': '90.31', 'outTemp': '17.41', 'pressure': '952.05', 'rain': '0.0', 'rainPersecond': '0.0', 'windDir': '90.0', 'windSpeed': '0.0' Sep 13 21:10:11 zero-wx weewx[532] DEBUG user.MQTTSubscribe: (Driver) TopicManager data-> outgoing enviro/river-wx: 'dateTime': '1694653810.0253491', 'luminance': '0.0', 'outHumidity': '90.31', 'outTemp': '17.41', 'pressure': '952.05', 'rain': '0.0', 'rainPersecond': '0.0', 'usUnits': '17', 'windDir': '90.0', 'windSpeed': '0.0' Sep 13 21:10:11 zero-wx weewx[532] DEBUG user.MQTTSubscribe: (Driver) data-> final loop packet is enviro/river-wx 2023-09-13 21:10:10 EDT (1694653810): 'dateTime': '1694653810.0253491', 'luminance': '0.0', 'outHumidity': '90.31', 'outTemp': '17.41', 'pressure': '952.05', 'rain': '0.0', 'rainPersecond': '0.0', 'usUnits': '17', 'windDir': '90.0', 'windSpeed': '0.0' Sep 13 21:17:01 zero-wx CRON[839]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Sep 13 21:20:10 zero-wx weewx[532] DEBUG user.MQTTSubscribe: (Driver) MessageCallbackProvider data-> incoming topic: enviro/river-wx, QOS: 0, retain: 0, payload: b'{"readings": {"pressure": 952.19, "rain": 0, "wind_speed": 0, "temperature": 17.12, "humidity": 91.01, "wind_direction": 90, "rain_per_second": 0.0, "luminance": 0.0}, "nickname": "river-wx", "model": "weather", "uid": "e6614c311b62b034", "timestamp": "2023-09-14T01:20:05Z"}' Sep 13 21:20:10 zero-wx weewx[532] DEBUG user.MQTTSubscribe: (Driver) TopicManager data-> incoming enviro/river-wx: 'luminance': '0.0', 'outHumidity': '91.01', 'outTemp': '17.12', 'pressure': '952.19', 'rain': '0.0', 'rainPersecond': '0.0', 'windDir': '90.0', 'windSpeed': '0.0' Sep 13 21:20:10 zero-wx weewx[532] DEBUG user.MQTTSubscribe: (Driver) TopicManager data-> outgoing enviro/river-wx: 'dateTime': '1694654410.1346781', 'luminance': '0.0', 'outHumidity': '91.01', 'outTemp': '17.12', 'pressure': '952.19', 'rain': '0.0', 'rainPersecond': '0.0', 'usUnits': '17', 'windDir': '90.0', 'windSpeed': '0.0' Sep 13 21:20:10 zero-wx weewx[532] DEBUG user.MQTTSubscribe: (Driver) data-> final loop packet is enviro/river-wx 2023-09-13 21:20:10 EDT (1694654410): 'dateTime': '1694654410.1346781', 'luminance': '0.0', 'outHumidity': '91.01', 'outTemp': '17.12', 'pressure': '952.19', 'rain': '0.0', 'rainPersecond': '0.0', 'usUnits': '17', 'windDir': '90.0', 'windSpeed': '0.0' Sep 13 21:20:10 zero-wx weewx[532] DEBUG user.MQTTSubscribe: (Driver) No archive topic configured. Sep 13 21:20:11 zero-wx weewx[532] INFO weewx.manager: Added record 2023-09-13 21:15:00 EDT (1694654100) to database 'weewx.sdb' Sep 13 21:20:11 zero-wx weewx[532] INFO weewx.manager: Added record 2023-09-13 21:15:00 EDT (1694654100) to daily summary in 'weewx.sdb' Sep 13 21:20:12 zero-wx weewx[532] DEBUG weewx.reportengine: Running reports for latest time in the database. Sep 13 21:20:12 zero-wx weewx[532] DEBUG weewx.reportengine: Running report 'SeasonsReport' Sep 13 21:20:13 zero-wx weewx[532] DEBUG weewx.reportengine: Found configuration file /etc/weewx/skins/Seasons/skin.conf for report 'SeasonsReport' Sep 13 21:20:15 zero-wx weewx[532] 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'] Sep 13 21:20:15 zero-wx weewx[532] DEBUG weewx.manager: Daily summary version is 4.0 Sep 13 21:20:39 zero-wx weewx[532] INFO weewx.cheetahgenerator: Generated 9 files for report SeasonsReport in 24.59 seconds Sep 13 21:20:40 zero-wx weewx[532] DEBUG weewx.manager: Daily summary version is 4.0 Sep 13 21:21:07 zero-wx weewx[532] INFO weewx.imagegenerator: Generated 31 images for report SeasonsReport in 27.13 seconds Sep 13 21:21:07 zero-wx weewx[532] INFO weewx.reportengine: Copied 5 files to /var/weewx/reports Sep 13 21:21:07 zero-wx weewx[532] DEBUG weewx.reportengine: Report 'SmartphoneReport' not enabled. Skipping. Sep 13 21:21:07 zero-wx weewx[532] DEBUG weewx.reportengine: Report 'MobileReport' not enabled. Skipping. Sep 13 21:21:07 zero-wx weewx[532] DEBUG weewx.reportengine: Report 'StandardReport' not enabled. Skipping. Sep 13 21:21:07 zero-wx weewx[532] DEBUG weewx.reportengine: Report 'FTP' not enabled. Skipping. Sep 13 21:21:07 zero-wx weewx[532] DEBUG weewx.reportengine: Report 'RSYNC' not enabled. Skipping. On Wednesday, September 13, 2023 at 8:17:22 PM UTC-4 kufuu wrote: > ok, my weather station is a pico enviro weather, I have it to send the > data every 10 mins to a pi zero-w using weewx and is up to date along with > raspberry os, here is a packet > > Sep 13 20:10:09 zero-wx weewx[9676] DEBUG user.MQTTSubscribe: (Driver) > MessageCallbackProvider data-> incoming topic: enviro/river-wx, QOS: 0, > retain: 0, payload: b'{"readings": {"pressure": 951.19, "rain": 0, > "wind_speed": 0, "temperature": 19.1, "humidity": 84.97, "wind_direction": > 90, "rain_per_second": 0.0, "luminance": 0.0}, "nickname": "river-wx", > "model": "weather", "uid": "e6614c311b62b034", "timestamp": > "2023-09-14T00:10:05Z"}' > Sep 13 20:10:09 zero-wx weewx[9676] DEBUG user.MQTTSubscribe: (Driver) > TopicManager data-> incoming enviro/river-wx: 'luminance': '0.0', > 'outHumidity': '84.97', 'outTemp': '19.1', 'pressure': '951.19', 'rain': > '0.0', 'rainPersecond': '0.0', 'windDir': '90.0', 'windSpeed': '0.0' > Sep 13 20:10:10 zero-wx weewx[9676] DEBUG user.MQTTSubscribe: (Driver) > TopicManager data-> outgoing enviro/river-wx: 'dateTime': > '1694650209.7946532', 'luminance': '0.0', 'outHumidity': '84.97', > 'outTemp': '19.1', 'pressure': '951.19', 'rain': '0.0', 'rainPersecond': > '0.0', 'usUnits': '17', 'windDir': '90.0', 'windSpeed': '0.0' > Sep 13 20:10:10 zero-wx weewx[9676] DEBUG user.MQTTSubscribe: (Driver) > data-> final loop packet is enviro/river-wx 2023-09-13 20:10:09 EDT > (1694650209): 'dateTime': '1694650209.7946532', 'luminance': '0.0', > 'outHumidity': '84.97', 'outTemp': '19.1', 'pressure': '951.19', 'rain': > '0.0', 'rainPersecond': '0.0', 'usUnits': '17', 'windDir': '90.0', > 'windSpeed': '0.0' > Sep 13 20:10:10 zero-wx weewx[9676] DEBUG user.MQTTSubscribe: (Driver) No > archive topic configured. > Sep 13 20:10:10 zero-wx weewx[9676] INFO weewx.manager: Added record > 2023-09-13 20:05:00 EDT (1694649900) to database 'weewx.sdb' > Sep 13 20:10:11 zero-wx weewx[9676] INFO weewx.manager: Added record > 2023-09-13 20:05:00 EDT (1694649900) to daily summary in 'weewx.sdb' > Sep 13 20:10:11 zero-wx weewx[9676] DEBUG weewx.reportengine: Running > reports for latest time in the database. > Sep 13 20:10:11 zero-wx weewx[9676] DEBUG weewx.reportengine: Running > report 'SeasonsReport' > Sep 13 20:10:12 zero-wx weewx[9676] DEBUG weewx.reportengine: Found > configuration file /etc/weewx/skins/Seasons/skin.conf for report > 'SeasonsReport' > Sep 13 20:10:12 zero-wx weewx[9676] 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'] > Sep 13 20:10:12 zero-wx weewx[9676] DEBUG weewx.manager: Daily summary > version is 4.0 > Sep 13 20:10:22 zero-wx weewx[9676] INFO weewx.cheetahgenerator: Generated > 8 files for report SeasonsReport in 10.49 seconds > Sep 13 20:10:23 zero-wx weewx[9676] DEBUG weewx.manager: Daily summary > version is 4.0 > Sep 13 20:10:28 zero-wx weewx[9676] INFO weewx.imagegenerator: Generated 7 > images for report SeasonsReport in 5.69 seconds > Sep 13 20:10:28 zero-wx weewx[9676] INFO weewx.reportengine: Copied 0 > files to /var/weewx/reports > Sep 13 20:10:28 zero-wx weewx[9676] DEBUG weewx.reportengine: Report > 'SmartphoneReport' not enabled. Skipping. > Sep 13 20:10:28 zero-wx weewx[9676] DEBUG weewx.reportengine: Report > 'MobileReport' not enabled. Skipping. > Sep 13 20:10:28 zero-wx weewx[9676] DEBUG weewx.reportengine: Report > 'StandardReport' not enabled. Skipping. > Sep 13 20:10:28 zero-wx weewx[9676] DEBUG weewx.reportengine: Report 'FTP' > not enabled. Skipping. > Sep 13 20:10:28 zero-wx weewx[9676] DEBUG weewx.reportengine: Report > 'RSYNC' not enabled. Skipping. > > On Wednesday, September 13, 2023 at 7:02:42 PM UTC-4 Greg Troxel wrote: > >> kufuu <toef...@gmail.com> writes: >> >> > I just found that weewx mqtt if it takes a reading at 1:00pm and >> another at >> > 1:10pm and at 1:20, it wont post the data from 1:00pm till it reads the >> > 1:20pm , its always 1 reading behind, station sends the packet every 10 >> > mins. Can that be changed ? >> >> Probably, but it might be your system. Make sure you are up to date, >> and post again with what you are really doing, and details. including a >> mosquitto_sub command and debug output. Not trying to be unkind, but if >> you can debug it you can fix it, and if not, it will likely stay broken >> until somebody who can debug does so. I haven't seen other reports, and >> this doesn't happen to me, so it is also possible there is something >> else locally wrong, in which case nobody else will debug it. >> >> In Davis, there is the idea that archive records are generated at 15s >> past the time, to deal with station clock skew. You need to be clear on >> that happening vs just mqtt. >> > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/873eb7da-1121-4524-9b90-19aa6c95d4acn%40googlegroups.com.