What happens when a Tuya smart plug refuses to be flashed the easy way? You open it, wire it, reprogram it — and make it better than new. In this video, I’ll show you how I converted a CB2S-based plug to ESPHome and calibrated its power measurements.
GitHub
https://github.com/fabiojdsoliveira/t...
Chapters
00:00 Intro
00:16 Device show
00:47 Tuya-cloudcutter not working
01:05 Opening the device
01:42 Top part show
01:51 Removing the electronic board
02:00 Bottom part
02:06 Electronic board show
02:39 Libretiny information
03:11 Connections
04:23 Itchiptool download
04:31 Firmware read failure
05:11 Problem detection
05:27 Firmware read success
06:02 Itchiptool to ESPHome YAML
06:32 ESPHome Buider New Device
07:57 First Itchiptool programming
08:52 Mounting together
09:27 Power sensor improvement
10:57 Calibration
12:17 Bonus: defining relay start-up state
14:02 Capacitor story
14:28 Closing