Mostly working, reconnects after every detected change
This commit is contained in:
parent
236faaefbe
commit
6276a51f05
@ -96,7 +96,10 @@ module.exports = {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
client.on('disconnect', () => {
|
||||||
|
console.log('Disconnected from MQTT broker');
|
||||||
});
|
});
|
||||||
|
|
||||||
// Handle when the Broker sends us a message
|
// Handle when the Broker sends us a message
|
||||||
|
@ -61,5 +61,5 @@
|
|||||||
"exhaustDelay": 600000
|
"exhaustDelay": 600000
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"gpioScript": "src/python/gpio_interface.py"
|
"gpioScript": "src/python/fake_gpio_interface.py"
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user