Elektroda.com
Elektroda.com
X
Elektroda.com

LSC Smart LED E27 806 lumen (RGBCW)

Bacto 885 19
  • Hi,

    I got this one for around 8€ at Action in France.

    The SOC used is a BK7231T with a BP5758D.

    The pinout is:
    - P24: clock (BP5758D_CLK)
    - P26: data (BP5758D_DAT)

    Mapping has to be changed: BP5758D_Map 1 0 2 3 4

    LSC Smart LED E27 806 lumen (RGBCW)

    LSC Smart LED E27 806 lumen (RGBCW)

    LSC Smart LED E27 806 lumen (RGBCW)


    Adrien

    Cool? Ranking DIY
    About Author
    Bacto
    Level 3  
    Offline 
    Bacto wrote 8 posts with rating 2, helped 0 times. Been with us since 2022 year.
  • #2
    p.kaczmarek2
    Level 28  
    Thank you for posting. Your device will be added soon to our online database. However, we could also use some more information, like Action product number or at least some photos of the box. It's kinda hard to identify the device just by a generic LED name.

    Also, do you happen to have a flash binary backup (Full 2mb) for Tuya-cloudcutter?
  • #3
    Bacto
    Level 3  
    I do not have the flash backup but I'll buy more.
    Do you have any guide to do it?
    Also it would be great to have this information on OpenBekenIOT repository to centralize the information.
  • #4
    p.kaczmarek2
    Level 28  
    For T chip, use bkWriter and read whole 2MB (better after pairing because it has schema, but it also consists your SSID so you may pair with dummy network)
    For N chip, use hid_download_py (altough.... bkWriter also works for me in that cases), again, full 2MB read.
    I will add this topic to https://github.com/iprak/obj_webapp/blob/devices/devices.json , but as I said, it would be easier to find it when I get more detailed product number or index
  • #5
    starfelicious
    Level 4  
    hi!

    Did you manage to flash OpenBK on this? and if so, do you mind sharing the PIN/Module config with me?

    I have the same, if not very similar bulb here:
    To be precise it's an LSC 2578538-97024 - An RGB E27 806lm bulb.

    I see your settings are referenced in the auto-config, but they don't do anything for me. Mind sharing your Actual module config for this bulb?

    many thanks,
  • #6
    p.kaczmarek2
    Level 28  
    @starfelicious , is your bulb also using BP5758D? Or maybe it has direct PWM inputs?

    You can just try - it won't break anything. First try BP config from the first post, and if it does nothing, just try setting PWM pins. There is a limited number of possible PWM pins on Beken, only 6 possible pins, so it would be easy to guess and check if any of them does anything.
  • #7
    starfelicious
    Level 4  
    p.kaczmarek2 wrote:
    @starfelicious , is your bulb also using BP5758D? Or maybe it has direct PWM inputs?

    You can just try - it won't break anything. First try BP config from the first post, and if it does nothing, just try setting PWM pins. There is a limited number of possible PWM pins on Beken, only 6 possible pins, so it would be easy to guess and check if any of them does anything.


    I can't be 100% sure it is using that BP5758D, but gathering from what i can find online it should be. When i flashed other bulbs, and i needed to figure out the pin config. I just put all the possible PWM pins on REL with 0,1,2,3,4,5. And from there i could deduce what is what. With this bulb that doesn't do anything. So i'm gonna assume it's the same BP5758D

    How would i set that up in the module config though? And what about that mapping "BP5758D_Map" you mention, how does one go about that?

    I got as far as putting P24 on BP5758D_DAT = value 0
    and P26 on BP5758D_CLK = value 0 , but that doesn't do anything.

    thanks man!
  • #8
    p.kaczmarek2
    Level 28  
    Well, how your bulb looks like? Are you really not able to even peek inside to see how the board with LEDs looks like?

    BP5758D_Map is not necessary. It just changes the order of colors, eg. changes the swapped Red and Green channels or Blue and Cool Warm, etc, etc. For testing, you can have any Map or just the default one, at least you should be able to see some colors.

    The important thing to remember would be just to do a reboot after setting BP pins because the driver is not automatically started. So, if you didn;t reboot the device after configuring BP5758, then you really could get no lighting because the driver is not started.
  • #9
    starfelicious
    Level 4  
    p.kaczmarek2 wrote:
    Well, how your bulb looks like? Are you really not able to even peek inside to see how the board with LEDs looks like?

    BP5758D_Map is not necessary. It just changes the order of colors, eg. changes the swapped Red and Green channels or Blue and Cool Warm, etc, etc. For testing, you can have any Map or just the default one, at least you should be able to see some colors.

    The important thing to remember would be just to do a reboot after setting BP pins because the driver is not automatically started. So, if you didn;t reboot the device after configuring BP5758, then you really could get no lighting because the driver is not started.


    Ok good point, I have restarted. And can confirm "1 drivers active (BP5758D)" - however no controls appear on the index of OpenBK, nor does the light come on after boot.

    Still, i am not sure if i have set the PIN or module config correctly.
    This is what i have:

    LSC Smart LED E27 806 lumen (RGBCW)

    Is this correct?

    As far as the bulb goes, this is what i have:

    LSC Smart LED E27 806 lumen (RGBCW)

    LSC Smart LED E27 806 lumen (RGBCW)
  • #10
    p.kaczmarek2
    Level 28  
    If you want controls to appear for BP, then you should check the flag in options, "Always show RGBCW controls" or something like that...
    LSC Smart LED E27 806 lumen (RGBCW)
  • #11
    starfelicious
    Level 4  
    p.kaczmarek2 wrote:
    If you want controls to appear for BP, then you should check the flag in options, "Always show RGBCW controls" or something like that...
    LSC Smart LED E27 806 lumen (RGBCW)


    Yes! that did the trick! fully working now...

    Sorry to be a hassle ;-) kinda new to all of this...

    Once again thanks a bunch for replying so swifty!
  • #12
    p.kaczmarek2
    Level 28  
    No problem. Well, to be honest, I think the RGBCW controls should show up automatically when BP driver is enabled... I may just enable them if any of LED drivers are running.
  • #13
    starfelicious
    Level 4  
    p.kaczmarek2 wrote:
    No problem. Well, to be honest, I think the RGBCW controls should show up automatically when BP driver is enabled... I may just enable them if any of LED drivers are running.


    It would've taken me some time to figure out that option was there, ..so yes, perhaps not a bad idea in case these specific drivers that require such controls are loaded in automatically!

    Either way, mad props for the work you've done!!
    It's so satisfying pulling these devices off the botnet/cloud and gaining full control!!
  • #14
    gravityrz
    Level 2  
    i have the same light

    i did set
    - P24: clock (BP5758D_CLK)
    - P26: data (BP5758D_DAT)

    the light turns on/off and both dimming and white color is working(only when color is set to 255,255,255)
    changing the color however does not work.
    set light to red(255,0,0) but the light turns green
    set light to green(0,255,0) but the light turns red
    set the light to blue(0,0,255) but the light turns blue

    so red and green channel are swapped
    i suspect i need to swap the channels
    how do i do that

    i suspect Mapping has to be changed: BP5758D_Map 1 0 2 3 4
    how do i do that(with instructions on where in the gui
  • #16
    gravityrz
    Level 2  
    tried it but it seems that everything gets unstable
    colors do not work and when i change the temperatrure the light goes out.

    i understand the BP5758D_Map 1 0 2 3 4

    it seems 0 and 1 are not the R and G

    BP5758D_Map 1 0 2 3 4 DID NOT WORK
    BP5758D_Map 0 1 4 3 2 DID NOT WORK
    BP5758D_Map 0 1 2 4 3 DID NOT WORK
    BP5758D_Map 0 1 3 2 4 DID NOT WORK

    even
    BP5758D_Map 0 1 2 3 4 DID NOT WORK

    is there a way to readout the default mapping
    channel 3 seems to be brightness
    channel 4 is temperature

    when i remove the mapping the light works but with red and green swapped

    this is the firmware.
    pulled yesterday and flashed

    Build on Aug 14 2022 10:40:42 version 1.12.30
    Online for 3 minutes and 14 seconds
    Device MAC: 508A06ECB4BF
    Short name: obk06ECB4BF, Chipset BK7231T

    Added after 2 [hours] 19 [minutes]:

    o man
    flashed the latest 1.14 version and now things are working.
    thanks
  • #17
    starfelicious
    Level 4  
    gravityrz wrote:
    tried it but it seems that everything gets unstable
    colors do not work and when i change the temperatrure the light goes out.

    i understand the BP5758D_Map 1 0 2 3 4

    it seems 0 and 1 are not the R and G

    BP5758D_Map 1 0 2 3 4 DID NOT WORK
    BP5758D_Map 0 1 4 3 2 DID NOT WORK
    BP5758D_Map 0 1 2 4 3 DID NOT WORK
    BP5758D_Map 0 1 3 2 4 DID NOT WORK

    even
    BP5758D_Map 0 1 2 3 4 DID NOT WORK

    is there a way to readout the default mapping
    channel 3 seems to be brightness
    channel 4 is temperature

    when i remove the mapping the light works but with red and green swapped

    this is the firmware.
    pulled yesterday and flashed

    Build on Aug 14 2022 10:40:42 version 1.12.30
    Online for 3 minutes and 14 seconds
    Device MAC: 508A06ECB4BF
    Short name: obk06ECB4BF, Chipset BK7231T

    Added after 2 [hours] 19 [minutes]:

    o man
    flashed the latest 1.14 version and now things are working.
    thanks


    Hey nice to see you managed... this had kept me busy for quite some time too!!
  • #18
    gravityrz
    Level 2  
    and another bug which costed me 3 hours
    MQTT does not work when you leave the username and password blank

    i do not use these anywhere(since you already are on the intranet)
    if you fill in a blank space in both fields it works

    now i need to figur out how to get it in domoticz because autodiscovery recognizes it but i can not change the colors
  • #19
    p.kaczmarek2
    Level 28  
    gravityrz wrote:
    and another bug which costed me 3 hours
    MQTT does not work when you leave the username and password blanks

    It is indeed a bug. I apologize for inconvenience.
    I have indeed fixed it in the past:
    https://github.com/openshwprojects/OpenBK7231...mmit/2c3af1f719cb5d52f3a9442bc0ec4439cac1d389
    ... but our team member did a LWIP library update for T platform in order to get more MQTT throughput and increase stability and didn't backport that fix.
    I will re-apply the fix later. It's just those two lines. Easy to do.

    Soon we will change the release system to differentiate between BETA TEST versions and a STABLE RELEASE.
  • #20
    gravityrz
    Level 2  
    thanks
    really like the way this project develops.