I am glad it worked. The sdr.py driver as not reading the wind and rain 
sensor. The output from rtl_433 has changed due to a different sensor or 
rtl_433 change. You can see the changes here. 
<https://github.com/matthewwall/weewx-sdr/pull/68/commits/27a4b6d219f6087dbfd7815fe5d4529e9d0f075a>

Old vs new message, yours is on the bottom.

Old

    # {"time" : "2017-01-16 04:38:39", "model" : "HIDEKI Wind sensor", "rc" 
: 0, "channel" : 4, "battery" : "OK", "temperature_C" : -4.400, 
"windstrength" : 2.897, "winddirection" : 292.500}

New

    # {"time" : "2019-11-24 19:13:41", "model" : "HIDEKI Wind sensor", "rc" 
: 3, "channel" : 4, "battery" : "OK", "temperature_C" : 11.000, 
"wind_speed_mph" : 1.300, "gust_speed_mph" : 0.100, "wind_approach" : 1, 
"wind_direction" : 270.000, "mic" : "CRC"}


Just added some if/else statements to parse the old and new versions:

        if 'windstrength' in obj:             
            pkt['wind_speed'] = Packet.get_float(obj, 'windstrength')
        else:
            pkt['wind_speed'] = Packet.get_float(obj, 'wind_speed_mph')
        if 'winddirection' in obj:
            pkt['wind_dir'] = Packet.get_float(obj, 'winddirection')
        else:
            pkt['wind_dir'] = Packet.get_float(obj, 'wind_direction')
        if 'gust_speed_mph' in obj:
            pkt['wind_gust'] = Packet.get_float(obj, 'gust_speed_mph')   

Did the same for the rain.


-- 
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/6b77b7de-8d5e-4573-bd42-1e126e7eb336%40googlegroups.com.

Reply via email to