GitHub ESP32 OTA Updates, Now In MicroPython Flavor

GitHub ESP32 OTA Updates, Now In MicroPython Flavor

Would not it be excellent if you could preserve all of your modest World wide web-related hacks up to day with a single codebase? A pair of months in the past, we wrote up a project that automagically pulls down OTA updates to an ESP32 from GitHub, utilizing the ESP32 C SDK. [Pascal] questioned in the remarks, “but what about MicroPython?” Gauntlet thrown, [TURFPTAx] wrote ugit.pya easy library that mirrors all of the code from a community GitHub Python repo straight to your gizmo operating Micropython.

[Damped] wrote in about Senko, yet another library that does one thing pretty identical, but by then [TURFPTAx] was previously accomplished. Bam! Aspect of the pace is that MicroPython consists of every thing you need to have to get the occupation accomplished – parsing streamed JSON was the tricky portion with the unique hack. MicroPython tends to make people sorts of points simple.

This is 1 of individuals ideas that is just good for a hacker with a little flock of impartial gadgets to herd. And due to the fact ugit.py itself is quite straightforward and readable, if you want to customise it to do your own bidding, that is no difficulty possibly. Just be certain that when you’re storing your WiFi authentication facts, it’s not publicly exhibited. ([TURFPTAx], could I log into your residence WiFi?)

What’s [TURFPTAx] likely to be utilizing this for? We’re guessing it’s going to be deploying code to his magnificent Open up Muscle mass sensing rigs. What will we be employing it for? Blinky Xmas decorations for the in-legal guidelines, now remotely updatable with no them owning to even understand what a “repo” is.

https://www.youtube.com/view?v=UX87SrdqIoc