Open fankyy opened 1 year ago
Have a look at the fork here https://github.com/jpochmara/weewx-sdr which has added support for the WS90.
Oh I was late to the game, didn't know about that fork and that it was already added - works perfect!
Does anyone know what's the easiest way to add the snr/rssi/noise to sensor map and if it can be linked to pre-existing labels?
The WS90 protocol was recently added in rtl_433:
https://github.com/merbanan/rtl_433/pull/2448
Please add to the weewx-sdr driver :)
output: _rtl433 -f 868.3M -M time:utc -s 300k -R 244
output with level: _rtl433 -f 868.3M -M time:utc -M protocol -M level -s 300k -R 244
json output: _rtl433 -f 868.3M -M time:utc -s 300k -F json -R 244
{"time" : "2023-05-18 22:55:06", "model" : "Fineoffset-WS90", "id" : 10047, "battery_ok" : 1.000, "battery_mV" : 3280, "temperature_C" : 9.700, "humidity" : 85, "wind_dir_deg" : 86, "wind_avg_m_s" : 0.900, "wind_max_m_s" : 1.400, "uvi" : 0.000, "light_lux" : 0.000, "flags" : 137, "rain_mm" : 874.700, "supercap_V" : 5.000, "data" : "fe47222b3277b0ff7ff8000077", "mic" : "CRC"} {"time" : "2023-05-18 22:55:15", "model" : "Fineoffset-WS90", "id" : 10047, "battery_ok" : 1.000, "battery_mV" : 3280, "temperature_C" : 9.700, "humidity" : 86, "wind_dir_deg" : 87, "wind_avg_m_s" : 1.000, "wind_max_m_s" : 1.200, "uvi" : 0.000, "light_lux" : 0.000, "flags" : 137, "rain_mm" : 874.700, "supercap_V" : 5.000, "data" : "fe47222b3277b0ff8ff7000077", "mic" : "CRC"}
json output with level: _rtl433 -f 868.3M -M time:utc -M protocol -M level -s 300k -F json -R244
{"time" : "2023-05-18 22:46:30", "protocol" : 244, "model" : "Fineoffset-WS90", "id" : 10047, "battery_ok" : 1.000, "battery_mV" : 3280, "temperature_C" : 10.100, "humidity" : 83, "wind_dir_deg" : 130, "wind_avg_m_s" : 2.000, "wind_max_m_s" : 2.000, "uvi" : 0.000, "light_lux" : 0.000, "flags" : 137, "rain_mm" : 874.700, "supercap_V" : 5.000, "data" : "fe47222b3277b0ff8ff7000077", "mic" : "CRC", "mod" : "FSK", "freq1" : 868.305, "freq2" : 868.385, "rssi" : -0.120, "snr" : 22.247, "noise" : -22.367}
Thanks a lot! fankyy