Well, the output of sdr.py using the string in the readme (sudo
PYTHONPATH=/usr/share/weewx python /usr/share/weewx/user/sdr.py
--cmd="rtl_433 -M utc -F json") gives this
out:[u'{"time" : "2020-03-02 01:43:49", "model" : "Fineoffset-WHx080",
"subtype" : 0, "id" : 104, "battery_ok" : 1, "temperature_C" : 28.500,
"humidity" : 50, "wind_dir_deg" : 45, "wind_avg_km_h" : 8.568,
"wind_max_km_h" : 12.240, "rain_mm" : 924.300, "mic" : "CRC"}\n', u'{"time"
: "2020-03-02 01:43:49", "model" : "Fineoffset-WHx080", "subtype" : 0, "id"
: 104, "battery_ok" : 1, "temperature_C" : 28.500, "humidity" : 50,
"wind_dir_deg" : 45, "wind_avg_km_h" : 8.568, "wind_max_km_h" : 12.240,
"rain_mm" : 924.300, "mic" : "CRC"}\n']
parsed: {'wind_dir.104.FOWHx080Packet': None,
'wind_gust.104.FOWHx080Packet': None, 'hours.104.FOWHx080Packet': None,
'temperature.104.FOWHx080Packet': 28.5, 'battery.104.FOWHx080Packet': 1,
'msg_type.104.FOWHx080Packet': None, 'dateTime': 1583113429,
'minutes.104.FOWHx080Packet': None, 'month.104.FOWHx080Packet': None,
'day.104.FOWHx080Packet': None, 'wind_speed.104.FOWHx080Packet': None,
'humidity.104.FOWHx080Packet': 50.0, 'seconds.104.FOWHx080Packet': None,
'signal_type.104.FOWHx080Packet': 0, 'usUnits': 16,
'year.104.FOWHx080Packet': None}
Thanks again for any insights.
On Saturday, February 29, 2020 at 7:56:44 PM UTC+13, Michael Jackson wrote:
>
> I'm having some trouble mapping the sensors from my FineOffset WH1081PC
> via rtl_433 and weewx. I can get the humidity and temperature but can't
> seem to map wind, wind direction and rain.
>
> This is the return from xxxxx:
>
> [u'{"time" : "2020-02-29 06:46:12", "model" : "Fineoffset-WHx080",
> "subtype" : 0, "id" : 104, "battery_ok" : 1, "temperature_C" : 18.200,
> "humidity" : 63, "wind_dir_deg" : 203, "wind_avg_km_h" : 4.896,
> "wind_max_km_h" : 7.344, "rain_mm" : 924.300, "mic" : "CRC"}\n', u'{"time"
> : "2020-02-29 06:46:13", "model" : "Fineoffset-WHx080", "subtype" : 0, "id"
> : 104, "battery_ok" : 1, "temperature_C" : 18.200, "humidity" : 63,
> "wind_dir_deg" : 203, "wind_avg_km_h" : 4.896, "wind_max_km_h" : 7.344,
> "rain_mm" : 924.300, "mic" : "CRC"}\n']
>
> and this is what I have mapped so far:
>
> outTemp = temperature.*.FOWHx080Packet
> windSpeed = wind_avg_km_h.*.FOWHx080Packet
> windDir = wind_dir_deg.*.FOWHx080Packet
> outHumidity = humidity.*.FOWHx080Packet
> rain = rain_mm.*.FOWHx080Packet
>
> Should I be editing sdr.py with the results from rtl_433 for the
> FOWHx080Packet?
>
--
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/fcf5429d-9c64-4c27-891d-8c89a4aaa1fa%40googlegroups.com.