logo elektroda
logo elektroda
X
logo elektroda

Exploring BK7231N/CB2S TUYA WiFi Intelligent Curtain Switch: Teardown, Flashing, and Configuration

obersdoog 2643 6
ADVERTISEMENT
  • #1 20535452
    obersdoog
    Level 1  
    https://www.tomtop.com/p-s6563-6.html

    TUYA WiFi Curtain Switch - or - a 2 Gang Switch

    Photos:
    Exploring BK7231N/CB2S TUYA WiFi Intelligent Curtain Switch: Teardown, Flashing, and Configuration Exploring BK7231N/CB2S TUYA WiFi Intelligent Curtain Switch: Teardown, Flashing, and Configuration Exploring BK7231N/CB2S TUYA WiFi Intelligent Curtain Switch: Teardown, Flashing, and Configuration

    Teardown:
    Exploring BK7231N/CB2S TUYA WiFi Intelligent Curtain Switch: Teardown, Flashing, and Configuration Exploring BK7231N/CB2S TUYA WiFi Intelligent Curtain Switch: Teardown, Flashing, and Configuration

    Flashed with: https://github.com/openshwprojects/OpenBK7231T_App
    V1.0.3
    Exploring BK7231N/CB2S TUYA WiFi Intelligent Curtain Switch: Teardown, Flashing, and Configuration

    Config:
    Exploring BK7231N/CB2S TUYA WiFi Intelligent Curtain Switch: Teardown, Flashing, and Configuration Exploring BK7231N/CB2S TUYA WiFi Intelligent Curtain Switch: Teardown, Flashing, and Configuration

    PinRoleChannelNote
    7TglChanOnTgl / Btn1S1
    8TglChanOnTgl / Btn2S2
    10WifiLED_n0-
    24Rel1L1
    26Rel2L2


    Edit: Config added

    {
    "vendor": "Tuya",
    "bDetailed": "0",
    "name": "Tuya Wifi Curtain Module",
    "model": "Wifi Curtain Module",
    "chip": "BK7231N, CB2S",
    "board": "DL-0602S",
    "flags": "1024",
    "keywords": [
    "Curtain module",
    "2 gang",
    "switch"
    ],
    "pins": {
    "7": "TglChanOnTgl;1",
    "8": "TglChanOnTgl;2",
    "10": "WifiLED_n;0",
    "24": "Rel;2",
    "26": "Rel;1"
    },
    "command": "",
    "image": "https://obrazki.elektroda.pl/5709759800_1681245233.png",
    "wiki": "https://www.elektroda.com/rtvforum/topic3971239.html"
    }
  • ADVERTISEMENT
  • #2 20535785
    p.kaczmarek2
    Moderator Smart Home
    Thanks. It is also worth to add the name from the PCB - DL-0602S
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #3 20551593
    xmisterhu
    Level 2  
    I have a few of these devices, since it's dirt cheap at one of the sellers now, and I wanted to use some of them as a dual relay switch with esphome. However, if both relays are active, the device reboots after a few minutes, even without load. My first assumption is it might be overheating in that scenario, but that seems weird without any load. Does anyone have an idea if it's something that might be easy to fix?
  • ADVERTISEMENT
  • #4 20551595
    p.kaczmarek2
    Moderator Smart Home
    Does it reboot if you power the device from your external 5V power supply? The power supply might not have enough current capability to run two relays.

    Flash OpenBeken and enable PowerSave 1 mode, maybe in that case it could work.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #5 20552944
    xmisterhu
    Level 2  
    You were right, in case of an external power supply it has no problem sustaining the 2 relays. Although they are still getting a bit hot over time without load.

    I would really like to keep using esphome, as it suits my use-case better. (My code running on the device itself, while still being able to check HA sensors)

    Is it possible to replace the PSU with a better one? Or would that add too much cost? I was thinking of rather going with Aubess 2-gang relays, as they are also pretty cheap, but it would be nice to "fix" these as well.
  • #6 20553609
    xmisterhu
    Level 2  
    I did test with OpenBeken and powersave, and it actually helped. So I went on to open a PR for esphome to implement powersave there as well.

    Thank you for the help.
  • #7 21371580
    lostinblue37
    Level 1  
    Hi all,
    Someone has the dump of the original firmware ?

Topic summary

The discussion revolves around the BK7231N/CB2S TUYA WiFi Intelligent Curtain Switch, focusing on its teardown, flashing with OpenBK7231T_App, and configuration. Users share experiences with the device, noting issues with overheating and rebooting when both relays are active, even without load. Suggestions include using an external power supply to mitigate rebooting issues and implementing PowerSave mode via OpenBeken to improve performance. One user expresses interest in replacing the power supply for better reliability and considers alternative relay options. A pull request for integrating PowerSave into ESPHome was also mentioned.
Summary generated by the language model.
ADVERTISEMENT