| @@ -317,11 +317,15 @@ void startSTAWebServer() { | |||
| Serial.print(WiFi.localIP()); | |||
| Serial.println(":81/"); | |||
| String macAddressStr = WiFi.macAddress(); | |||
| if (MDNS.begin("LEDLamp")) { | |||
| Serial.println("mDNS gestartet"); | |||
| MDNS.addService("http", "tcp", 80); | |||
| MDNS.addService("ws", "tcp", 81); | |||
| MDNS.addService("LEDLamp", "tcp", 80); | |||
| MDNS.addServiceTxt("LEDLamp", "tcp", "name", "LED Lamp [" + macAddressStr + "]"); | |||
| } | |||
| } | |||
| @@ -2,7 +2,7 @@ | |||
| //This is a automatic generated file | |||
| //Please do not modify this file | |||
| //If you touch this file your change will be overwritten during the next build | |||
| //This file has been generated on 2026-07-16 22:59:44 | |||
| //This file has been generated on 2026-07-17 16:31:43 | |||
| #include "Arduino.h" | |||
| #include "Arduino.h" | |||