matthewwall / weewx-sdr

weewx driver for software-defined radio
GNU General Public License v3.0
114 stars 74 forks source link

Support for alternative WH65B identified as Fineoffset-WH65B #84

Closed jdormansteele closed 2 years ago

jdormansteele commented 4 years ago

This patch creates a new parser class FOWH65BAltPacket. The version of the WH65B sensor array this supports appears to run firmware differing from the previously documented WH65B. The model ID string is new. Several sensor names have changed. I have mapped all of the objects contained in raw rtl_433 output, though the purpose of one (uv) is unclear to me, and another (light_lux) does not produce an archive object.

Additionally, here is my mapping from the [SDR] section of weewx.conf:

cmd = rtl_433 -M utc -F json -R 78 -f 914980000 -s 250000 [[sensor_map]] outTemp = temperature.16.FOWH65BAltPacket outHumidity = humidity.16.FOWH65BAltPacket windDir = wind_dir.16.FOWH65BAltPacket windSpeed = wind_speed.16.FOWH65BAltPacket windGust = wind_gust.16.FOWH65BAltPacket rain_total = rain_total.16.FOWH65BAltPacket UV = uv_index.16.FOWH65BAltPacket

uv = uv.16.FOWH65BAltPacket # Not displaying in web page

    # light = light.16.FOWH65BAltPacket # Not displaying in web page
    outTempBatteryStatus = battery.16.FOWH65BAltPacket
[[deltas]]
    rain = rain_total
vittorio88 commented 4 years ago

Hey @jdormansteele , I ran into the same issue. Thanks to @mitchins, in https://github.com/matthewwall/weewx-sdr/pull/88, I saw that it was due to a change in the underlying library rtl_433. Rather than adding a new section, I changed the interface to match the new one here https://github.com/matthewwall/weewx-sdr/pull/92. I think it is safe to assume we won't need the old section anymore for people who download the latest version of rtl_433.

matthewwall commented 2 years ago

changes add in pending release 26oct2021