Comments on: ESP8266 NodeMCU OTA (Over-the-Air) Updates – ElegantOTA Library with Arduino IDE https://randomnerdtutorials.com/esp8266-nodemcu-ota-elegantota-arduino/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Fri, 13 Feb 2026 17:43:35 +0000 hourly 1 https://wordpress.org/?v=6.8.5 By: Sara Santos https://randomnerdtutorials.com/esp8266-nodemcu-ota-elegantota-arduino/#comment-1161584 Fri, 13 Feb 2026 17:43:35 +0000 https://randomnerdtutorials.com/?p=164560#comment-1161584 In reply to PJ Allen.

Yes.
It’s a typo.
It’s fixed now.
Regards,
Sara

]]>
By: PJ Allen https://randomnerdtutorials.com/esp8266-nodemcu-ota-elegantota-arduino/#comment-1161398 Thu, 12 Feb 2026 22:02:32 +0000 https://randomnerdtutorials.com/?p=164560#comment-1161398 ElegantOTA ESP8266 Basic Example
Let’s start with a basic example (based on one of the library’s examples). The following code creates a simple web server with the ESP32.
Shouldn’t that be “with the ESP8266” ?

]]>
By: dan21 https://randomnerdtutorials.com/esp8266-nodemcu-ota-elegantota-arduino/#comment-1125116 Tue, 18 Nov 2025 08:52:14 +0000 https://randomnerdtutorials.com/?p=164560#comment-1125116 Hello,
I have ESP8266 with AsynDemo example. I’ve changed ELEGANTOTA_USE_ASYNC_WEBSERVER to use async web server. Build and load is OK with no errors. ESP connected to my network. I can see OTA “homepage” but when I try to load /upload page browser just got stuck. No upload page is loading !! I modified response on upload (ElegantOTA.cpp) to return some text and this is working !!!!!! So is there any problem whit that gzip-ed page ?
Dan

]]>
By: dan21 https://randomnerdtutorials.com/esp8266-nodemcu-ota-elegantota-arduino/#comment-1124930 Mon, 17 Nov 2025 19:41:34 +0000 https://randomnerdtutorials.com/?p=164560#comment-1124930 Hello,
I’m trying to use ElegantOta on my ESP8266. I used AsyncDemo.ino (Copy-Paste code) with my ssid and password. Also changed “ELEGANTOTA_USE_ASYNC_WEBSERVER 1”.
I could build it, loaded to the ESP. Root page working OK, but when I type {myIP}/update
then browser starts loading page but never finished !!!!!. I used Postman to se what is going on, but the request is “never ending”. I used three different ESP8266 board but non of them worked – same issue !! Could you point me where to look for problem ?
Thank you.
dan

]]>
By: Sara Santos https://randomnerdtutorials.com/esp8266-nodemcu-ota-elegantota-arduino/#comment-1115409 Mon, 27 Oct 2025 15:06:11 +0000 https://randomnerdtutorials.com/?p=164560#comment-1115409 In reply to Helmut Bayerlein.

Hi.
What is exactly the error that you’re getting?
What libraries and versions are you using?
Also, what version of the ESP8266 core are you using?
Regards,
Sara

]]>
By: Helmut Bayerlein https://randomnerdtutorials.com/esp8266-nodemcu-ota-elegantota-arduino/#comment-1114660 Sat, 25 Oct 2025 12:24:24 +0000 https://randomnerdtutorials.com/?p=164560#comment-1114660 In reply to Martin Eggers.

Hello Martin,
did You get any response? I have the same problem and don’t know, what’s going wrong!

Best regards,
Helmut.

]]>
By: werner https://randomnerdtutorials.com/esp8266-nodemcu-ota-elegantota-arduino/#comment-1085472 Sun, 24 Aug 2025 13:51:56 +0000 https://randomnerdtutorials.com/?p=164560#comment-1085472 Hello
I am trying to use the ESP webserver project together with elegant Ota, but then the relays no longer work. The website is being updated. no GPIO switch.
“ESP32/ESP8266 Relay Module Web Server using Arduino IDE (1, 2, 4, 8, 16 Channels)”

]]>
By: Jacques Bourgouin https://randomnerdtutorials.com/esp8266-nodemcu-ota-elegantota-arduino/#comment-1019234 Sun, 23 Mar 2025 21:16:56 +0000 https://randomnerdtutorials.com/?p=164560#comment-1019234 Hello,
I have succeeded to use ElegantOTA to reprogram the firmware of a ESP8266 via OTA.
How do you get a .bin file for the /data containing index.html, *.js .. ?
I did see this information in your examples
Thanks

]]>
By: Sara Santos https://randomnerdtutorials.com/esp8266-nodemcu-ota-elegantota-arduino/#comment-1016762 Sat, 15 Mar 2025 10:36:28 +0000 https://randomnerdtutorials.com/?p=164560#comment-1016762 In reply to Dave Z.

Hi.
Thanks for the info.
But, I’m also not sure how to do that in Arduino IDE.
Regards,
Sara

]]>
By: Dave Z https://randomnerdtutorials.com/esp8266-nodemcu-ota-elegantota-arduino/#comment-1016724 Sat, 15 Mar 2025 06:26:18 +0000 https://randomnerdtutorials.com/?p=164560#comment-1016724 A more “Elegant” way to than ” #define ELEGANTOTA_USE_ASYNC_WEBSERVER 1 ” is to use a build flag ” build_flags = -D ELEGANTOTA_USE_ASYNC_WEBSERVER=1 “, this has the advantage of not needing to be redone if the library is updated. (I do not use Arduino, not sure if you can use Build Flags in Arduino?)

]]>