diff --git a/src/main.cpp b/src/main.cpp index 700d7c3..ec5dc9f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -9,6 +9,7 @@ extern "C" { #include "user_interface.h" } // OTA & WEB +#include #include "httpserver.h" #include "ota.h" #include "wifi_credentials.h" @@ -105,6 +106,10 @@ void setup() { httpServer.start(); httpServer.start_apps(); Serial.println("HTTP server started !"); + + if (MDNS.begin("treppenlicht")) { + Serial.println("MDNS for treppenlicht started"); + } os_timer_setfn(&timer1, timerCallback, &timer_flag); os_timer_arm(&timer1, 20, true);