diff --git a/readHomematicIP.py b/readHomematicIP.py index e094327..7e01bb1 100755 --- a/readHomematicIP.py +++ b/readHomematicIP.py @@ -20,6 +20,7 @@ client = paho.Client(protocol=paho.MQTTv31) # * set a random string (max 23 cha client.connect(mqtt_broker, 1883, 60) # MQTT server address # Homematic IP +global config config = homematicip.find_and_load_config_file() home = Home()