Skip to content

Commit

Permalink
Re-Calculate the Relative Humidity
Browse files Browse the repository at this point in the history
  • Loading branch information
kbeaugrand committed Sep 24, 2021
1 parent 7e54925 commit 755af36
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/modules/WattecoDecoderModule/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ def parseFor(tagz: int, commands, payload: str):
if (label == "Temperature"):
value = value / 100

if (label == "RelativeHumidity"):
value = value / 100

result[label] = value

return result
Expand Down

0 comments on commit 755af36

Please sign in to comment.