From a9858d468028e8563b9dfcd1e809363d4feda2d3 Mon Sep 17 00:00:00 2001 From: Thomas Klaehn Date: Thu, 30 Mar 2017 10:25:58 +0200 Subject: [PATCH] gate_state: change power sensor limit Signed-off-by: Thomas Klaehn --- src/gate/gate_state.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gate/gate_state.py b/src/gate/gate_state.py index 3b5081c..e85544b 100644 --- a/src/gate/gate_state.py +++ b/src/gate/gate_state.py @@ -19,7 +19,7 @@ STATE_ERROR = "error" LIGHT_READ_DELAY_S = 30 LIGHT_CONSECUTIVE_READS = 10 -LIGHT_LX_THRESHOLD = {"open":5, "close":0} +LIGHT_LX_THRESHOLD = {"open":10, "close":5} MQTT_HOST = "gitlab" MQTT_TOPIC = "outdoor/chickenhouse/gate"