I received this tuya US plug from AliExpress.
https://www.aliexpress.com/item/1005006849357715.html?
The plug is sonically welded so it's a bit hard to open. I used a utility knife around the seam and I was able to lift one side and open it.
It has CB2S inside, the flashing should be easy but the live/neutral prongs are soldered to the back of the plug.
De-soldering the prongs will be very difficult and the case may melt from the heat.
Instead, I removed the metal shield of the CB2S and tried to find another access to the Rx/Tx pins.
I scraped some of the PCB masking to gain access to the via holes for the Rx/Tx and used one side of a capacitor for the 3.3V and ground is easily accessible.
Using BDM Frame made the job much easier. https://www.aliexpress.com/w/wholesale-BDM-Frame.html?spm=a2g0o.detail.search.0
For the configuration
https://www.aliexpress.com/item/1005006849357715.html?



The plug is sonically welded so it's a bit hard to open. I used a utility knife around the seam and I was able to lift one side and open it.

It has CB2S inside, the flashing should be easy but the live/neutral prongs are soldered to the back of the plug.
De-soldering the prongs will be very difficult and the case may melt from the heat.

Instead, I removed the metal shield of the CB2S and tried to find another access to the Rx/Tx pins.
I scraped some of the PCB masking to gain access to the via holes for the Rx/Tx and used one side of a capacitor for the 3.3V and ground is easily accessible.

Using BDM Frame made the job much easier. https://www.aliexpress.com/w/wholesale-BDM-Frame.html?spm=a2g0o.detail.search.0

For the configuration
- BL0937 SEL on P26
- Button (channel 1) on P24
- BL0937 VI on P7
- WiFi LED on P23
- BL0937 ELE on P6
- Relay (channel 1) on P8
Code: JSON