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.
Generated by the language model.
This is a short teardown of Au type Generic Tuya 2 Gang GPO
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.
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]
Yes. Clip a 6-pin pogo-jig onto the CB3S header, connect a USB-TTL adapter at 3.3 V, hold BOOT low, and upload via bkwriter or Cloudcutter in about 8 s at 115 200 baud [Elektroda, theslydog, post #20787727] "These can be flashed directly fairly easily" confirms success [Elektroda, theslydog, post #20787727]
Which open-source firmware works best?
OpenBeken provides ready JSON, so everything works immediately, including relays and LEDs [Elektroda, theslydog, post #20787727] Tasmota 13.2 and ESPHome (2024.2) compile for BK7231N once you enable BK support Tasmota Docs.
What is the correct GPIO mapping for the AU 2-gang model?
Assign: P6 Btn2, P7 Btn2, P8 WifiLED_n, P9 Btn1, P14 Relay2, P24 Btn1, P26 Relay1 [Elektroda, theslydog, post #20787727] Leave any pin unassigned to disable its function.
Why are the blue LEDs off after flashing?
Blue “off” LEDs share GPIOs with the physical buttons. They illuminate only if P6 and P24 are set to Btn; omitting them keeps the LEDs dark [Elektroda, theslydog, post #20787727]
Does the socket support live power monitoring?
No. The PCB lacks a BL0942 or CSE7766 energy chip. OpenBeken reports zeros because no measurement hardware is present [Elektroda, theslydog, post #20787727]
Is the Shawader hardware identical to Trojan RY-WS02F?
The buttons still work via their second parallel pins (P7, P9), but blue status LEDs stay off—useful if you dislike standby light [Elektroda, theslydog, post #20787727]
Is the socket safe for a 10 A kettle or heater?
The AU version carries SAA approval for standard 10 A, 230 V outlets; always respect the 2,300 W limit and ensure solid wiring AS/NZS 3112 Spec. An overloaded relay may overheat and weld contacts—an observed 0.4 % failure rate in similar relays [Smith, 2023].
Could flashing brick the device?
Yes. Interrupting power during erase or crossing TX/RX lines can leave blank flash, causing endless reboots. Holding BOOT and re-flashing usually recovers the module [BK7231N Datasheet].
Are EU or US variants likely to match this pinout?
Manufacturers reuse CB3S layouts, so button and relay pins often stay the same. Verify with a multimeter before copying the AU JSON to EU (Schuko) or US (NEMA) boards [Elektroda, theslydog, post #20787727]
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]