]> mj.ucw.cz Git - home-hw.git/commitdiff
Telegram: Updated temperature thresholds
authorMartin Mares <mj@ucw.cz>
Sat, 26 Feb 2022 23:42:37 +0000 (00:42 +0100)
committerMartin Mares <mj@ucw.cz>
Sat, 26 Feb 2022 23:42:37 +0000 (00:42 +0100)
telegram/burrow-telegram.py

index be093b9e34a719f172df0627bc4867f4a80aba5d..f763af00b803b95832dc5f3de2b0b120ed17a1ec 100755 (executable)
@@ -116,7 +116,7 @@ async def mqtt_process_msg(topic, val):
         if when < now.timestamp() - 3600:
             temp_state = 0
         else:
-            temp_state = hysteresis('catarium-temp', temp, 23.2, 23.5)
+            temp_state = hysteresis('catarium-temp', temp, 22, 23)
         if temp_state != last_temp_state:
             last_temp_state = temp_state
             if temp_state == 0: