Skip to content

Commit

Permalink
Fix weather4 protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
rrooggiieerr committed Jun 27, 2024
1 parent 883e953 commit 7493aad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rfcontrol/protocols/weather4.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def decode(pulses):

decoded = {
"id": int(binary[:8], 2),
"unit": int(binary[10:12], 2),
"unit": int(binary[36:40], 2),
"temperature": temperature,
"humidity": humidity,
"lowBattery": lowBattery,
Expand Down

0 comments on commit 7493aad

Please sign in to comment.