Output from rtl_433 -V:
rtl_433 version 20.02-4-g6b5d52b branch master at 202002270803 inputs file
rtl_tcp RTL-SDR SoapySDR
Use -h for usage help and see https://triq.org/ for documentation.
Trying conf file at "rtl_433.conf"...
Trying conf file at "/home/pi/.config/rtl_433/rtl_433.conf"...
Trying conf file at "/usr/local/etc/rtl_433/rtl_433.conf"...
Trying conf file at "/etc/rtl_433/rtl_433.conf"...
rtl_433 command:
sudo rtl_433 -M utc -F json
SDR section from weewx:
[SDR]
# This section is for the software-defined radio driver.
# The driver to use
driver = user.sdr
log_unknown_sensors = True
log_unmapped_sensors = True
cmd = sudo rtl_433 -M utc -F json
[[sensor_map]]
outTemp = temperature.*.FOWHx080Packet
windSpeed = wind_speed.*.FOWHx080Packet
windDir = wind_dir_deg.*.FOWHx080Packet
outHumidity = humidity.*.FOWHx080Packet
rain = rain.*.FOWHx080Packet
Thanks for looking into this Max.
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/d8939bb6-d8c0-4284-9791-fa322ba70642%40googlegroups.com.