I did load DB Browser and seen that the 1697832900 packet did not record 
the rain in the db.

On Thursday, October 26, 2023 at 12:03:02 PM UTC-4 kufuu wrote:

> Thanks Rich , All the other observations are good, I don't know how to 
> look at the database, I do have sqlite installed however  I'm a newbie at 
> this.
>
> On Monday, October 23, 2023 at 9:14:26 AM UTC-4 Rich Bell wrote:
>
>> I agree it looks like WeeWX is getting the information. The line below is 
>> logged right before the loop packet is generated. This should be seen in 
>> the 1697833200 archive record. So no rain.
>> Oct 20 16:15:02 zero-wx weewx[579] DEBUG user.MQTTSubscribe: (Driver) 
>> data-> final loop packet is enviro/river-wx 2023-10-20 16:15:00 EDT 
>> (1697832900): 'dateTime': '1697832900.6921751', 'luminance': '171.37', 
>> 'outHumidity': '77.89', 'outTemp': '13.52', 'pressure': '936.97', 'rain': 
>> '0.0', 'usUnits': '17', 'windDir': '45.0', 'windSpeed': '0.0'
>>
>> The line below is logged right before the loop packet is generated. This 
>> should be seen in the next archive record. So 2.514 mm or .099 in.
>> Oct 20 16:20:00 zero-wx weewx[579] DEBUG user.MQTTSubscribe: (Driver) 
>> data-> final loop packet is enviro/river-wx 2023-10-20 16:20:00 EDT 
>> (1697833200): 'dateTime': '1697833200.808235', 'luminance': '82.25', 
>> 'outHumidity': '77.04', 'outTemp': '13.6', 'pressure': '937.04', 'rain': 
>> '2.5146', 'usUnits': '17', 'windDir': '45.0', 'windSpeed': '2.12127'
>>
>> The next thing to try is, run WeeWX from the command line. This will 
>> print the loop packets and archive records to the console.
>>
>> Out of curiosity, what are the values in the database? Do the other 
>> observations look correct?
>> rich
>>
>>
>> On Fri, Oct 20, 2023 at 5:10 PM kufuu <[email protected]> wrote:
>>
>>> Using weewx mqtt from a pi pico enviro weather, had rain off and on all 
>>> day today and this morning the reports had .110" , after another .100 later 
>>> weewx didnt write it to the reports, went out and manually added rain to 
>>> try to figure out whats wrong and still didnt write it, weewx is getting it 
>>> but dont know whats going on. Heres the script.
>>>
>>> Oct 20 16:15:00 zero-wx weewx[579] DEBUG user.MQTTSubscribe: (Driver) 
>>> MessageCallbackProvider data-> incoming topic: enviro/river-wx, QOS: 0, 
>>> retain: 0, payload: b'{"readings": {"pressure": 936.97, "rain": 0, 
>>> "wind_speed": 0, "temperature": 13.52, "humidity": 77.89, "wind_direction": 
>>> 45, "rain_per_second": 0.0, "luminance": 171.37}, "nickname": "river-wx", 
>>> "model": "weather", "uid": "e6614c311b62b034", "timestamp": 
>>> "2023-10-20T20:15:05Z"}'
>>> Oct 20 16:15:00 zero-wx weewx[579] DEBUG user.MQTTSubscribe: (Driver) 
>>> TopicManager data-> incoming enviro/river-wx: 'luminance': '171.37', 
>>> 'outHumidity': '77.89', 'outTemp': '13.52', 'pressure': '936.97', 'rain': 
>>> '0.0', 'windDir': '45.0', 'windSpeed': '0.0'
>>> Oct 20 16:15:02 zero-wx weewx[579] DEBUG user.MQTTSubscribe: (Driver) 
>>> TopicManager data-> outgoing enviro/river-wx: 'dateTime': 
>>> '1697832900.6921751', 'luminance': '171.37', 'outHumidity': '77.89', 
>>> 'outTemp': '13.52', 'pressure': '936.97', 'rain': '0.0', 'usUnits': '17', 
>>> 'windDir': '45.0', 'windSpeed': '0.0'
>>> Oct 20 16:15:02 zero-wx weewx[579] DEBUG user.MQTTSubscribe: (Driver) 
>>> data-> final loop packet is enviro/river-wx 2023-10-20 16:15:00 EDT 
>>> (1697832900): 'dateTime': '1697832900.6921751', 'luminance': '171.37', 
>>> 'outHumidity': '77.89', 'outTemp': '13.52', 'pressure': '936.97', 'rain': 
>>> '0.0', 'usUnits': '17', 'windDir': '45.0', 'windSpeed': '0.0'
>>> Oct 20 16:17:01 zero-wx CRON[1104]: (root) CMD (   cd / && run-parts 
>>> --report /etc/cron.hourly)
>>> Oct 20 16:20:00 zero-wx weewx[579] DEBUG user.MQTTSubscribe: (Driver) 
>>> MessageCallbackProvider data-> incoming topic: enviro/river-wx, QOS: 0, 
>>> retain: 0, payload: b'{"readings": {"pressure": 937.04, "rain": 2.5146, 
>>> "wind_speed": 2.12127, "temperature": 13.6, "humidity": 77.04, 
>>> "wind_direction": 45, "rain_per_second": 0.008381999, "luminance": 82.25}, 
>>> "nickname": "river-wx", "model": "weather", "uid": "e6614c311b62b034", 
>>> "timestamp": "2023-10-20T20:20:05Z"}'
>>> Oct 20 16:20:00 zero-wx weewx[579] DEBUG user.MQTTSubscribe: (Driver) 
>>> TopicManager data-> incoming enviro/river-wx: 'luminance': '82.25', 
>>> 'outHumidity': '77.04', 'outTemp': '13.6', 'pressure': '937.04', 'rain': 
>>> '2.5146', 'windDir': '45.0', 'windSpeed': '2.12127'
>>> Oct 20 16:20:00 zero-wx weewx[579] DEBUG user.MQTTSubscribe: (Driver) 
>>> TopicManager data-> outgoing enviro/river-wx: 'dateTime': 
>>> '1697833200.808235', 'luminance': '82.25', 'outHumidity': '77.04', 
>>> 'outTemp': '13.6', 'pressure': '937.04', 'rain': '2.5146', 'usUnits': '17', 
>>> 'windDir': '45.0', 'windSpeed': '2.12127'
>>> Oct 20 16:20:00 zero-wx weewx[579] DEBUG user.MQTTSubscribe: (Driver) 
>>> data-> final loop packet is enviro/river-wx 2023-10-20 16:20:00 EDT 
>>> (1697833200): 'dateTime': '1697833200.808235', 'luminance': '82.25', 
>>> 'outHumidity': '77.04', 'outTemp': '13.6', 'pressure': '937.04', 'rain': 
>>> '2.5146', 'usUnits': '17', 'windDir': '45.0', 'windSpeed': '2.12127'
>>> Oct 20 16:20:00 zero-wx weewx[579] DEBUG user.MQTTSubscribe: (Driver) No 
>>> archive topic configured.
>>> Oct 20 16:20:01 zero-wx weewx[579] INFO weewx.manager: Added record 
>>> 2023-10-20 16:20:00 EDT (1697833200) to database 'weewx.sdb'
>>> Oct 20 16:20:02 zero-wx weewx[579] INFO weewx.manager: Added record 
>>> 2023-10-20 16:20:00 EDT (1697833200) to daily summary in 'weewx.sdb'
>>> Oct 20 16:20:02 zero-wx weewx[579] DEBUG weewx.reportengine: Running 
>>> reports for latest time in the database.
>>> Oct 20 16:20:02 zero-wx weewx[579] DEBUG weewx.reportengine: Running 
>>> report 'SeasonsReport'
>>> Oct 20 16:20:03 zero-wx weewx[579] DEBUG weewx.reportengine: Found 
>>> configuration file /etc/weewx/skins/Seasons/skin.conf for report 
>>> 'SeasonsReport'
>>> Oct 20 16:20:04 zero-wx weewx[579] 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 20 16:20:04 zero-wx weewx[579] DEBUG weewx.manager: Daily summary 
>>> version is 4.0
>>> Oct 20 16:20:17 zero-wx weewx[579] INFO weewx.cheetahgenerator: 
>>> Generated 8 files for report SeasonsReport in 13.26 seconds
>>> Oct 20 16:20:17 zero-wx weewx[579] DEBUG weewx.manager: Daily summary 
>>> version is 4.0
>>> Oct 20 16:20:23 zero-wx weewx[579] INFO weewx.imagegenerator: Generated 
>>> 8 images for report SeasonsReport in 6.65 seconds
>>> Oct 20 16:20:23 zero-wx weewx[579] INFO weewx.reportengine: Copied 0 
>>> files to /var/www/html/weewx
>>> Oct 20 16:20:23 zero-wx weewx[579] DEBUG weewx.reportengine: Report 
>>> 'SmartphoneReport' not enabled. Skipping.
>>> Oct 20 16:20:23 zero-wx weewx[579] DEBUG weewx.reportengine: Report 
>>> 'MobileReport' not enabled. Skipping.
>>> Oct 20 16:20:23 zero-wx weewx[579] DEBUG weewx.reportengine: Report 
>>> 'StandardReport' not enabled. Skipping.
>>> Oct 20 16:20:23 zero-wx weewx[579] DEBUG weewx.reportengine: Report 
>>> 'FTP' not enabled. Skipping.
>>> Oct 20 16:20:23 zero-wx weewx[579] DEBUG weewx.reportengine: Report 
>>> 'RSYNC' not enabled. Skipping.
>>>
>>> -- 
>>> 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 [email protected].
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/weewx-user/f5dc5e7a-21d6-41c8-a92e-5dc199806a5cn%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/weewx-user/f5dc5e7a-21d6-41c8-a92e-5dc199806a5cn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/214a6e1e-e864-4374-9ed7-e8a5c390006bn%40googlegroups.com.

Reply via email to