New MQTT config
This commit is contained in:
parent
66b9780792
commit
c3a33b6dac
@ -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;
|
||||
|
||||
|
@ -69,6 +69,6 @@
|
||||
"exhaustDelay": 600000
|
||||
}
|
||||
},
|
||||
"gpioScript": "src/python/gpio_interface.py",
|
||||
"gpioScript": "src/python/fake_gpio_interface.py",
|
||||
"augerTotalCycleTime": 2000
|
||||
}
|
Loading…
Reference in New Issue
Block a user