bellrichm / WeeWX-MQTTSubscribe

A WeeWX service and driver that receives data from MQTT.
GNU General Public License v3.0
52 stars 13 forks source link

Possible problem with rain and contains_total #168

Open tomdotorg opened 1 year ago

tomdotorg commented 1 year ago

Using 2.2.2 on weewx 4.9.1 with a WifiLogger2.

Not sure what is happening. Season skin shows .17 in of rain for today. There has been none since midnight. However, the storm total (from yesterday) emitted by the wifi logger is also .17 in.

The database contains records where the rain field contains the yearly rain amount, even though the config is this:

    [[[[rainyear]]]]
        ignore = false # opt back in for this field
        contains_total = true
        name = rain
image

I can see that this extension never references storm directly, so I can only assume it is being calculated and that somehow we regressed on the handling of contains_total fields?

bellrichm commented 1 year ago

This is going to be tough to figure out what is happening. I’ll revisit the code and create some test data, but at the moment i am stumped.

tomdotorg commented 1 year ago

I hear you. I searched this repo for the word 'storm' and came up blank.