Yep done. And the float is important. 

Thanks!

-Charlie

Sent from my iPhone8
(Please excuse any typos or brevity)
 

> On Jan 3, 2019, at 9:33 PM, Andy <[email protected]> wrote:
> 
> Acurite sends several different message types, we are interested in these two 
> type 49 and type 56:
> 
> With an older version of rtl_433
> 
> # rtl_433  -U -F json -G | grep 5n1
> 
> {"time" : "2019-01-04 02:25:11", "model" : "Acurite 5n1 sensor", "sensor_id" 
> : 2662, "channel" : "A", "sequence_num" : 2, "battery" : "OK", "message_type" 
> : 56, "wind_speed_mph" : 0.000, "temperature_F" : 43.300, "humidity" : 83}
> {"time" : "2019-01-04 02:23:41", "model" : "Acurite 5n1 sensor", "sensor_id" 
> : 2662, "channel" : "A", "sequence_num" : 0, "battery" : "LOW", 
> "message_type" : 49, "wind_speed_mph" : 0.000, "wind_dir_deg" : 180.000, 
> "wind_dir" : "S", "rainfall_accumulation_inch" : 0.000, "raincounter_raw" : 
> 2897}
> 
> From a git clone of rtl_433 a few minutes ago looks like rain counter raw 
> changed name and decimal places:
> 
> 
> # rtl_433  -U -F json -G | grep 5n1
> 
> {"time" : "2019-01-04 02:37:10", "model" : "Acurite 5n1 sensor", "sensor_id" 
> : 2662, "channel" : "A", "sequence_num" : 1, "battery" : "OK", "message_type" 
> : 56, "wind_speed_kph" : 0.000, "temperature_F" : 42.400, "humidity" : 83}
> {"time" : "2019-01-04 02:37:28", "model" : "Acurite 5n1 sensor", "sensor_id" 
> : 2662, "channel" : "A", "sequence_num" : 0, "battery" : "LOW", 
> "message_type" : 49, "wind_speed_kph" : 0.000, "wind_dir_deg" : 180.000, 
> "rain_inch" : 28.970}
> 
> 
> change line 481 in your sdr.py driver and comment out lines 487 and 488 I 
> think, not tested
> 
> 
> pkt['rain_counter'] = Packet.get_int(obj, 'raincounter_raw')
> #To
> pkt['rain_total'] = Packet.get_float(obj, 'rain_inch')
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> -- 
> 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].
> For more options, visit https://groups.google.com/d/optout.

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to