logo elektroda
logo elektroda
X
logo elektroda

Teardown of a Smart Life Curtain (Shutter) switch, Flashing, Configuring and setting up with HA

richardsg307 10353 32
ADVERTISEMENT
📢 Listen (AI):
  • #31 21752581
    p.kaczmarek2
    Moderator Smart Home
    Can you also copy paste a JSON for us - either from Tuya config (Tuya json) or OBK template?

    Added after 13 [seconds]:

    We need it for this page: https://openbekeniot.github.io/webapp/devicesList.html
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #32 21752890
    Romanusss
    Level 5  
    >>21752581

    Hello,

    Sure, please find the JSON,

    Code: JSON
    Log in, to see the code


    Added after 17 [minutes]:

    >>21752890

    Hi again,

    The only thing I can't change is the color of the physical LED button, it stay blue and change to red in action.
    I've tried to do in autoexec.bat but it seems to only handle logical button into OpenBeken and not the physical ones.

    Do you have any idea?
  • #33 21758553
    Acefx
    Level 9  
    heyyy long time since we discussed.
    @p.kaczmarek2 any news about a proper driver in C for the covers ?

    I'm now migrating on home Assistant, and the 3 relays discovery isn't the best integration.
    Do you know how we could have a native integration with Homeassistant discovery ?
    Real cover entitie
    Wifi and uptime information
    Led Off/ON preference ?

    I have 23 cover in here to migrate... quite a pain with a yaml trick to transform it ;-)


    All the best
📢 Listen (AI):

Topic summary

The discussion centers on the teardown, flashing, and integration of the Smart Life DS-151 N+L WiFi+BLE curtain (shutter) switch featuring a BK7231T processor and WB3S board, originally intended for local control via Local Tuya and Home Assistant (HA). The device is a 4-wire mains actuator with earth, neutral, and two live wires for open/close functions. Users explored flashing the device with OpenBeken firmware as an alternative to Tasmota, aiming for local control and MQTT integration. Key challenges include implementing a dedicated shutter driver with relay control for up/down/stop commands, timing-based position control, and preventing simultaneous relay activation to avoid motor damage. The community discussed autoexec.bat scripting for relay timing and button handling, MQTT command limitations, and the need for multiple MQTT entities (open, stop, close) to enable proper HA automation. Some users reported issues with physical button behavior and rapid relay switching, resolved by adjusting delays and stop commands in scripts. Suggestions include developing a C-based shutter driver compatible with Tasmota commands, testing with real shutter hardware, and improving MQTT command handling for safer and more precise shutter control. The discussion also covers the importance of physical motor end stops, relay channel management, LED indicators, and integration nuances between OpenBeken and HA MQTT topics. Users shared experiences flashing similar devices like Etersky WF-CS01 and Teekar CBS03 modules, emphasizing the need for clear autoexec.bat placement and configuration. Overall, the thread provides a detailed technical roadmap for converting Smart Life curtain switches to locally controlled, MQTT-integrated devices using OpenBeken firmware with community-driven driver development and scripting enhancements.
Summary generated by the language model.
ADVERTISEMENT