Local uTuya is a lightweight MicroPython library for controlling Tuya smart plugs directly over the local LAN — no cloud, no internet, no third-party dependencies. It implements the Tuya v3.3 protocol from scratch using only MicroPython built-ins, including a pure-Python CRC32 to work around the missing zlib module on ESP32. Developed through hands-on reverse engineering and packet capture analysis. Tested on AUBESS Smart Socket 20A, it gives makers real-time switch control and power monitoring (voltage, current, watts).
| Version | Development | Language | Platform |
|---|---|---|---|
| 1.0 | In-Progress | Micropython | ESP32 |
Initial version