From 3761b09ce1c06f8f6344810b07eba80786d926bd Mon Sep 17 00:00:00 2001 From: Joe Tretter Date: Thu, 7 Jul 2022 17:56:10 -0500 Subject: [PATCH] Change topic to something else because mosquitto seems to have a hiccup on the old topic. --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index e92d83b..6297384 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -49,7 +49,7 @@ void reconnect() { // Attempt to connect if (client.connect(clientId.c_str())) { Serial.println("MQTT connected"); - client.subscribe("Address/Livorno/GaragedoorIndicator", 1); + client.subscribe("Address/Livorno/GarageDoorIndicator", 1); } else { Serial.print("MQTT failed, rc="); Serial.print(client.state());