matthewwall / weewx-sdr

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

Update Fineoffset-WH65B mappings with newest RTL_433 #92

Closed vittorio88 closed 2 years ago

vittorio88 commented 4 years ago

This RTL_433 is present on Ubuntu focal by default, and these changes seem to be persistent going forward.

lvittori54 commented 4 years ago

I've found this information after I edited my sdr.py file. I made mostly the same changes except for the battery. To get weewx to indicate battery OK on the html output I used a different parsing method:

pkt['battery'] = 0 if obj.get('battery') == 'OK' else 1

    pkt['battery'] = 0 if Packet.get_int(obj, 'battery_ok') == 1 else 0
matthewwall commented 2 years ago

changes incorporated into pending release 26oct2021 in the FOWH65BAltPacket