• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

ESP32: OTA Updates

Q&A Forum › Category: ESP32 › ESP32: OTA Updates
0 Vote Up Vote Down
Gayrat Vlasov asked 7 years ago

Hi,
In case of ESP2866 you describe how to setup OTA:

ESP8266 OTA Updates with Arduino IDE | Over the Air


 
Please, add OTA to ESP32 course 🙂
 
P.S. I’m read official documentation:
https://dl.espressif.com/doc/esp-idf/latest/api-reference/system/ota.html
Espressif say: prepare partion ….
But I can’t understand how to do it.
I’m simply reading files from SPIFFS file system. (SPIFFS.begin() ) and don’t know what to do with partition 🙂

3 Answers
0 Vote Up Vote Down
Rui Santos Staff answered 7 years ago

Hello again,

Thanks for the suggestion. At the moment, I already have other Units lined up for the ESP32 course, but you are taking a look at the OTA examples for the ESP-IDF programming environment.

Can you try this example instead?

https://github.com/espressif/arduino-esp32/blob/master/libraries/ArduinoOTA/examples/BasicOTA/BasicOTA.ino

That previous example is for the ESP32 with Arduino IDE. I hope that helps!

0 Vote Up Vote Down
Xabi Alaez answered 7 years ago

Hi everyone,
 
Is there any way to update the Firmware via Internet, without having to be connected to to the same local network?
 
What I would like to do is the ESP32 to check, every time it is powered on and connected to a WiFi network, if there is a new update for the firmware on a Server (or somewhere). This way, everytime I change the firmware, I can upload the .bin file to the server with a different name and all my devices will update.
I know most devices can do that, and I’m sure it’s also possible with the ESP32, but I don’t know how. This feature would be really interesting and helpful for ESP32 applications, but I can’t find any example.
 
Any kind of help would be really appreciated.
 
Thanks in advance,
 
Xabi

1 Vote Up Vote Down
Rui Santos Staff answered 7 years ago

Hello Xabi,

The best solution (it’s quite technical) that I’ve found for that problem is using IOTappStory by
Andreas Spiess. He has a service that allows you to do exactly what you’re looking for.

I recommend watching this video: https://www.youtube.com/watch?v=ehPl4Nwjvaw

I hope that helps. Regards,

Rui

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.