From 755af361831b72555f0876801da10c3103ad387d Mon Sep 17 00:00:00 2001 From: "Beaugrand, Kevin" Date: Fri, 24 Sep 2021 21:26:59 +0200 Subject: [PATCH] Re-Calculate the Relative Humidity --- src/modules/WattecoDecoderModule/main.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/modules/WattecoDecoderModule/main.py b/src/modules/WattecoDecoderModule/main.py index 706d584..4c77fc4 100644 --- a/src/modules/WattecoDecoderModule/main.py +++ b/src/modules/WattecoDecoderModule/main.py @@ -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