Search code examples
esp8266arduino-esp8266

Network port not showing after running BasicOTA in ArduinoIDE for ESP8266 on Mac


I've just recently got an NodeMCUv3 ESP8266 and I've been trying to use the Arduino IDE 1.8.8 to program it on my Mac. I've successfully installed ch340* drivers and I can flash the ESP8266 using USB wire cable.

But after flashing the BasicOTA example (modified to connect to my WiFi), I am not seeing my NodeMCU listed as a network port. I only see a list of Serial ports even after restarting ArduinoIDE and NodeMCU.

I tried Bonjour Browser to discover my NodeMCU device and I cannot see it on the net as well.

Could you please suggest any ideas what could be the problem for appearing the network port for NodeMCU device in the ArduinoIDE?


Solution

  • The problem was solved by adding the line

    MDNS.update();

    into loop() function.