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");