fix some smaller consistency issues.

This commit is contained in:
Joe Tretter
2022-06-20 10:54:16 -05:00
parent e8ec1ac950
commit a4ba1257da

View File

@@ -162,7 +162,7 @@ void setup(void) {
Serial.println(WiFi.localIP()); Serial.println(WiFi.localIP());
/*use mdns for host name resolution*/ /*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!"); Serial.println("Error setting up MDNS responder!");
while (1) { while (1) {
delay(1000); delay(1000);
@@ -221,7 +221,7 @@ void loop(void) {
if (buttonState == HIGH) { if (buttonState == HIGH) {
digitalWrite(ledPin, HIGH); digitalWrite(ledPin, HIGH);
Serial.println("Garage Opened"); Serial.println("Garage Opened");
send_notification("garagedoor.open.livorno.address"); send_notification("garagedoor.opened.livorno.address");
} else { } else {
digitalWrite(ledPin, LOW); digitalWrite(ledPin, LOW);
Serial.println("Garage Closed"); Serial.println("Garage Closed");