If you take all 3 payloads of rain and add them up its 22.796mm converted its .8974 inches and thats how much rain weewx should have reported, dont know why it kicked the last 7.253mm out and didnt add it in. Is there a way to fix this ?
On Friday, September 8, 2023 at 10:03:45 AM UTC-4 kufuu wrote: Rain is in mm, Weather Station is Pi Pico Enviro Weather, It send out the data every 10 minutes, and I dont have a clue about this. On Thursday, September 7, 2023 at 9:53:33 PM UTC-4 [email protected] wrote: Based on the information provided here are my assumptions and guesses on what might being happening. At Sep 7 14:40:10 MQTTSubscribe received a json formatted MQTT message with a rain value of 1.5543 and reported rain of 1.5543. Inches, mm, cm? Unsure, but at this point probably not important. At Sep 7 14:50:11 MQTTSubscribe received a json formatted MQTT message with a rain value of 13.9887 and reported rain of 12.4344 (13.9887 - 1.5543). So, MQTTSubscribe is probably configured to deal with rain as a cumulative observation. At Sep 7 15:00:10 MQTTSubscribe received a json formatted MQTT message with a rain value of 7.253399. Going on the assumption that rain has been configured as a cumulative value, the delta amount of rain received is 7.253399 - 13.9887, or -6.735301. Being a negative rainfall, MQTTSubscribe reports a value of ‘None’. So if my guesses that your sensor is reporting cumulative rain and MQTTSubscribe is configured to calculate the delta, the first question to answer is; why is the cumulative rain 13.9887 at Sep 7 14:50:11 and 7.253399 at Sep 7 15:00:10? rich On Thursday, 7 September 2023 at 19:09:26 UTC-4 kufuu wrote: We got over .800" of rain and looks like Weewx mqtt skipped some of the count for some reason, here is the script Sep 7 14:40:10 zero-wx weewx[15766] DEBUG user.MQTTSubscribe: (Driver) MessageCallbackProvider data-> incoming topic: enviro/river-wx, QOS: 0, retain: 0, payload: b'{"readings": {"rain_per_second": 0.0025905, "pressure": 948.04, "temperature": 24.65, "humidity": 73.33, "wind_direction": 90, "luminance": 16.12, "rain": 1.5543, "voltage": 0.0, "wind_speed": 0}, "nickname": "river-wx", "model": "weather", "uid": "e6614c311b62b034", "timestamp": "2023-09-07T18:40:05Z"}' Sep 7 14:40:10 zero-wx weewx[15766] DEBUG user.MQTTSubscribe: (Driver) TopicManager data-> incoming enviro/river-wx: 'luminance': '16.12', 'outHumidity': '73.33', 'outTemp': '24.65', 'pressure': '948.04', 'rain': '1.5543', 'windDir': '90.0', 'windSpeed': '0.0' Sep 7 14:40:12 zero-wx weewx[15766] DEBUG user.MQTTSubscribe: (Driver) TopicManager data-> outgoing enviro/river-wx: 'dateTime': '1694112010.9298928', 'luminance': '16.12', 'outHumidity': '73.33', 'outTemp': '24.65', 'pressure': '948.04', 'rain': '1.5543', 'usUnits': '17', 'windDir': '90.0', 'windSpeed': '0.0' Sep 7 14:40:12 zero-wx weewx[15766] DEBUG user.MQTTSubscribe: (Driver) data-> final loop packet is enviro/river-wx 2023-09-07 14:40:10 EDT (1694112010): 'dateTime': '1694112010.9298928', 'luminance': '16.12', 'outHumidity': '73.33', 'outTemp': '24.65', 'pressure': '948.04', 'rain': '1.5543', 'usUnits': '17', 'windDir': '90.0', 'windSpeed': '0.0' Sep 7 14:50:11 zero-wx weewx[15766] DEBUG user.MQTTSubscribe: (Driver) MessageCallbackProvider data-> incoming topic: enviro/river-wx, QOS: 0, retain: 0, payload: b'{"readings": {"rain_per_second": 0.02331449, "pressure": 949.13, "temperature": 19.46, "humidity": 78.25, "wind_direction": 90, "luminance": 11.5, "rain": 13.9887, "voltage": 0.0, "wind_speed": 0}, "nickname": "river-wx", "model": "weather", "uid": "e6614c311b62b034", "timestamp": "2023-09-07T18:50:05Z"}' Sep 7 14:50:11 zero-wx weewx[15766] DEBUG user.MQTTSubscribe: (Driver) TopicManager data-> incoming enviro/river-wx: 'luminance': '11.5', 'outHumidity': '78.25', 'outTemp': '19.46', 'pressure': '949.13', 'rain': '12.4344', 'windDir': '90.0', 'windSpeed': '0.0' Sep 7 14:50:13 zero-wx weewx[15766] DEBUG user.MQTTSubscribe: (Driver) TopicManager data-> outgoing enviro/river-wx: 'dateTime': '1694112611.381946', 'luminance': '11.5', 'outHumidity': '78.25', 'outTemp': '19.46', 'pressure': '949.13', 'rain': '12.4344', 'usUnits': '17', 'windDir': '90.0', 'windSpeed': '0.0' Sep 7 14:50:13 zero-wx weewx[15766] DEBUG user.MQTTSubscribe: (Driver) data-> final loop packet is enviro/river-wx 2023-09-07 14:50:11 EDT (1694112611): 'dateTime': '1694112611.381946', 'luminance': '11.5', 'outHumidity': '78.25', 'outTemp': '19.46', 'pressure': '949.13', 'rain': '12.4344', 'usUnits': '17', 'windDir': '90.0', 'windSpeed': '0.0' Sep 7 15:00:10 zero-wx weewx[15766] DEBUG user.MQTTSubscribe: (Driver) MessageCallbackProvider data-> incoming topic: enviro/river-wx, QOS: 0, retain: 0, payload: b'{"readings": {"rain_per_second": 0.01206888, "pressure": 947.8, "temperature": 17.78, "humidity": 92.74, "wind_direction": 90, "luminance": 55.23, "rain": 7.253399, "voltage": 0.0, "wind_speed": 0}, "nickname": "river-wx", "model": "weather", "uid": "e6614c311b62b034", "timestamp": "2023-09-07T19:00:06Z"}' Sep 7 15:00:10 zero-wx weewx[15766] DEBUG user.MQTTSubscribe: (Driver) TopicManager data-> incoming enviro/river-wx: 'luminance': '55.23', 'outHumidity': '92.74', 'outTemp': '17.78', 'pressure': '947.8', 'rain': 'None', 'windDir': '90.0', 'windSpeed': '0.0' Sep 7 15:00:11 zero-wx weewx[15766] DEBUG user.MQTTSubscribe: (Driver) TopicManager data-> outgoing enviro/river-wx: 'dateTime': '1694113210.8160872', 'luminance': '55.23', 'outHumidity': '92.74', 'outTemp': '17.78', 'pressure': '947.8', 'rain': 'None', 'usUnits': '17', 'windDir': '90.0', 'windSpeed': '0.0' Sep 7 15:00:11 zero-wx weewx[15766] DEBUG user.MQTTSubscribe: (Driver) data-> final loop packet is enviro/river-wx 2023-09-07 15:00:10 EDT (1694113210): 'dateTime': '1694113210.8160872', 'luminance': '55.23', 'outHumidity': '92.74', 'outTemp': '17.78', 'pressure': '947.8', 'rain': 'None', 'usUnits': '17', 'windDir': '90.0', 'windSpeed': '0.0' Current Conditions ♦ Outside Temperature 73.3°F Heat Index 74.8°F Wind Chill 73.3°F Dew Point 71.7°F Outside Humidity 95% Barometer 29.850 inHg (-0.049) Wind 0 mph N/A ( N/A) Rain Today 0.55 in Rain Rate 0.00 in/h -- 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/cf119f38-5d02-4542-8135-1293e07b0af1n%40googlegroups.com.
