OTA Solution - Build your own OTA platform (1/2, Preparing Python Flask API Server)
Вставка
- Опубліковано 28 лис 2024
- In this project, we are going to configure the OTA environment.
It would be nice if there is no server part, but a server is absolutely necessary for the device to always check for new information.
So in this video, I'm gonna start with a very small and simple server that I need in an OTA environment. This server is Python-based and uses a microframework called Flask.
I'm sure this gives you the idea to build your own OTA platform.
[Flask]
flask.palletsp...
[Favicon.cc]
www.favicon.cc...
[Project Github]
github.com/001...
#OTA #Flask #Python #RESTAPI #ESP32 #ThatProject
That Project's Channel - ua-cam.com/users/ThatProject
Join FB Group - facebook.com/groups/138965931539175
Nice video. Could you zoom in on the text when writing the code as I view on my smartphone a lot. Thanks!
Was this video not enough? I zoomed in a lot more than before......
@@ThatProject Try watching on your phone. When typing in code always try to zoom in. Yes, you did zoom in some, but always when you enter code would be better on small devices. Thanks!
Great video! Waiting for next video :)
Thanks! 😃
Hey Eric...Awesome Video...Just a Question...why Can't this Json or bin file be downloaded from Firestore
Because I wanted to make a solution that works based on the server I made.
Great project and great timing as I need an OTA server for an ESP32 based project. What do you run the OTA server on? I have a server running VirtualBox and probably would run this on a Fedora VM
VM is fine. Also, you can run it on your computer. Since the server is a Python-based Flask server, it works on any OS.
@@ThatProject As long as I have a Python environment to run it in, right? What version is needed at a minimum?
@@meierthomas Yes, that's right. It works fine in Python 3.x or later.
@@ThatProject Ok great. I'm building this server over the weekend probably. Thanks for this great tutorial
hi! i found problems just at the start... :( the "python -m venv venv" command created the venv folder without the bin folder inside, than the "source venv/bin/activate" command result in error as "source command not found", what could it be?
Are you using Windows? If so, please check this out. stackoverflow.com/a/8921211
buen video, 2024 todo funciona bien.
¡gracias! Me alegro que haya ayudado.
@@ThatProject disculpa tienes alguna solución de OTA para platformIO pero con el framework de IDF? te agradecería!
@@alejandrojoseurielessalced423 There is an official OTA supported by ESP-IDF. github.com/espressif/esp-idf/tree/master/components/esp_https_ota
@@ThatProject esa es una librería(componente) necesito un ejemplo práctico, no he podido conseguir algo que me sirva, gracias
@@alejandrojoseurielessalced423 Check this out. github.com/espressif/esp-idf/blob/master/examples/system/ota/README.md
Excelent video, Excuse me ,but i have a questión.
Is it possible to do it in Arduino IDE?
Sure. Everything except the server part is made in Arduino IDE 2.0.
What would be even better is to have another ESP32 act as the sever.
Yeah, I think it's possible enough.
thank you sir
Hi Whats format bin file?
This is a firmware file in binary format that includes a bootloader.
@@ThatProject Thank you reply. I have problem firmware size. is possible change size partition Ota?
@@ligteltelecom You can check the configuration of your flash memory by looking at the partition.csv file. This OTA Update system I created is not ESP-IDF's OTA, but Arduino Framework's OTA. So, it is necessary to free up space in SPIFFS. If you use ESP-IDF's OTA, you can increase the OTA size in the partition.
can I hire you for a project?
You can find my email here, ua-cam.com/users/ThatProjectabout