logo elektroda
logo elektroda
X
logo elektroda

LSC Smart Digital LED Strip (2x5m RGBCW): BK7231N, SM16703P Chipsets, IR Receiver & More

Bacto 10059 83
ADVERTISEMENT
  • #61 21132679
    divadiow
    Level 34  
    ok. just sure be sure, you've tried a different browser/incognito etc? no JS blocking add-on or anything? (assuming JS is required for the buttons)
  • ADVERTISEMENT
  • #62 21133979
    marcolueck1976
    Level 7  
    So, after hours of try'n'error i bring it back to work!
    Don't ask me what i've done, can not say what brings it back. Speed option works clean.
    The only problem i have is:
    If i set first cw or ww and then activate the "Rainbow" effect this works but the white LEDs stays on. I have to activate RGB Mode first, then the white LEDs toggles to off.
    I think these should toggle off if RGB is toggle on.
    Now here are my actually settings.
    User interface for controlling LED lighting with various configuration options. Screenshot of the Tuya device configuration interface showing LED settings. Screenshot of a configuration file editor showing the file /autoexec.bat with saved start commands for drivers.


  • #63 21139358
    marcolueck1976
    Level 7  
    >>21131094would be great. Is there an option to start them from homeassistant? if I first enable the LED with Rainbow, the white LED toggles also to on so that RGB, WW, and CW are on. So I have to set RGB to a color and activate rainbow, then only RGB works.
  • #64 21140185
    p.kaczmarek2
    Moderator Smart Home
    marcolueck1976 wrote:
    So, after hours of try'n'error i bring it back to work!
    Don't ask me what i've done, can not say what brings it back. Speed option works clean.

    I have no idea either, but it works ok now?

    marcolueck1976 wrote:

    If i set first cw or ww and then activate the "Rainbow" effect this works but the white LEDs stays on. I have to activate RGB Mode first, then the white LEDs toggles to off.
    I think these should toggle off if RGB is toggle on.

    Oops, you are right, sorry:
    Circuit simulation in OpenBeken with WS2812 LED strip.
    I will try to fix it now
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #65 21140208
    marcolueck1976
    Level 7  
    >>21140185
    works, had no problems with the controller.

    I'm looking forward to it! Thank you :-)
  • #66 21140227
    p.kaczmarek2
    Moderator Smart Home
    Ok can you try latest version, do OTA?
    Screenshot of a GitHub repository page showing a list of folders and files for the openshwprojects project.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #67 21140281
    marcolueck1976
    Level 7  
    >>21140227
    I've made an OTA update to version 1.17.630, now it works with CW and WW, PWM 5 at Pin 24, PWM 4 at Pin 9 works for me. but if I will toggle off while PixelAnim is playing the LEDs stay on, only stop moving. to toggle off I have first set to RGB or white, then I can toggle off. it seems PixelAnim makes a pause because if I toggle on again the PixelAnim starts from the position it stops before.

    Maybe there is an error at my pins ?

    Code: Text
    Log in, to see the code
  • ADVERTISEMENT
  • #68 21140306
    p.kaczmarek2
    Moderator Smart Home
    I see, one futher check was missing. Please OTA and retry, is the new version better?
    Helpful post? Buy me a coffee.
  • #69 21140361
    marcolueck1976
    Level 7  
    Perfect! I can find no errors, switch from everything to everything works perfectly with version 1.17.632.
    Thank you very much!



  • #70 21140365
    p.kaczmarek2
    Moderator Smart Home
    Now, you've asked how to invoke animations from HA?
    The most basic way to do it is to call the Anim (with space and index) command via, for example, MQTT:
    See how to execute commands:
    https://github.com/openshwprojects/OpenBK7231T_App/blob/main/docs/mqttTopics.md
    You can make a button in HA and it will change animations accordingly.
    Helpful post? Buy me a coffee.
  • #71 21140366
    divadiow
    Level 34  
    great demo! cool it's all working. well done @p.kaczmarek2 !
  • #72 21140537
    marcolueck1976
    Level 7  
    >>21140365
    So it doesn't work...

    Code: JSON
    Log in, to see the code


    I don't understand the topics, maybe you can explain it for me.
  • #73 21140602
    p.kaczmarek2
    Moderator Smart Home
    I think you want to use topic:
    
    cmnd/wohnzimmer_spiegel/Anim
    

    with payload 0, 1 or 2.
    Helpful post? Buy me a coffee.
  • #74 21140977
    marcolueck1976
    Level 7  
    p.kaczmarek2 wrote:

    cmnd/wohnzimmer_spiegel/Anim with payload 0, 1 or 2.

    This works fine for testing, can use all 3 effects and can toogle off/on in Homeassistant, great :-)
    User interface with five function icons.
  • #75 21140981
    p.kaczmarek2
    Moderator Smart Home
    How did you create buttons, can you share yaml?
    Helpful post? Buy me a coffee.
  • #76 21140987
    marcolueck1976
    Level 7  
    >>21140981
    Of course, i think they are not beautiful, but theye are working.

    Code: YAML
    Log in, to see the code

    Im think about buttons for brightness ans speed, what are there the options ?
  • #77 21141082
    p.kaczmarek2
    Moderator Smart Home
    Wait, brightness? Brightness should be already visible thanks to our Hass Discovery which already works for RGBCW lights (non-animated ones, but still). Are you saying that it's missing? There may be more things to fix.
    Or maybe you haven't done simple hass discovery yet?
    Helpful post? Buy me a coffee.
  • #78 21141098
    marcolueck1976
    Level 7  
    >>21141082
    Sorry :-/ 

    I think I need this....

    Code: YAML
    Log in, to see the code
  • #79 21141173
    p.kaczmarek2
    Moderator Smart Home
    This is old style Yaml, we also have a new HASS discovery:



    I am, however, not sure how well it works with per pixel LED strips. They should be currently visible as a single light.
    Helpful post? Buy me a coffee.
  • #80 21160553
    marcolueck1976
    Level 7  
    I think these were the same. The Pins are the same.

    Code: HTML, XML
    Log in, to see the code
  • #81 21163610
    marcolueck1976
    Level 7  
    Hi there! I'm testing with this strip and wled because I broke one controller.
    So I want to build a new controller with an esp8266 D1 mini.

    Colour is working perfect but I can't get the white channels working (gpio 12).
    If I connect the pins to the ESP (gpio 13 & 15) they are both on but I can not control them and the esp becomes very very warm.

    Do you have a tip for me ?

    Close-up of an LED strip with pins labeled with colors and descriptions: +24V VCC, D0, GND, CW, CC.

    Thank you !

    Greetings

    Marco
  • #82 21163637
    p.kaczmarek2
    Moderator Smart Home
    You can't power C/W LEDs that way. You need to use the LED driver chips/transistors that were on the device PCB. Transistors are needed because ESP8266 does not have enough pin current capability (nor the voltage) to power such LEDs.

    Sample schematic from google (not verified, you may also need a pulldown):
    Circuit diagram with NPN transistor and LEDs.
    Helpful post? Buy me a coffee.
  • #83 21163649
    marcolueck1976
    Level 7  
    >>21163637

    I threw it away :-(
  • #84 21177167
    p.kaczmarek2
    Moderator Smart Home
    I think there are many cheap MOSFETs that could do the job, but they may often be in SMD package and you would need to solder it on a proto board.
    Helpful post? Buy me a coffee.

Topic summary

The discussion revolves around the LSC Smart Digital LED Strip, specifically the 2x5m RGBCW model featuring BK7231N and SM16703P chipsets. Users are exploring the functionality and control of the RGB and white channels, with a focus on integrating the strip with OpenBeken firmware. Initial challenges included driver compatibility for the SM16703P chipsets, which were compared to WS2812 timings. Progress was made in developing drivers, and users expressed willingness to test new configurations. The conversation also touched on issues with color control, PWM settings, and the need for proper scripting to achieve desired effects. Users shared scripts and troubleshooting tips, while some reported successful integration with Home Assistant for remote control.
Summary generated by the language model.
ADVERTISEMENT