diff --git a/src/controller.py b/src/controller.py index f1309f3..52bb505 100644 --- a/src/controller.py +++ b/src/controller.py @@ -39,6 +39,8 @@ class Controller: mqtthost = None mqttport = None + last_reconnectTry=0 + def __init__(self, base_topic, mqtt_host, mqtt_port = 1883):