Change topic to something else because mosquitto seems to have a hiccup on the old topic.

This commit is contained in:
Joe Tretter
2022-07-07 17:56:10 -05:00
parent f3a4d9391e
commit 3761b09ce1

View File

@@ -49,7 +49,7 @@ void reconnect() {
// Attempt to connect // Attempt to connect
if (client.connect(clientId.c_str())) { if (client.connect(clientId.c_str())) {
Serial.println("MQTT connected"); Serial.println("MQTT connected");
client.subscribe("Address/Livorno/GaragedoorIndicator", 1); client.subscribe("Address/Livorno/GarageDoorIndicator", 1);
} else { } else {
Serial.print("MQTT failed, rc="); Serial.print("MQTT failed, rc=");
Serial.print(client.state()); Serial.print(client.state());