OTA Solution - Build your own OTA platform (1/2, Preparing Python Flask API Server)

  Переглядів 6,451

That Project

That Project

2 роки тому

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.palletsprojects.com/en/...
[Favicon.cc]
www.favicon.cc/?action=icon&f...
[Project Github]
github.com/0015/ThatProject/t...
#OTA #Flask #Python #RESTAPI #ESP32 #ThatProject

КОМЕНТАРІ: 32
@divraj8323
@divraj8323 2 роки тому
Great video! Waiting for next video :)
@ThatProject
@ThatProject 2 роки тому
Thanks! 😃
@ThatProject
@ThatProject 2 роки тому
That Project's Channel - ukposts.info Join FB Group - facebook.com/groups/138965931539175
@giannifed
@giannifed 2 роки тому
thank you sir
@meierthomas
@meierthomas 2 роки тому
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
@ThatProject
@ThatProject 2 роки тому
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.
@meierthomas
@meierthomas 2 роки тому
@@ThatProject As long as I have a Python environment to run it in, right? What version is needed at a minimum?
@ThatProject
@ThatProject 2 роки тому
@@meierthomas Yes, that's right. It works fine in Python 3.x or later.
@meierthomas
@meierthomas 2 роки тому
@@ThatProject Ok great. I'm building this server over the weekend probably. Thanks for this great tutorial
@Tony770jr
@Tony770jr 2 роки тому
Nice video. Could you zoom in on the text when writing the code as I view on my smartphone a lot. Thanks!
@ThatProject
@ThatProject 2 роки тому
Was this video not enough? I zoomed in a lot more than before......
@Tony770jr
@Tony770jr 2 роки тому
@@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!
@dr.hriturajrohariya
@dr.hriturajrohariya 2 роки тому
Hey Eric...Awesome Video...Just a Question...why Can't this Json or bin file be downloaded from Firestore
@ThatProject
@ThatProject 2 роки тому
Because I wanted to make a solution that works based on the server I made.
@alejandrojoseurielessalced423
@alejandrojoseurielessalced423 Місяць тому
buen video, 2024 todo funciona bien.
@ThatProject
@ThatProject Місяць тому
¡gracias! Me alegro que haya ayudado.
@alejandrojoseurielessalced423
@alejandrojoseurielessalced423 Місяць тому
@@ThatProject disculpa tienes alguna solución de OTA para platformIO pero con el framework de IDF? te agradecería!
@ThatProject
@ThatProject Місяць тому
@@alejandrojoseurielessalced423 There is an official OTA supported by ESP-IDF. github.com/espressif/esp-idf/tree/master/components/esp_https_ota
@alejandrojoseurielessalced423
@alejandrojoseurielessalced423 Місяць тому
@@ThatProject esa es una librería(componente) necesito un ejemplo práctico, no he podido conseguir algo que me sirva, gracias
@ThatProject
@ThatProject Місяць тому
@@alejandrojoseurielessalced423 Check this out. github.com/espressif/esp-idf/blob/master/examples/system/ota/README.md
@refox13esimo
@refox13esimo Рік тому
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?
@ThatProject
@ThatProject Рік тому
Are you using Windows? If so, please check this out. stackoverflow.com/a/8921211
@hector2742
@hector2742 Рік тому
Excelent video, Excuse me ,but i have a questión. Is it possible to do it in Arduino IDE?
@ThatProject
@ThatProject Рік тому
Sure. Everything except the server part is made in Arduino IDE 2.0.
@ugetridofit
@ugetridofit 2 роки тому
What would be even better is to have another ESP32 act as the sever.
@ThatProject
@ThatProject 2 роки тому
Yeah, I think it's possible enough.
@ligteltelecom
@ligteltelecom Місяць тому
Hi Whats format bin file?
@ThatProject
@ThatProject Місяць тому
This is a firmware file in binary format that includes a bootloader.
@ligteltelecom
@ligteltelecom Місяць тому
@@ThatProject Thank you reply. I have problem firmware size. is possible change size partition Ota?
@ThatProject
@ThatProject Місяць тому
@@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.
@johnrichardson1949
@johnrichardson1949 Рік тому
can I hire you for a project?
@ThatProject
@ThatProject Рік тому
You can find my email here, ukposts.infoabout
OTA Solution - Build your own OTA platform (2/2, ESP32 OTA Application)
14:23
No-Code Airbnb API Data Scraping with HAR Files
8:08
Stevesie Data
Переглядів 2,7 тис.
OTA with the ESP32 (Over The Air)
8:38
Programming Electronics Academy
Переглядів 45 тис.
Why Some Designs Are Impossible to Improve: Quintessence
33:03
Design Theory
Переглядів 40 тис.
Firmware update over the air - insights and live demo
7:07
Bosch ConnectedWorld
Переглядів 22 тис.
Hollywood is Using AI! Have You Noticed?
31:20
Curious Refuge
Переглядів 13 тис.
CI CD наглядные примеры
22:08
Ulbi TV
Переглядів 260 тис.
#332 ESP32  OTA tutorial with tricks (incl. OTA debugging)
10:17
Andreas Spiess
Переглядів 130 тис.
МОЙ ПЕРВЫЙ ТЕЛЕФОН - Sony Erricson T280i
18:02
ЗЕ МАККЕРС
Переглядів 49 тис.
ЭТО САМЫЙ МОЩНЫЙ ИГРОВОЙ СМАРТФОН ЗА 270$ 🔥
13:33
Thebox - о технике и гаджетах
Переглядів 18 тис.
Клавиатура vs геймпад vs руль
0:47
Balance
Переглядів 315 тис.
300 000 за🚀МОЩНЫЙ, Но МЕРТВЫЙ ноут из Китая. Ремонт cyberpowerpc tracer 7 EDGE. Нюансы китай ноутов.
46:12
ААНТ КОНТАКТ Сервис по ремонту техники в ЕКБ, СПБ
Переглядів 60 тис.
Сомнительно... Ну Окэй... Распаковал Nothing Phone (2a)
16:19
РасПаковка ДваПаковка
Переглядів 55 тис.
Интел подвинься, ARM уже в ПК!
14:06
PRO Hi-Tech
Переглядів 127 тис.