This is a short teardown of US type Generic Tuya Touch Wall Switch (With Neutral) with CB3S module.
Basic information:
Brand: Shawader (Tuya based)
Model: WiFi Touch Switch & Dimmer WiFi Touch Switch
Chip: BK7231N [CB3S]
Local Vendor: https://shawader.aliexpress.com/store/4884178
These switches look a lot like Makegood switches.
Main Module version in the Tuya app was V1.1.0 on the switch and V2.1.6 on the Dimmer.
These can be flashed with Tuya-Cloudcutter.
I used the option 2 > By firmware version and name.
There is a V1.1.0 'dctrl switch' and V2.1.6 'common user config ty' file that both flashed fine.
I think from memory they both flashed OpenBeken-v1.17.130_bk7231n.ug.bin
This is only the one gang version but I would assume the 2,3,4 would be similar.
This is what worked for me, I found with the switch that if I used WIFILED_n then the off blue was too dark so used LED_n instead the wifi led is under the cover anyway so you cant see it.
Pinout for 1 gang switch:
JSON for 1 gang:
autoexec.bat for dimmer:
JSON for 1 dimmer:
Hopefully this is useful to some.
Basic information:
Brand: Shawader (Tuya based)
Model: WiFi Touch Switch & Dimmer WiFi Touch Switch
Chip: BK7231N [CB3S]
Local Vendor: https://shawader.aliexpress.com/store/4884178
These switches look a lot like Makegood switches.







Main Module version in the Tuya app was V1.1.0 on the switch and V2.1.6 on the Dimmer.
These can be flashed with Tuya-Cloudcutter.
I used the option 2 > By firmware version and name.
There is a V1.1.0 'dctrl switch' and V2.1.6 'common user config ty' file that both flashed fine.
I think from memory they both flashed OpenBeken-v1.17.130_bk7231n.ug.bin
This is only the one gang version but I would assume the 2,3,4 would be similar.
This is what worked for me, I found with the switch that if I used WIFILED_n then the off blue was too dark so used LED_n instead the wifi led is under the cover anyway so you cant see it.
Pinout for 1 gang switch:
P10 Btn
P11 LED_n
P26 Rel
JSON for 1 gang:
Code: JSON
autoexec.bat for dimmer:
startDriver TuyaMCU
setChannelType 1 toggle
setChannelType 2 dimmer
tuyaMcu_setDimmerRange 2 1000
linkTuyaMCUOutputToChannel 1 1 1
linkTuyaMCUOutputToChannel 2 2 2
JSON for 1 dimmer:
Code: JSON
Hopefully this is useful to some.
Cool? Ranking DIY