3

The OTA (from the ArduinoOTA library) on my ESP8266 does not show up in the programming ports on the Arduino IDE unless I restart the IDE. Even when I plug in a usb cable and the ports list updates to show that device, it does not show the network port without a restart. Does anyone know why this would happen or how to solve it?

I downloaded the newest version of the IDE and this is still the case.

2
  • Is there any way to make the IDE actively check for a re-established mDns connection? Aug 4, 2018 at 7:25
  • I have the same problem, ports appear on IDE restart and then except one (which also seems to be random) all disappear after some time. Jan 5, 2019 at 5:28

3 Answers 3

1

I found an workaround for Windows:

  • disable IPv6 from Network Configuration
  • disable/enable network interface
  • restart Arduino IDE

You should see your OTA device in port list, in Arduino IDE.

2
  • Do you have to do these steps every time the OTA device turns on or does this cause the IDE to actively monitor for network OTA ports? Jan 25, 2019 at 4:53
  • I just did it on the Windows machine with Arduine IDE. For example on Mac I don't have this problem.
    – Bogdan
    Jan 26, 2019 at 9:15
0

For some reason you have to close and reopen the Arduino IDE for it to discover all available OTA ports. Not sure why this is -- if anyone knows I would be glad to learn.

EDIT: keeping this answer just for comments -- it's not a real answer.

5
  • Which version of Arduino IDE? Which Operating System? Mine eventually discovers a a device that is flashed with OTA support added - usually takes less than a minute Jun 18, 2018 at 1:56
  • 1.8.4 OSX -- is there maybe a refresh ports function somewhere in the IDE? Jun 18, 2018 at 11:02
  • How long do you wait? Is there a later version of the ide available for Mac Jun 18, 2018 at 11:27
  • I downloaded the most recent version of the IDE and this is still a problem. Aug 4, 2018 at 7:26
  • I have this problem on Windows 10. I am running Arduino 1.8.5 but this problem has been on previous versions. From what I understand it is a Windows issue. But some people have what appears to be the same problem because it get assigned to IP6 rather than IP4. I'm not really familiar with the details.
    – Rudy
    Dec 2, 2018 at 14:58
0

I have the exact problem on various flavours of Linux with last Arduino IDE and rebooting the router seems to be the only thing I've found that can make the IP address port appear.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.