Mostly working, reconnects after every detected change

This commit is contained in:
Skylar Grant 2024-08-22 20:15:14 -04:00
parent 236faaefbe
commit 6276a51f05
3 changed files with 5 additions and 2 deletions

View File

@ -96,7 +96,10 @@ module.exports = {
}
});
});
});
client.on('disconnect', () => {
console.log('Disconnected from MQTT broker');
});
// Handle when the Broker sends us a message

View File

@ -61,5 +61,5 @@
"exhaustDelay": 600000
}
},
"gpioScript": "src/python/gpio_interface.py"
"gpioScript": "src/python/fake_gpio_interface.py"
}