fix some smaller consistency issues.
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user