db Not recording rain totals

86 views
Skip to first unread message

Jonathan Emmert

unread,
Mar 25, 2025, 1:06:32 PM3/25/25
to weewx-user
I've had my station setup for the last 4 months, and it has never recorded rain amounts. I've confirmed that the station is broadcasting, so I'm assuming there is a configuration or unit conversion issue somewhere, but I'm not sure where to start.  Any thoughts?

  • Station: Vevor7in1
  • Capturing via RTL_433
I've attached my config file for reference.
debug.txt

p q

unread,
Mar 25, 2025, 1:14:50 PM3/25/25
to weewx...@googlegroups.com
Have you checked to make sure there's nothing blocking the rain sensor bucket? Do you have access to it?

--
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+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/weewx-user/9100231e-e09c-4dd1-bde8-b7b65d6155a3n%40googlegroups.com.


--
Peter Quinn
(415)794-2264

Jonathan Emmert

unread,
Mar 25, 2025, 2:28:32 PM3/25/25
to weewx-user
Yes, I've confirmed that the sensor is unblocked, and that it is working. The Vevor base station records the amounts correctly. I have also confirmed that RTL_433 is able to see the rain totals. I just am having trouble getting it from there into the Weewx database

Jonathan Emmert

unread,
Mar 25, 2025, 2:46:54 PM3/25/25
to weewx-user

Here is the raw data being pulled in by RTL_433:

Vevor/RTL_433 Raw Data
{"time" : "2025-01-06 19:11:38", "model" : "Vevor-7in1", "id" : 63729, "channel" : 0, "battery_ok" : 1, "temperature_C" : -3.900, "humidity" : 91, "wind_avg_km_h" : 5.500, "wind_max_km_h" : 6.667, "wind_dir_deg" : 354, "rain_mm" : 65.007, "uv" : 1, "light_lux" : 12598, "mic" : "CHECKSUM"}

WEEWX Python Script
class Vevor7in1Packet(Packet):
    # {"time" : "2024-11-13 13:27:59", "model" : "Vevor-7in1", "id" : 63729, "channel" : 0, "battery_ok" : 1, "temperature_C" : 5.400, "humidity" : 76, "wind_avg_km_h" : 0.700, "wind_max_km_h" : 2.667, "wind_dir_deg" : 87, "rain_mm" : 12.116, "uv" : 0, "light_lux" : 7213, "mic" : "CHECKSUM"}'
    IDENTIFIER = "Vevor-7in1"

    @staticmethod
    def parse_json(obj):
        pkt = dict()
        pkt['dateTime'] = Packet.parse_time(obj.get('time'))
        pkt['usUnits'] = weewx.METRICWX
        station_id = Packet.get_int(obj, 'id')
        pkt['battery'] = Packet.get_int(obj, 'battery_ok')
        pkt['temperature'] = Packet.get_float(obj, 'temperature_C')
        pkt['humidity'] = Packet.get_float(obj, 'humidity')
        pkt['wind_gust'] = kmh_to_ms(Packet.get_float(obj, 'wind_max_km_h'))
        pkt['wind_speed'] = kmh_to_ms(Packet.get_float(obj, 'wind_avg_km_h'))
        pkt['wind_dir'] = Packet.get_float(obj, 'wind_dir_deg')
        pkt['total_rain'] = Packet.get_float(obj, 'rain_mm')
        pkt['light_lux'] = Packet.get_int(obj, 'light_lux')
        pkt['uv'] = Packet.get_float(obj, 'uv')
        pkt = Packet.add_identifiers(pkt, station_id, Vevor7in1Packet.__name__)
        return pkt
       
def kmh_to_ms(v):
if v is not None:
v /= 3.6
return v


WEEWX Config Sensor Mapping
    [[sensor_map]]
        windDir = wind_dir.63729.Vevor7in1Packet
        windSpeed = wind_speed.63729.Vevor7in1Packet
        windGust = wind_gust.63729.Vevor7in1Packet
        outTemp = temperature.63729.Vevor7in1Packet
        outHumidity = humidity.63729.Vevor7in1Packet
        rain_total = total_rain.63729.Vevor7in1Packet
        UV = uv.63729.Vevor7in1Packet
        luminosity = light_lux.63729.Vevor7in1Packet

Jonathan Emmert

unread,
Mar 25, 2025, 6:08:05 PM3/25/25
to weewx-user
Alright - I may have found the issue. It looks like in the sdr.py file there were 2 Vevor class sections, and the second was overwriting the first. I've got rain coming in shortly and will see if it updates correctly.
Reply all
Reply to author
Forward
0 new messages