mpair: Out-of-band Wi-Fi management (UDP Reset/TCP File Ops) for ESP32-C3 #19009
Nick507
started this conversation in
Show and tell
Replies: 2 comments 1 reply
-
|
This one sounds really promising. I will definitely try this one in my current project. Thank you! |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Good job |
Beta Was this translation helpful? Give feedback.
1 reply
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone!
I wanted to share a tool I’ve been working on called mpair (MicroPython Air). It’s designed to solve the common issue of losing REPL or file access over Wi-Fi when a script is already running in a loop.
The Problem:
Standard WebREPL can be tricky to break into if your main.py is busy, and sometimes you just need a "hard" way to reset the board or swap files without a serial cable.
The Solution:
mpair uses two dedicated ports to manage the ESP32-C3:
UDP (Port 8267): Handles "Out-of-Band" commands like reset or boot mode via a background timer. It works even while your main code is executing.
TCP (Port 8268): A lightweight server for file operations and remote exec() execution.
Key Features:
CLI Tool: Installable via pip. Just type mpair from your terminal.
No Serial Needed: Once the server is on the flash, you can manage everything over Wi-Fi.
Lightweight: Designed specifically with the ESP32-C3 in mind.
Check it out on GitHub:
https://github.com/Nick507/mpair
I'd love to hear your thoughts or if anyone has ideas for more OOB commands!
Beta Was this translation helpful? Give feedback.
All reactions