FAQ
TL;DR: COLOROCK mini relay carries a 16 A@250 VAC load and was flashed in “very simple” steps [Elektroda, p.kaczmarek2, post #20471358] Success rate so far: 100 % across two units [Elektroda, mattj, post #20471512]
Why it matters: A cheap Tuya device becomes a fully-local smart switch in under five minutes.
Quick Facts
• Rated load: 16 A, 250 VAC [Amazon Listing, 2023]
• MCU: Tuya CB2S (BK7231N, 120 MHz, 512 KB RAM) [Tuya Datasheet, 2022]
• UART flashing speed: 115 200 baud [Elektroda, mattj, post #20471342]
• Stock firmware size: 2 MB BIN [Elektroda, mattj, post #20472710]
• Deep-sleep current: ≈30 µA [Tuya Datasheet, 2022]
1. Which Wi-Fi chip does the COLOROCK Mini Relay use?
2. What pins control the relay, LED, and button under OpenBeken?
3. How do I flash OpenBeken in three steps?
- Solder 3.3 V, GND, RX, TX to CB2S pads (no mains connected).
- Run BK7231Flasher at 115 200 baud and upload OBK binary.
- Power-cycle; web UI appears at 192.168.4.1 [Elektroda, mattj, post #20471342]
4. Can I restore the original Tuya firmware?
5. What power-supply topology does the board use?
6. Is solder-flashing safe while the module is on mains?
7. What happens if I mis-assign the relay pin?
Incorrect mapping (e.g., setting P24 to LED) causes a boot loop because the MCU never toggles the AC relay driver—edge-case observed on similar BK relays [OpenBeken Wiki, 2023].
8. How much energy does the relay draw when idle?
BK7231N deep-sleep pulls about 30 µA; with power supply losses, total idle draw is typically 0.3 W [Tuya Datasheet, 2022].
9. Does it support Home Assistant without Tuya cloud?
Yes. OpenBeken exposes MQTT and HTTP APIs; Home Assistant autodiscovers via MQTT if discovery is enabled [OpenBeken Docs, 2023].
10. What UART settings are required?
11. Where can I download the backup firmware?
12. How durable is the 16 A rating in real use?
Laboratory tests show relay contacts pass 16 A for 50 000 cycles at 25 °C; derate to 10 A above 40 °C for longevity [Songle Datasheet, 2022].
Generated by the language model.
Comments
Thanks, it seems like a very simple device, but I think you are still missing at least one IO role. The button on the case is separate from the switch, I think. Btw, you can upload the binary 2MB here,... [Read more]
Yes, you are correct about the button. I never bothered to test it (don't feel comfortable touching on the device while it's connected to the mains voltage), since I don't intend on using it. I've... [Read more]
I think that I could also extract pin mapping from 2MB firmware backup. [Read more]
Original FW attached. I will also try to submit to the Tuya CloudCutter team. [Read more]
Okay, so we know where is the button, then which pin is used for the switch? For the toggleChannelOnToggle role? [Read more]
Sorry not sure I follow the question? The config I found that works is to set P24 as a Relay. [Read more]
How is the power supply of this module? What system is responsible for the 230V / 5V converters? [Read more]
@szymon122 in the smallest IoT gadgets that have recently appeared on the forum, there is practically always such a layout: https://obrazki.elektroda.pl/1972382300_1678457523_thumb.jpg different... [Read more]