FAQ
TL;DR: 150+ Tuya Wi-Fi products are flashable with Cloudcutter [“Tuya-Cloudcutter”, 2023]; “flash once, configure forever,” says p.kaczmarek2 [Elektroda, p.kaczmarek2, post #20466798] The CB2S switch runs a BK7231N SoC and accepts OpenBeken in roughly three minutes. Why it matters: Local firmware ends cloud dependence and boosts privacy.
Quick Facts
• Chipset: Beken BK7231N [Elektroda, giovannij600, post #20465634]
• Rated load: 16 A @ 250 VAC, 50/60 Hz [AliExpress Listing]
• Unit price: ≈ US $5 in 10-piece lots [AliExpress Listing]
• Flashing time: approx. 3 min with Cloudcutter [Elektroda, giovannij600, post #20465634]
• GPIO map: Relay GPIO8, LED GPIO7, Buttons GPIO10/26 [Elektroda, giovannij600, post #20465634]
What microcontroller is inside the Generic Wi-Fi Smart Switch?
The board uses a Beken BK7231N microcontroller module (CB2S) [Elektroda, giovannij600, post #20465634]
How do I flash OpenBeken using Tuya Cloudcutter?
- Run sudo ./tuya-cloudcutter.sh -p aubess-16a-mini-smart-switch -f OpenBK7231N_UG_1.15.517.bin. 2. Wait until Cloudcutter injects the payload. 3. Re-connect power; the device now hosts the OpenBeken AP [Elektroda, giovannij600, post #20465634]
Which GPIO pins control the relay, LED, and buttons?
Relay: GPIO8; Status LED (active-low): GPIO7; Push-button: GPIO10; S1/S2 header button: GPIO26 [Elektroda, giovannij600, post #20465634]
Why did S1 and S2 initially fail to work?
They were mapped to wrong roles; assigning GPIO26 as Button corrected the issue [Elektroda, giovannij600, post #20465807]
Where can I copy a ready JSON template?
Open the OpenBeken Web Application, click Launch, choose “Copy JSON,” then paste it into your forum post using syntax=json tags [Elektroda, p.kaczmarek2, post #20467175]
What are the electrical limits of the switch?
The listing specifies 16 A at up to 250 VAC, equal to 4 kW resistive load [AliExpress Listing].
Can I revert to the stock Tuya firmware?
Yes. Back up the original image during Cloudcutter; re-flash via UART if needed. Without a backup, restoration is impossible [“Tuya-Cloudcutter”, 2023].
What is a common edge-case after flashing?
Wrong pin roles can engage the relay permanently, heating the load and risking failure [Elektroda, p.kaczmarek2, post #20465815]
How many devices does Cloudcutter currently support?
The project lists more than 150 officially tested Tuya devices [“Tuya-Cloudcutter”, 2023].
Does OpenBeken work without internet?
Yes. After flashing, all control and MQTT functions operate locally; zero outbound connections are required [OpenBeken Docs, 2023].
What happens if power is lost during flashing?
An interrupted write can brick the bootloader; recovery then needs a 3.3 V UART and bkwriter tool [OpenBeken Docs, 2023].
Are there alternative modules for similar projects?
ESP8266-based ESP-01S or ESP8285-based TYWE3L offer similar Wi-Fi control but have lower RAM than BK7231N [Espressif Datasheet, 2022].