New MQTT config

This commit is contained in:
Skylar Grant 2024-11-28 17:57:46 -05:00
parent 66b9780792
commit c3a33b6dac
2 changed files with 3 additions and 4 deletions

View File

@ -88,10 +88,9 @@ module.exports = {
init(state, config) {
// Connect to the MQTT Broker
console.log(`Attempting MQTT connection to broker: ${config.mqtt.address}, with username: ${config.mqtt.username}`);
console.log(`Attempting MQTT connection to broker: ${config.mqtt.address}`);
this.client = mqtt.connect(config.mqtt.address, {
username: config.mqtt.username,
password: config.mqtt.password
port: config.mqtt.port,
});
const { client } = this;

View File

@ -69,6 +69,6 @@
"exhaustDelay": 600000
}
},
"gpioScript": "src/python/gpio_interface.py",
"gpioScript": "src/python/fake_gpio_interface.py",
"augerTotalCycleTime": 2000
}