logo elektroda
logo elektroda
X
logo elektroda

Flashing LSC Smart Digital LED Strip RGBIC 2x5m (3008407) with OpenBeken

w2q 1221 10
ADVERTISEMENT
  • #1 21328660
    w2q
    Level 4  
    LSC Smart Digital RGBIC LED strip lighting up in various colors, next to exposed electronic circuit boards.
    I flashed the RGBIC LED Strip "LSC Smart Digital LED Strip 2x5m", part no. 3008407 from Action via tuya-cloudcutter to Openbeken. The board-name is "K225P14-V1.2 2022.06.02".
    Circuit board with electronic components, including a connector, microphone, and an integrated circuit.
    On the sticker of the board box one can read: "6125000200 JH H22922 ... RGB 2700K-6500K Wi-Fi:2.4GHz-802.11b/g/n"



    Here are my settings:

    
    {
      "vendor": "LSC",
      "bDetailed": "0",
      "name": "Smart Digital LED Strip RGB WW CW 2x5m 2.4GHz",
      "model": "Action 3008407",
      "chip": "BK7231N",
      "board": "K225P14",
      "flags": "16",
      "keywords": [
        "SM16703P",
        "MOSI",
        "pixelanim",
        "addressable",
        "microphone",
        "strip lights",
        "buttons",
        "infra-red",
        "RGBIC"
      ],
      "pins": {
        "6": "Btn_Tgl_All;0",
        "7": "Btn_SmartLED;0",
        "9": "PWM;5",
        "16": "SM16703P_DIN;0",
        "23": "ADC;0",
        "24": "PWM;4",
        "26": "IRRecv;0"
      },
      "command": "backlog PowerSave 1",
      "image": "https://obrazki.elektroda.pl/8926668700_1733097091.jpg",
      "wiki": "https://www.elektroda.com/rtvforum/viewtopic.php?p=21328660"
    }
    


    Autoexec.bat:

    
    startDriver SM16703P
    SM16703P_Init 60 RGB
    startDriver PixelAnim
    SM16703P_Start
    





    Further reading:

    https://www.elektroda.com/rtvforum/topic4036716.html#20966201


    https://www.elektroda.com/rtvforum/topic3935979.html

    https://www.elektroda.com/rtvforum/topic4056861.html#21099246
  • ADVERTISEMENT
  • #2 21336636
    w2q
    Level 4  
    I also tried to activate the remote control that is shipped with this device. At first this was not successful, I only received "IR_UNKNOWN" in the logs.
    Eventually I tried to deactivate the PowerSave mode, and now it works!

    This is my autoexec.bat now:

    
    PowerSave 0 // otherwise IR won't work
    startDriver SSDP
    startDriver Wemo // for Alexa
    startDriver SM16703P // LED Driver
    SM16703P_Init 60 RBG // Red Blue Green
    startDriver PixelAnim // Animation
    
    
    SM16703P_Start
    led_enableAll 1
    ct 500
    led_dimmer 50
    
    
    addEventHandler2 IR_NEC 0xEF00 0x1f led_enableAll 1
    addEventHandler2 IR_NEC 0xEF00 0x1e led_enableAll 0
    addEventHandler2 IR_NEC 0xEF00 0x0 led_basecolor_rgb #FF0000
    addEventHandler2 IR_NEC 0xEF00 0x8 led_basecolor_rgb #FD6D02
    addEventHandler2 IR_NEC 0xEF00 0x1 led_basecolor_rgb #00FF00
    addEventHandler2 IR_NEC 0xEF00 0x2 led_basecolor_rgb #0000FF
    addEventHandler2 IR_NEC 0xEF00 0xd led_basecolor_rgb #FFFFFF
    
    addEventHandler2 IR_NEC 0xEF00 0x4 led_basecolor_rgb #F63602
    addEventHandler2 IR_NEC 0xEF00 0x5 led_basecolor_rgb #99E0E0
    addEventHandler2 IR_NEC 0xEF00 0x6 led_basecolor_rgb #00ebff
    addEventHandler2 IR_NEC 0xEF00 0x9 led_basecolor_rgb #007716
    addEventHandler2 IR_NEC 0xEF00 0xa led_basecolor_rgb #8d00ff
    addEventHandler2 IR_NEC 0xEF00 0xC CT 500
    addEventHandler2 IR_NEC 0xEF00 0x1 led_basecolor_rgb #00FF00
    addEventHandler2 IR_NEC 0xEF00 0xE CT 0
    
    addEventHandler2 IR_NEC 0xEF00 0x1c add_dimmer 10
    addEventHandler2 IR_NEC 0xEF00 0x1d add_dimmer -10
    addEventHandler2 IR_NEC 0xEF00 0xf led_nextColor
    addEventHandler2 IR_NEC 0xEF00 0x13 led_nextColor
    addEventHandler2 IR_NEC 0xEF00 0x3 Anim 0
    addEventHandler2 IR_NEC 0xEF00 0x7 Anim 1
    addEventHandler2 IR_NEC 0xEF00 0xB Anim 2
    
    setChannel 30 10
    AnimSpeed $CH30
    
    alias increaseSpeed backlog addChannel 30 1 ; AnimSpeed $CH30
    alias decreaseSpeed backlog addChannel 30 -1 ; AnimSpeed $CH30
    addEventHandler2 IR_NEC 0xEF00 0x12 increaseSpeed
    addEventHandler2 IR_NEC 0xEF00 0x10 decreaseSpeed
    addChangeHandler Channel30 > 10 setChannel 30 10
    addChangeHandler Channel30 < 0 setChannel 30 0
    



    I'll also add the configuration template because the command line has changed:

    
    {
      "vendor": "Action",
      "bDetailed": "0",
      "name": "LSC Smart Digital LED Strip RGB WW CW 2x5m 2.4GHz",
      "model": "3008407",
      "chip": "BK7231N",
      "board": "on PCB",
      "flags": "16",
      "keywords": [
        "SM16703P",
        "MOSI",
        "pixelanim",
        "addressable",
        "microphone",
        "strip lights",
        "buttons",
        "infra-red",
        "RGBIC",
        "K225P14"
      ],
      "pins": {
        "6": "Btn_Tgl_All;0",
        "7": "Btn_SmartLED;0",
        "9": "PWM;5",
        "16": "SM16703P_DIN;0",
        "23": "ADC;0",
        "24": "PWM;4",
        "26": "IRRecv;0"
      },
      "command": "",
      "image": "https://obrazki.elektroda.pl/8926668700_1733097091.jpg",
      "wiki": "https://www.elektroda.com/rtvforum/viewtopic.php?p=21328660"
    }
    



    My suggestion would be to deactive the PowerSave mode within the IR-Library if any signal at the IR-Pin is received, and reactivate if no signal has been received for more than 5 seconds. Perhaps somebody who is involved in the IR-Library could implement this some day.
  • ADVERTISEMENT
  • #4 21350994
    jeroenvtec
    Level 6  
    thanks for the effort and info, I have this ledstrip and did update and now it is working fine. But how can I make my own led light plan? for example a nightrider effect. How to draw/program this in an app, thx.
  • ADVERTISEMENT
  • #5 21351101
    w2q
    Level 4  
    >>21350994
    I guess you'll have to program it on your own in
    src/driver/drv_pixelAnim.c

    Perhaps you can adapt the Knight Rider simulation from here:
    https://github.com/Electriangle

    Added after 4 [hours] 49 [minutes]:

    >>21350994

    Just an idea for future development:
    If OpenBeken understood the Art-Net Protocol, one probable could control the LED strip by a DMX-Software like qlcplus. That would be really cool...

    https://www.qlcplus.org/
    https://tasmota.github.io/docs/ArtNet/
    https://en.m.wikipedia.org/wiki/Art-Net
  • #6 21352484
    jeroenvtec
    Level 6  
    ah thx, will look into it.
    So it seems more challenging than it first looks to have openbeken on it.
  • #7 21355053
    w2q
    Level 4  
    >>21352484

    Found another protocol these seems to be already implemented: DDP.

    https://www.elektroda.com/rtvforum/topic4040325.html

    Via this protocol, the LED strip might be controllable for example by xlights:
    https://xlights.org/

    I haven't tried yet but this seems promising.

    Added after 3 [hours] 16 [minutes]:

    >>21355053

    Just another idea:
    The WLED-project
    https://kno.wled.ge/
    runs a controller software on an ESP and speaks DDP as well as ArtNet.
    https://mm.kno.wled.ge/advanced/ddp/
    By this the LEDstrip might be controllable via QLCplus or even by APP:

    https://play.google.com/store/apps/details?id=ca.cgagnier.wlednativeandroid

    https://apps.apple.com/us/app/wled-native/id6446207239
  • ADVERTISEMENT
  • #8 21357387
    jeroenvtec
    Level 6  
    thanks for the tips, xlights seems not to run on my I think recent laptop, complains about opengl 1.x update your driver.

    Wled looks what I was expecting, does it replace the openbeken controller it now has or do I have to add another esp to translate ?
    (direct connection to ip with ddp on does not detect it)
  • #9 21358204
    w2q
    Level 4  
    >>21357387
    Concerning WLED I would think you'll have to take an ESP32 that is flashed with WLED and this one sends its signals to the openbeken device. But I must admit I haven't tried it.

    But I was able to get xlights running, see the following videos:









    Here are the corresponding files: xlightsKni...tRider.zip Download (6.6 kB)

    I hope this works for you as well.
  • #10 21358782
    jeroenvtec
    Level 6  
    Thank you very much with another laptop (non nvidia version) AND your video demonstration I got it also working!! (indeed don't miss the output button :P)
    I will inform here how wled is doing when the esp32 arrives here. I also will try it on the 10m version. I have to figure out the leds / channel length.

Topic summary

The discussion revolves around flashing the LSC Smart Digital LED Strip (2x5m, part no. 3008407) to OpenBeken using tuya-cloudcutter. Users share their experiences with configuring the device, including enabling remote control functionality by disabling PowerSave mode. Various settings and scripts for controlling the LED strip are provided, including the use of drivers for SSDP, Wemo, and SM16703P. Participants also explore programming custom light effects, such as the Knight Rider effect, and discuss potential integration with protocols like DDP and Art-Net for enhanced control via software like xlights and QLCplus. Some users report successful implementations and share resources for further experimentation with WLED and ESP32 controllers.
Summary generated by the language model.
ADVERTISEMENT