Some weeks ago I bought this complete power meter from Aliexpress:
Unfortunately, it came with a new tuya chip (CB3S) that at the moment is not possible to reprogram. it looks like the story ends here, no? NO.
I disassembled it and I found that the wifi chip footprint is totally compatible with the microcontroller ESP32-C3-12F. Then I picked up my old hot air soldering station and replaced it and I installed a minimal version of ESPHome.
Sorry I didn’t take any pictures of the process. but if I see a lot of people are interested in this power meter I’ll buy a new one and I’ll record the entire process
After plug-in and decoding all the datapoint I could access most of the parameters of the device as:
Power, Energy, Voltage, Current, Overcurrent protection, Overvoltage, Undervoltage, Maximum electric leakage, Power switch.
ESPHome YAML template:
If the project is getting interesting I’ll investigate how to add derivate measurements such as Active, Reactive, and Apparent power.
Indeed no. And the next time you probably don’t even need a soldering station anymore but can just make use of libretuya which (at this moment in time) has a working esphome port (in active development).
Or if one can wait the whole goodness will might end up in the official esphome:
Maybe someone explains, gave step-by-step instruction, how to connect eampdw-ty-63 to HA with access to most parameters. Now only switch work. I open link but not understand what I must to do…
Just came across this thread, perhaps you have figured it out already.
If not, you have to viable options:
Keep the Tuya Beken module and change the firmware to openBK
Desolder the Tuya Beken module and replace it with a ESP32-C3-12F and use ESPHome
The github linked in the OP post contains the yaml configuration you need for the ESPHome configuration.
In order to move forward with any of these options you need a FTDI programmer to either, change the firmware on the Beken Tuya module to openBK, or to install ESPHome to the ESP32-C3-12F module.
If you have any doubts just reply and I can guide you