logo elektroda
logo elektroda
X
logo elektroda
ADVERTISEMENT
  • 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 5. Been with us since 2022 year.
  • ADVERTISEMENT
  • #2 20239681
    p.kaczmarek2
    Moderator Smart Home
    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?
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #3 20239780
    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 20239948
    p.kaczmarek2
    Moderator Smart Home
    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
    Helpful post? Buy me a coffee.
  • #5 20258463
    starfelicious
    Level 5  
    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,
  • ADVERTISEMENT
  • #6 20258490
    p.kaczmarek2
    Moderator Smart Home
    @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.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #7 20258510
    starfelicious
    Level 5  
    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 20258541
    p.kaczmarek2
    Moderator Smart Home
    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.
    Helpful post? Buy me a coffee.
  • #9 20258552
    starfelicious
    Level 5  
    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 20258570
    p.kaczmarek2
    Moderator Smart Home
    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)
    Helpful post? Buy me a coffee.
  • #11 20258577
    starfelicious
    Level 5  
    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 20258587
    p.kaczmarek2
    Moderator Smart Home
    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.
    Helpful post? Buy me a coffee.
  • #13 20258613
    starfelicious
    Level 5  
    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 20264489
    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
  • #15 20264498
    p.kaczmarek2
    Moderator Smart Home
    Please enter this command in "Short startup command" field, you can find that in Options.
    LSC Smart LED E27 806 lumen (RGBCW)
    Then save and RESTART device.
    Helpful post? Buy me a coffee.
  • #16 20264558
    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 20266228
    starfelicious
    Level 5  
    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 20266230
    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 20266336
    p.kaczmarek2
    Moderator Smart Home
    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.
    Helpful post? Buy me a coffee.
  • #20 20266706
    gravityrz
    Level 2  
    thanks
    really like the way this project develops.

Topic summary

The discussion revolves around the LSC Smart LED E27 806 lumen (RGBCW) bulb, specifically its configuration and flashing with OpenBK firmware. Users share their experiences with the BK7231T chip and BP5758D driver, detailing pin configurations and mapping adjustments necessary for proper color control. Issues such as swapped color channels and MQTT connectivity bugs are addressed, with solutions provided for flashing the firmware and configuring the device settings. Users emphasize the importance of rebooting after configuration changes and the need for specific commands to enable RGBCW controls. The conversation highlights the collaborative effort to document and troubleshoot the device within the OpenBekenIOT community.
Summary generated by the language model.
ADVERTISEMENT