This commit is contained in:
Henrik Ekblad
2016-07-31 15:25:55 +02:00
parent 2546bc9cd1
commit ba6fae7596
+2
View File
@@ -146,6 +146,8 @@ bool reconnectMQTT() {
#endif
)) {
debug(PSTR("MQTT connected\n"));
if (presentation)
presentation();
// Once connected, publish an announcement...
//_MQTT_client.publish("outTopic","hello world");
// ... and resubscribe