Comments on: ESP32 OTA (Over-the-Air) Updates – ElegantOTA Library with Arduino IDE https://randomnerdtutorials.com/esp32-ota-elegantota-arduino/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Sat, 26 Jul 2025 11:05:18 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Sara Santos https://randomnerdtutorials.com/esp32-ota-elegantota-arduino/#comment-1074942 Sat, 26 Jul 2025 11:05:18 +0000 https://randomnerdtutorials.com/?p=164492#comment-1074942 In reply to Solo.

Hi.
Without more information, it is very difficult to understand what might be wrong.
Maybe it is a good idea to try to open an issue in the library Github page:https://github.com/ayushsharma82/ElegantOTA/issues

Regards,
Sara

]]>
By: Solo https://randomnerdtutorials.com/esp32-ota-elegantota-arduino/#comment-1074674 Fri, 25 Jul 2025 16:33:16 +0000 https://randomnerdtutorials.com/?p=164492#comment-1074674 Hi, the ElegantOTA upload fails consistently at about the 40% mark with “Upload failed \n Server returned status code 0”.
Sketch uses 1365335 bytes (43%) of program storage space. Maximum is 3145728 bytes.
Global variables use 56228 bytes (17%) of dynamic memory, leaving 271452 bytes for local variables. Maximum is 327680 bytes.

I am using a ESP32S3 with 16MB on the Arduino IDE. Partition Scheme is: 16M Flash (3MB App/9.9 MB FATFS).

Can you help suggest what I could do to fix this? Thanks.

]]>
By: Cristian https://randomnerdtutorials.com/esp32-ota-elegantota-arduino/#comment-1060110 Sun, 22 Jun 2025 22:23:54 +0000 https://randomnerdtutorials.com/?p=164492#comment-1060110 Hi, i havent been able to set the authentication, i think i have tried everything, i am doing the sethAuth… But was never anle to make it work, any thought?

]]>
By: ade https://randomnerdtutorials.com/esp32-ota-elegantota-arduino/#comment-1059404 Fri, 20 Jun 2025 20:06:55 +0000 https://randomnerdtutorials.com/?p=164492#comment-1059404 In reply to Ayush.

Good work.
I came across the library, and I tried to test it on wemos d1 mini.
but it’s showing MD5 mismatch error when uploading reach 100%.
what can be the issue and how to solve it.
thanks.

]]>
By: Rrr https://randomnerdtutorials.com/esp32-ota-elegantota-arduino/#comment-1043921 Wed, 14 May 2025 03:33:45 +0000 https://randomnerdtutorials.com/?p=164492#comment-1043921 Hello, this post is about ESP32 flashing its own flash memory. How to make one ESP32[1] flash a second ESP32[2]?

I believe that in the case that an ESP32[1] can program another ESP32[2] (perhaps using the serial port), it is possible to send the firmware without the OTA part, so that an ESP32[1] will always have its firmware preserved as an “ESP32 programmer”

]]>
By: Leo Duivenvoorde https://randomnerdtutorials.com/esp32-ota-elegantota-arduino/#comment-1024081 Sun, 06 Apr 2025 09:01:46 +0000 https://randomnerdtutorials.com/?p=164492#comment-1024081 In reply to Dan.

Initially, it was indeed at the wrong place: above <Arduino.h>, which I normally do not use. I commented the line out, but same problem (no WiFi.h present) kept coming back. Today, I restarted the computer and problem did not come back.

But, I noticed that now the IDE used the WiFi,h from :
Multiple libraries were found for “WiFi.h”
Used: C:\Users\leodu\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.2.0\libraries\WiFi
Not used: D:\LEO\OneDrive\Documenten\Arduino\libraries\WiFi

So, the problem is solved.
But, at hindsight, I do sometimes notice that I have to reboot the computer after compilations-errors in order to clear a problem; just like something remains in memory.

Also: Is there a way I can store all the libraries and packages on one single drive/location? This is much easier for back-ups etc.

But, any way, thanks for your help.

With best regards,
Leo

]]>
By: Dan https://randomnerdtutorials.com/esp32-ota-elegantota-arduino/#comment-1023488 Sat, 05 Apr 2025 16:58:51 +0000 https://randomnerdtutorials.com/?p=164492#comment-1023488 hi, it sounds like a syntax error ( a {, }, ; missing) or your new line is not at the right place, Is it a global value ?

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-ota-elegantota-arduino/#comment-1023470 Sat, 05 Apr 2025 14:18:19 +0000 https://randomnerdtutorials.com/?p=164492#comment-1023470 In reply to Leo Duivenvoorde.

Hi.
Do you have an ESP32 board selected in Tools > Board?
Regards,
Sara

]]>
By: Leo Duivenvoorde https://randomnerdtutorials.com/esp32-ota-elegantota-arduino/#comment-1023461 Sat, 05 Apr 2025 13:21:34 +0000 https://randomnerdtutorials.com/?p=164492#comment-1023461 Hello,

I have made a sketch with the OTA -things in there as described in your article. It worked great.
Today I opened the same sketch again. Compiled it OK in Arduino IDE 2.3.5.
Then I just added the line ” String fileName = “Test-OTA-Blink”; “. And tried to complile it. But now I get the message that the WiFi.h library is not there. (Just 1 minute before this it compiled OK.) WiFi.h is present in my sketch-folder: myDocs/Arduino/Libraries/WiFi/src/

Can you explain this?

With best regards,
Leo

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-ota-elegantota-arduino/#comment-1020479 Fri, 28 Mar 2025 17:37:00 +0000 https://randomnerdtutorials.com/?p=164492#comment-1020479 In reply to Tapio.

Hi.
Yes.
You can share it in our group.
Also, don’t forget the merit to the library’s creator.
Regards,
Sara

]]>