Using the new Arduino IDE for ESP8266 and found bugs, report them here

Moderator: igrr

User avatar
By da3020
#45302 Hi everyone. I use Wemos D1 R1 with esp-12e chip. When I explore the example "BasicOTA" and all other instructions to try update sketch via wifi than I have a couple of problems.
I have successfully flash the example sketch via regularly Serial port and successfully connect WeMos to my wifi network.
But when I try to open Serial Monitor or try to flash new sketch usin wifi there is a popup message with password request.
How to solve it?
Arduino IDE 1.6.8
User avatar
By Robert Holt
#50854 I have the same problem. The code compiles and uploads to my ESP8266 via Serial Port, but when i try to program using the OTA, I get a pop-up asking for a password. IF i leave the password blank, I get an error:

"Unable to connect: wrong password?"

I tried setting the password using:

" ArduinoOTA.setPassword((const char *)"123");"

but i have the same result. If I enter the password "123", I still get the same error.

Anyone found a solution to this?
User avatar
By danlsk
#55597 I believe it has to do with the serial monitor that you are opening or opened before. I have same problem. I believe I opened the serial monitor to look at the IP address. After I turned off the serial monitor, I have this problem. I have to restart the IDE, upload OTA and then I won't see the password menu popping up. My other problem is OTA connect error. I am still not able to upload OTA although I have received IP address successfully.

Read this link:
http://esp8266.github.io/Arduino/versio ... dates.html

If OTA update fails, first step is to check for error messages that may be shown in upload window of Arduino IDE. If this is not providing any useful hints try to upload again while checking what is shown by ESP on serial port. Serial Monitor from IDE will not be useful in that case. When attempting to open it, you will likely see the following:

This window is for Arduino Yún and not yet implemented for esp8266/Arduino. It shows up because IDE is attempting to open Serial Monitor using network port you have selected for OTA upload.

Instead you need an external serial monitor. If you are a Windows user check out Termite. This is handy, slick and simple RS232 terminal that does not impose RTS or DTR flow control. Such flow control may cause issues if you are using respective lines to toggle GPIO0 and RESET pins on ESP for upload.