OK, I have the syntax now for what's in sdr.py and mapping sensors to a particular model and have managed to get all the available sensors reporting to the database and html reports, happy days!
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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/c0cc2fdc-e061-404a-b8da-d75606e41f86%40googlegroups.com.