Elektroda.com
Elektroda.com
X

[BK7231N] COLOROCK Mini Smart Relay WiFi Switch 16A

mattj 747 8
  • 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
    [BK7231N] COLOROCK Mini Smart Relay WiFi Switch 16A [BK7231N] COLOROCK Mini Smart Relay WiFi Switch 16A

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

    Flashing:
    [BK7231N] COLOROCK Mini Smart Relay WiFi Switch 16A [BK7231N] COLOROCK Mini Smart Relay WiFi Switch 16A [BK7231N] COLOROCK Mini Smart Relay WiFi Switch 16A [BK7231N] COLOROCK Mini Smart Relay WiFi Switch 16A [BK7231N] COLOROCK Mini Smart Relay WiFi Switch 16A

    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.

    [BK7231N] COLOROCK Mini Smart Relay WiFi Switch 16A

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

    Cool? Ranking DIY
    About Author
    mattj
    Level 6  
    Offline 
    mattj wrote 28 posts with rating 10. Been with us since 2022 year.
  • #2
    p.kaczmarek2
    Moderator Smart Home
    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, as an attachment.
  • #3
    mattj
    Level 6  
    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 got a second one here (not yet flashed) and I'll see if I can trace the pin for the button.

    Edit: the button seems to go back to the TX1 pin (based on my multimeter) - haven't tested it though.
  • #7
    mattj
    Level 6  
    Sorry not sure I follow the question? The config I found that works is to set P24 as a Relay.
  • #8
    szymon122
    Level 38  
    How is the power supply of this module? What system is responsible for the 230V / 5V converters?
  • #9
    p.kaczmarek2
    Moderator Smart Home
    @szymon122 in the smallest IoT gadgets that have recently appeared on the forum, there is practically always such a layout:
    [BK7231N] COLOROCK Mini Smart Relay WiFi Switch 16A
    different bones are used but always something like this.
    Sometimes I still come across small flyback power supplies (in slightly larger e.g. "smart" sockets/light switches) with feedback taken from the primary side without an optocoupler.