Skip to content

Commit

Permalink
get units right on acurite tower packets
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewwall committed Dec 30, 2021
1 parent 508f412 commit 2a629b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/user/sdr.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ class AcuriteTowerPacketV2(Packet):
@staticmethod
def parse_json(obj):
pkt = dict()
pkt['usUnits'] = weewx.METRIC
pkt['usUnits'] = weewx.US
pkt['dateTime'] = Packet.parse_time(obj.get('time'))
pkt['protocol'] = Packet.get_int(obj, 'protocol') # 40
pkt['model'] = obj.get('model') # model = Acurite-Tower
Expand Down

0 comments on commit 2a629b3

Please sign in to comment.