matthewwall / weewx-sdr

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

Update sdr.py to fix issue 114 #115

Closed pii100 closed 2 years ago

pii100 commented 3 years ago

Added new class Acurite606TXPacketV2 , changed identifier to match new format, changed battery parsing

pii100 commented 3 years ago

{"time" : "2021-02-23 17:29:45", "model" : "Acurite-606TX", "id" : 153, "battery_ok" : 1, "temperature_C" : 25.200, "mic" : "CHECKSUM"} parsed: {'battery.153.Acurite606TXPacket': 1, 'temperature.153.Acurite606TXPacket': 25.2, 'usUnits': 16, 'dateTime': 1614101385}

mrneutron42 commented 3 years ago

I copied this code into my sdr.py and it correctly reads/parses the neighbor's Acurite-606TX. Tested, works.