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.
-
Is there any way to make the IDE actively check for a re-established mDns connection?Murey Tasroc– Murey Tasroc2018年08月04日 07:25:21 +00:00Commented 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.Sundeep Goel– Sundeep Goel2019年01月05日 05:28:08 +00:00Commented Jan 5, 2019 at 5:28
3 Answers 3
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.
-
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?Murey Tasroc– Murey Tasroc2019年01月25日 04:53:08 +00:00Commented 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– Bogdan2019年01月26日 09:15:16 +00:00Commented Jan 26, 2019 at 9:15
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.
-
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 minuteJaromanda X– Jaromanda X2018年06月18日 01:56:37 +00:00Commented Jun 18, 2018 at 1:56
-
1.8.4 OSX -- is there maybe a refresh ports function somewhere in the IDE?Murey Tasroc– Murey Tasroc2018年06月18日 11:02:44 +00:00Commented Jun 18, 2018 at 11:02
-
How long do you wait? Is there a later version of the ide available for MacJaromanda X– Jaromanda X2018年06月18日 11:27:33 +00:00Commented Jun 18, 2018 at 11:27
-
I downloaded the most recent version of the IDE and this is still a problem.Murey Tasroc– Murey Tasroc2018年08月04日 07:26:05 +00:00Commented 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– Rudy2018年12月02日 14:58:45 +00:00Commented Dec 2, 2018 at 14:58
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.