ESP32 Cloud Based OTA Firmware Updates - Not Local Server Based

Mahonroy
Posts: 7
Joined: Tue Sep 21, 2021 10:53 pm

ESP32 Cloud Based OTA Firmware Updates - Not Local Server Based

Postby Mahonroy » Tue Sep 21, 2021 10:58 pm

Hey guys, I have been struggling to find a good example/tutorial on how to set up a cloud based OTA firmware update scheme. Everything I come across is where you push an OTA firmware update through the local network via local server. I want to be able to put the binaries in the cloud, have the ESP32 periodically check the version number, and then download the binary and run it if the version number is greater than its current running one.

I am willing to use Azure IoT, Google Storage, AWS, etc. to manage the firmware deployments to the ESP32.

I have been searching around and trying misc exaples in Visual Studio Code - both PlatformIO and Azure IoT Device Workbench.

This tutorial looked really promising, until I realized it was for the MXChip and not ESP32:
https://docs.microsoft.com/en-us/sample ... ta/sample/

This one also looked really promising. I followed along until the point where it got really vague on the steps to take to finish the example, so I could never complete it:
https://medium.com/medialesson/esp32-ba ... a4ce22e429

Thanks and any help or advice is greatly appreciated!

ESP_Sprite
Posts: 9766
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32 Cloud Based OTA Firmware Updates - Not Local Server Based

Postby ESP_Sprite » Wed Sep 22, 2021 12:51 am

Have you looked at the examples that come with esp-idf? While it doesn't tell you how to set up the server side of things, it should be instructive on the client side.

Who is online

Users browsing this forum: Baidu [Spider] and 159 guests