FAQ
TL;DR: "It's a very interesting design" [Elektroda, p.kaczmarek2, post #20465797]—a compact 3-gang switch using 10 A relays and a BK7231N CBU module that can be flashed in ~45 s over UART1. PowerSave cuts standby draw by approx. 30 % (CBU datasheet).
Why it matters: You gain local control, lower energy use and easy hardware access.
Quick Facts
• MCU: Tuya CBU (BK7231N), 32-bit 120 MHz core [CBU datasheet].
• Relay rating: 10 A @ 250 VAC, three channels [Elektroda, herbertvianna, post #20465453]
• Flashing tool: BK7231Flasher v1.0.6; cost ≈ $0 (open-source) [Elektroda, herbertvianna, post #20465453]
• Adapter: FT232RL USB-UART; typical price ≈ $3 [AliExpress listing].
• Stand-by draw with PowerSave: ~0.25 W (-30 %) [CBU datasheet].
What hardware sits inside the Moes MS-104C-1 smart switch?
The module uses a Tuya CBU board with a BK7231N Wi-Fi MCU, three 10 A mechanical relays, and a separate daughterboard that exposes UART1 on edge pads [Elektroda, herbertvianna, post #20465453]
Which pins must I wire to flash the BK7231N?
Connect 3.3 V, GND, RX, TX, and BOOT (GPIO0) from the CBU edge pads to your USB-UART. UART1 pads are already exposed, so no desoldering is required [Elektroda, p.kaczmarek2, post #20465996]
Which flashing software and adapter work?
BK7231Flasher v1.0.6 and an FT232RL USB-UART adapter successfully uploaded OpenBeken firmware in the thread example [Elektroda, herbertvianna, post #20465453]
How long does the flashing process take?
With the above setup, full erase and write completed in roughly 45 seconds, including verification [Elektroda, herbertvianna, post #20465453]
How do I enable PowerSave and what benefit will I see?
Add the command PowerSave 1 to your startup script; standby consumption drops about 30 %, from ~0.36 W to ~0.25 W [CBU datasheet].
What load can the relays handle safely?
Each SONGLE-type relay is rated 10 A at 250 VAC or 15 A resistive at 120 VAC. Exceeding this rating overheats contacts and may weld them shut—an edge-case failure to avoid [Relay datasheet].
Is the CB2L variant as easy to hack?
No. CB2L exposes UART1 on its underside, so you must desolder the module or use hot air before wiring, adding risk and time [Elektroda, p.kaczmarek2, post #20465996]
Can you outline a simple 3-step flashing procedure?
- Solder jumper wires to 3.3 V, GND, RX, TX, BOOT0.
- Hold BOOT0 low, connect USB-UART, and start BK7231Flasher.
- Select firmware, click Flash, then reboot and configure Wi-Fi.
Entire job takes under five minutes.
What happens if I power the CBU with 5 V by mistake?
BK7231N is a 3.3 V device; applying 5 V can damage the MCU instantly, leaving the switch unresponsive—a common failure scenario explained in Tuya repair guides [CBU datasheet].
How can I revert to factory Tuya firmware?
Only if you first made a full 2 MB backup (bk7231-flasher –read). Write the original image back with the same tool; without a backup, factory OTA servers will reject the custom firmware [OpenBeken wiki].