esp8266-iot-framework
esp8266-iot-framework copied to clipboard
mDNS not working
Hi, I am trying to configure and make it work mDNS responder in order to make configuration more simple. Looking at varius code around online I found this code
WiFi.hostname("bigclock");
if (MDNS.begin("bigclock")) { // Start the mDNS responder for esp8266.local
MDNS.addService("http", "tcp",80);
Serial.println("mDNS responder started");
}
Serial message was on console so MDNS.begin executed succefully.
I tried to add before or after WiFiManager.begin(configManager.data.projectName);
but it does not work.
Anyone get mDNS work?
Marco