[BK7231N/CB3S] Shawader Smart WiFi Wall Socket Teardown And Flashing Tasmota/Esphome like OBK
TL;DR
- A Shawader Tuya-based Smart WiFi Wall Socket using a BK7231N [CB3S] board gets torn down as an Au-type generic Tuya 2 Gang GPO.
- The unit flashes directly with a jig, and mapping P6 and P24 as Btn inputs restores the blue off LEDs.
- The Tuya app reported module version V1.1.15, and the suggested OpenBeken pinout uses P8 for WifiLED_n, P14/P26 for relays, and P6/P7/P9/P24 for buttons.
- OpenBeken shows power monitoring, but it only ever displays zero, so the author suspects there is no BL0942.
Basic information:
Brand: Shawader (Tuya based)
Model: Smart WiFi Wall Socket
Chip: BK7231N [CB3S]
Local Vendor: https://shawader.aliexpress.com/store/4884178
These switches look a lot like Makegood GPOs
Main Module version in the Tuya app was V1.1.15 (I couldn't find a match in Tuya-Cloudcutter).
However, these can be flashed directly fairly easily. I used a jig so I didn't need to solder anything.
This is the Au GPO but I would think the EU and US ones would be similar.
The OpenBeken firmware shows power monitoring but I am not sure if that is correct or actually works. It only ever shows zero. I do not think it has a BL0942.
This is what worked for me, I found the Blue Off LEDs did not come on after flashing only the Red On LEDs. However, by adding Btn to P6 and P24 then the Blue Off LEDs returned. So if you do not want Blue LEDs for Off leave P6 and P24 blank.
Pinout for Au 2 Gang GPO:
P6 Btn 2*
P7 Btn 2
P8 WifiLED_n
P9 Btn 1
P14 Rel 2
P24 Btn 1*
P26 Rel 1JSON for Au 2 Gang GPO:
{
"vendor": "Tuya",
"bDetailed": "0",
"name": "Shawader Smart WiFi Wall Socket",
"model": "2 Gang GPO",
"chip": "BK7231N",
"board": "CB3S",
"flags": "1024",
"keywords": [
"GPO"
],
"pins": {
"6": "Btn;2",
"7": "Btn;2",
"8": "WifiLED_n;0",
"9": "Btn;1",
"14": "Rel;2",
"24": "Btn;1",
"26": "Rel;1"
},
"command": "backlog startDriver CSE7766; SetupEnergyStats 1 30 120 0",
"image": "https://obrazki.elektroda.pl/6590760200_1698396978.jpg",
"wiki": ""
}
Comments
Update on this Shawader Smart WiFi Wall Socket The above Shawader Smart Switch is actually imported into Australia under the name of Trojan. Name: Trojan Model No: RY-WS02F Au Cert is SAA-2200058-EA The... [Read more]