How to add Over-the-Air updates to your MicroPython projects

preview_player
Показать описание
How to add Over-the-Air updates to your MicroPython projects, perfect for Raspberry Pi Pico W projects as well as ESP32 boards.

Join this channel to get access to perks:

🎖To join the membership at 🥉bronze, 🥈silver or 🥇gold levels, head over to

#ota​ #MicroPython​ #Robotics
00:00 Introduction
00:19 OTA Updates
00:51 Step 1 - Getting the code
01:16 Step 2 - Adding the code to your projects
02:15 Step 3- Setting up Github
03:36 Step 4 - Test OTA works
Рекомендации по теме
Комментарии
Автор

Your tutorial was super helpful! Thanks.

wesleycostaee
Автор

your videos are so well done, thanks a lot

samidudigital
Автор

Thanks I was trying to figure out how to do OTA for an ESP32 kit device... Hopefully I can use this technique!

datguy
Автор

ok - new subscriber. I plan to do something like this. I wish you would give a code walk-through. But your code is easy to follow. Thanks.

rickrandazzo
Автор

Hi Kevin,
Great project as always!
I've created a PR to it as you could be using the commit id as the version instead of having to declare it in another file.
Looking forward to hearing your thoughts on it 😅

pierre-yves_baloche
Автор

Would writing the OTA functionality directly in C using the Pico SDK be possible and more efficient? Would C make a noticeable difference in compute/power efficiency?

dynasty
Автор

Thank you for your very useful video! Kevin. May I know is there a way to check "version.json" when my repository is set to private? As the URL of raw githubusercontent varies every time .

Kilowatt-qv
Автор

Thank you! This will make updating my deployed projects so much easier to update!! I do have a question though... is there any support for private repositories, where it could use my github token? I noticed another OTA on github that does this, but not nearly as well explained as yours. Thanks for the contribution!

HopWorksET
Автор

Q1 - is this inernet fota or intranet fota meaning to get ota update should both the device and the iot be in the same network or does it work even on different network meaning say ur iot device is in somewhere else connected dto different network and ur doing ota from ur home using ur wifi

q2- can this be implemented like this the fota code is in python but my iot code is in c so it will replace the c files moment fota is done

debojitmandal
Автор

What would be the ideal way to schedule this so an always-on device checked on a schedule?

cparker
Автор

This works great for .py files. Would it be posible just with usb cable without wifi? How to do a micropython auto updater that you do not need to worry about which version is out?

OttoDIY
Автор

Hi Kevin, i have a code that writes datas in text file how will i make it update the github repository with the text file

APhilippinesAbsentPOV
Автор

Thanks so much for this video. I’m converting my embedded device from ESP32 to Raspberry Pi due to better device capabilities. This OTA is much simpler.

One question: I have multiple files that I want to download, for example some small video files as well as the main .py code. How would you suggest doing this? Thank you!

GenesisTech
Автор

I've noticed that a lot of MicroPython devices struggle with verifying TLS certificates. Have you added anything to help with this / prevent "man in the middle" attacks?

BenjaminEHowe
Автор

How is this OTA? Isn't the device still connected via USB when you run the update script?

papalevies
Автор

I will give this a go.
I notice you hide your SSID and password, I am not suggesting you make it public but for this to be of any use to anyone, surely they would have to find your address and camp outside your house?

stevegale
join shbcf.ru