diff --git a/src/custom_modules/HestiaClasses.js b/src/custom_modules/HestiaClasses.js index 7db0d3a..3d35994 100644 --- a/src/custom_modules/HestiaClasses.js +++ b/src/custom_modules/HestiaClasses.js @@ -96,7 +96,10 @@ module.exports = { } }); }); - + }); + + client.on('disconnect', () => { + console.log('Disconnected from MQTT broker'); }); // Handle when the Broker sends us a message diff --git a/src/custom_modules/config.json b/src/custom_modules/config.json index cc6aa1b..8868f05 100644 --- a/src/custom_modules/config.json +++ b/src/custom_modules/config.json @@ -61,5 +61,5 @@ "exhaustDelay": 600000 } }, - "gpioScript": "src/python/gpio_interface.py" + "gpioScript": "src/python/fake_gpio_interface.py" } \ No newline at end of file diff --git a/src/python/fake_gpio.py b/src/python/fake_gpio_interface.py similarity index 100% rename from src/python/fake_gpio.py rename to src/python/fake_gpio_interface.py