micro-ota — OTA updates for MicroPython over WiFi, USB serial, and BLE, with no cloud dependency #19229
hicham-barhoumi
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone 👋
I've been working on an OTA (Over-The-Air) update solution for MicroPython called micro-ota, and I wanted to share it here in case it's useful to others dealing with the same pain points.
The problem: Updating MicroPython devices in the field (or even on your desk) is tedious. You either plug in USB every time, or roll your own ad-hoc update script. Most existing solutions require a cloud service or are tied to a specific platform.
What micro-ota does
uota fastto push only your app files,uota fullfor everythingprint()output live to your terminal and call RPC handlers on the device.mpybytecode compilation viampy-crossbuilt into the push workflow — cuts flash usage ~50% and boot time from 519 ms → 154 ms for the OTA moduleuota fast --allto deploy to every device on the subnet at oncePerformance on ESP32 (MicroPython v1.26.1)
Quick start
Repo
👉 https://github.com/hicham-barhoumi/micro-ota
It's at v1.0.0-beta, tested on ESP32 with hardware-in-the-loop tests covering all transport × operation combinations. I'd love feedback, especially from anyone using BLE or HTTP pull in production, or on boards other than ESP32.
Happy to answer questions!
Beta Was this translation helpful? Give feedback.
All reactions