From a4ba1257da6ba928486e71571c018d0bbee47d39 Mon Sep 17 00:00:00 2001 From: Joe Tretter Date: Mon, 20 Jun 2022 10:54:16 -0500 Subject: [PATCH] fix some smaller consistency issues. --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 259d791..1fcaf29 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -162,7 +162,7 @@ void setup(void) { Serial.println(WiFi.localIP()); /*use mdns for host name resolution*/ - if (!MDNS.begin(host)) { //http://esp32ota.local + if (!MDNS.begin(host)) { //http://esp32garagedoor.local Serial.println("Error setting up MDNS responder!"); while (1) { delay(1000); @@ -221,7 +221,7 @@ void loop(void) { if (buttonState == HIGH) { digitalWrite(ledPin, HIGH); Serial.println("Garage Opened"); - send_notification("garagedoor.open.livorno.address"); + send_notification("garagedoor.opened.livorno.address"); } else { digitalWrite(ledPin, LOW); Serial.println("Garage Closed");