
Recently I bought an inexpensive Tuya-compatible smart plugs: IMMAX NEO LITE 07762L. I got curious about their insides and wanted to get rid of cloud reliance.
^^ Teardown of the smart plug with all the tricks I learned while opening three of them ^^
After opening it as shown in the video, it revealed a BK7231N - CB2S - Bingo

This variant of the chips has all the pins on one side, and conveniently all the required are in a row next to each other (with the exception of the CEN pin, which is on the other side) Here I borrowed pictures of the chip itself from https://www.elektroda.com/rtvforum/topic3951016.html


It was a piece of cake from here. First I soldered some dupont wires on the pins 3,3V; GND; RX1; TX1; CEN, connected it to USB-TTL adapter and was able to flash it like any other BK7231N chip. The only software-related issue I found is that when ltchiptool generated ESPHome YAML from the dumped firmware, the voltage division was 1600 instead of 800. After reflashing it with new firmware, the power measurement was correct.

Other than the Beken, it features a BL0937 IC for energy measurement






Template (auto generated from tuya firmware):
Code: JSON
frankly I'm not sure what to put on some of the placeholders