logo elektroda
logo elektroda
X
logo elektroda

[BK7231N] COLOROCK Mini Smart Relay WiFi Switch 16A

mattj 
Hey all -

Yet another small in-wall relay. Looks very similar on the outside to the Aubess model, but it seems with a different board (so I figured it was worth it's own thread.)

Product URL: https://www.amazon.com/dp/B08RBNG2TX?psc=1&ref=ppx_yo2ov_dt_b_product_details


Chip: CB2S (BK7231N) https://developer.tuya.com/en/docs/iot/cb2s-module-datasheet?id=Kafgfsa2aaypq

Flashing:


Simple enough to flash, solder directly to the Tuya chip (no need to disconnect). Use BK7231Flasher at a 115200 Baud Rate.

I have a copy of the original firmware backup, not sure if that would be helpful / where to upload.



OpenBeken Config:
  "pins": {
    "8": "LED;0",
    "24": "Rel;0"
  },

About Author
mattj wrote 42 posts with rating 16 , helped 3 times. Been with us since 2022 year.

Comments

p.kaczmarek2 05 Mar 2023 19:54

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]

mattj 05 Mar 2023 21:20

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]

p.kaczmarek2 06 Mar 2023 10:58

I think that I could also extract pin mapping from 2MB firmware backup. [Read more]

mattj 06 Mar 2023 17:06

Original FW attached. I will also try to submit to the Tuya CloudCutter team. [Read more]

p.kaczmarek2 08 Mar 2023 09:58

Okay, so we know where is the button, then which pin is used for the switch? For the toggleChannelOnToggle role? [Read more]

mattj 10 Mar 2023 02:51

Sorry not sure I follow the question? The config I found that works is to set P24 as a Relay. [Read more]

szymon122 11 Mar 2023 13:32

How is the power supply of this module? What system is responsible for the 230V / 5V converters? [Read more]

p.kaczmarek2 11 Mar 2023 16:08

@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]