Merge pull request #531 from henrikekblad/FixMQTTPresentation

Fix #449, Fix #507
This commit is contained in:
Patrick Fallberg
2016-07-31 15:46:30 +02:00
committed by GitHub
+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