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.
OBK UART flash tool: https://github.com/openshwprojects/BK7231GUIFlashTool
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. since the RX and TX are being used on different pins, when connecting via UART you need to remove the solder on the RX and TX pins so that the CB2S and the main PCB are isolated, in order to read and write the firmware.
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 p6OBK template:
Code: JSON
ESPhome YAML
ADVERTISEMENT
Code: YAML