This product is one of the unbranded Tuya dual plug devices. It doesn’t seem to have any special external differences, but unlike other products, it has no screws. The case can be opened by prying apart the top gap, and adhesive is required to reattach it.
Unlike other products, the plug PCB can be removed from the case, allowing the firmware to be changed directly via UART. Cloudcutter is not supported.
It uses the CB2S module, but the version included has the rear silkscreen misprinted, so it must be read in reverse. You can refer to Tuya’s official CB2S documentation.
The power measurement chip used is the BL0937, and since the CB2S has very few available GPIO pins, the sel pin is unusually connected to the ADC.
Pins:
# button (inverted)
p11, p26
#P11 linked p24
#p26 linbked P8
# relay
p8, p24
# wifi led
p10
# bl0937
sel p23 (ADC) cf1 p7 cf p6ESPhome YAML
esphome:
Code: YAML