Elektroda.com
Elektroda.com
X
  • A very cheap E27 smart bulb. Bought at Action store at around 4 euro in NL, article number 3000272.
    Overall quality is good enough considering the item price. I use it in hallways, storage room, toilet etc.
    LSC Smart E27 806lm CW - BK7231T LSC Smart E27 806lm CW - BK7231T
    Opening the light is pretty easy. If you have some experience opening devices, you can easily pry it open en glue it back together without damage.
    LSC Smart E27 806lm CW - BK7231T LSC Smart E27 806lm CW - BK7231T
    I use a 9mm thin blade, see picture. Slide the blade between the 'transparent' plastic and the base of the light. And keep turning the bulb in your hand, while you use the other hand to push the blade further into the bulb. It might take some time and force before you notice the top of bulb will loosen up. Just try to tilt the transparent piece after every other turn. Eventually it will separate from it's base.
    LSC Smart E27 806lm CW - BK7231T LSC Smart E27 806lm CW - BK7231T
    When you've separated the bulb. You have to remove the LED board. Remove the glue around the board with a screwdriver and a sharp blade. I use a little metal hook that I've bend into an L-shape to pull out the LED board. Keep removing glue until it will pop out. Pull it out straight otherwise you'll damage the pins that hold the board to the base of the bulb.
    LSC Smart E27 806lm CW - BK7231T LSC Smart E27 806lm CW - BK7231T
    Finally, remove the metal cap at the bottom of the bulb with a sharp balde or screwdriver. It's not screwed in or glued, just pull it out.
    You'll see a little metal wire. Carefully bend it to the center of the bulb, into the hole.
    LSC Smart E27 806lm CW - BK7231T LSC Smart E27 806lm CW - BK7231T
    Now that you've loosen the the metal wire at the bottom. You can pull out the main PCB of the bulb a little bit, for 5 to 10mm.
    When the sticker on the chip is removed. I found a BK7231T.
    LSC Smart E27 806lm CW - BK7231T LSC Smart E27 806lm CW - BK7231T
    On the bottom of the PCB you'll find the pins you need for flashin. They are clearly marked. The TX and RX are small but with a steady hand and your soldering iron, you'll manage to attach some wires.
    LSC Smart E27 806lm CW - BK7231T LSC Smart E27 806lm CW - BK7231T
    Flash it with your USB UART flashing device and set pin 24 as PWM value 4 (CW) and pin 16 as PWM value 5(WW).
      - platform: mqtt
        name: "obk06B22AC7"
        unique_id: "obk06B22AC7"
        command_topic: "cmnd/obk06B22AC7/led_enableAll"
        state_topic: "obk06B22AC7/led_enableAll/get"
        availability_topic: "obk06B22AC7/connected"
        payload_on: 1
        payload_off: 0
        brightness_command_topic: "cmnd/obk06B22AC7/led_dimmer"
        brightness_scale: 100
        brightness_state_topic: "obk06B22AC7/led_dimmer/get"
        brightness_value_template: "{{value}}"
        color_temp_command_topic: "cmnd/obk06B22AC7/led_temperature"
        color_temp_state_topic: "obk06B22AC7/led_temperature/get"
        retain: false
    This is the YAML configuration I use in HA.
    LSC Smart E27 806lm CW - BK7231T LSC Smart E27 806lm CW - BK7231T
    The light shows up as I expect in the HA GUI.
    Put everything back together in reverse order. Glue back the transparent top of the bulb, and you're done.

    Happy flashing!

    Cool? Ranking DIY
    About Author
    Tych0
    Level 6  
    Offline 
    Tych0 wrote 15 posts with rating 13. Been with us since 2022 year.
  • #3
    Tych0
    Level 6  
    Thx. Yes I'm aware of the Cloud Cutter capabilities and for sure it might be able to program your firmware on the device.
    But what's the fun of that :-) I enjoy opening up these devices desolder modules (if needed) and programming better firmware as a hobby.
  • #5
    ACCel
    Level 22  
    Thanks for more information, they have a set of 3 garden lamps RGB + W for PLN 89, which is quite a nice price, they also have a smart spotlight with a motion sensor. You will have to find a store nearby and test it.

    Added after 1 [minutes]:

    Heh, I did not expect elektroda has some auto translation features :)
  • #6
    p.kaczmarek2
    Moderator Smart Home
    Let me know when you buy, photos from inside / tearedown topic is also well known, maybe even a small gift from Electrode could be found for you.

    I am curious how this motion sensor works, but it will probably also be able to run.

    And autotranslate is, although it does need some manual corrections.
  • #7
    gulson
    System Administrator
    If you can do a teardown of what's in Action, I'll send you some electrode gifts :)
    Thank you!
  • #8
    pitron
    Level 24  
    If someone does not want to flash, he can integrate this bulb via tuya, you have to build a project on iot.tuya.com. and add it in the tuya app will detect it without any problem. Apparently, the lsc app is a tuya clone.

    PS
    I use at Home Assistant with lsc rgb bulbs, sockets, sirens and garden lamps.
  • #9
    C0br4
    Level 2  
    I'm buying this bulb a lot and it always came with a esp8266 which I quickly flashed to tasmota. Now they silently changed the chipset to BK7231T and I thought I have to buy much more expensive bulbs to still use opensource software. Luckily i found a worthy replacement firmware that runs on these chips, I was just missing the pin config. Happy that I found it finally, thanks alot.

    I have a spotted a small typo though. You write pin 16 is PWM, I think it should be 26.
  • #10
    p.kaczmarek2
    Moderator Smart Home
    It is indeed 26. The pin 16 does not even support PWM function.

    Why do you think they "silently changed the chipset to BK7231T"?
  • #11
    C0br4
    Level 2  
    My guess would be cost reduction, probably the Beken chips are a few cents or fractions of a cent cheaper than the Espressif chips
  • #12
    gulson
    System Administrator
    Maybe it's about licensing problems?
  • #13
    TheExperimentator
    Level 1  
    Thanks for the nice writeup!

    Since I bought the same ones (3000272-970716) also in NL my small comment is that flashing directly using Tuya Cloudcutter works perfectly so no need to open the bulb anymore!
    There is one difference in my setup because I have to use: Pin 24: PWM 1, Pin 26: PWM 2.
    With your I cannot control the bulb at all, was there some other PWM's you set?

    Thanks for MQTT config! Works perfectly.
  • #14
    starfelicious
    Level 5  
    TheExperimentator wrote:
    Thanks for the nice writeup!

    Since I bought the same ones (3000272-970716) also in NL my small comment is that flashing directly using Tuya Cloudcutter works perfectly so no need to open the bulb anymore!
    There is one difference in my setup because I have to use: Pin 24: PWM 1, Pin 26: PWM 2.
    With your I cannot control the bulb at all, was there some other PWM's you set?

    Thanks for MQTT config! Works perfectly.


    Hi there, i have a very similar bulb, 2000273 instead of 2000272 - it's basically the same bulb but with 1400 instead of 800ish Lumen...

    After some searching around, from what i gather on the tasmota website for reference, the pin numbers etc seem to be exactly the same for these two.

    3000272 = https://templates.blakadder.com/lsc_smart_connect_3000272.html

    3000273 = https://templates.blakadder.com/lsc_smart_connect_3000273.html

    So i managed to do the flash properly, the device is running smoothly on OpenBK, however i cannot get the bulb to do anything for the life of me. I have tried some different combinations of configs. I tried the exact settings as the opening post (P24 = PWM = 4, and P26 = PWM = 5)
    as well as your suggestion of setting PWM to 1 and 2. No results.

    Any chance youd have an idea what else i can try here? It seems i'm well under way seeing i succesfully got OpenBK running on the bulb..just now to get it to actually turn on ^^
  • #15
    p.kaczmarek2
    Moderator Smart Home
    Beken chips have 6 possible PWM pins. Have you checked them all? Is your device CW?

    If none of PWM combinations are working, then you might have a bulb with a dedicated LED driver chip with a variation of I2C protocol.
  • #16
    starfelicious
    Level 5  
    p.kaczmarek2 wrote:
    Beken chips have 6 possible PWM pins. Have you checked them all? Is your device CW?

    If none of PWM combinations are working, then you might have a bulb with a dedicated LED driver chip with a variation of I2C protocol.


    Yes, it's a CW device...

    I did notice this as well, the config page states that "BK7231N/BK7231T supports PWM only on pins 6, 7, 8, 9, 24 and 26!"

    How would i go about testing the other 'pins' ...do i use the exact same values for the pins in combination with the PWM value?

    Sorry if i'm asking daft questions, i'm kinda new to this OpenBK stuff ^^
  • #17
    p.kaczmarek2
    Moderator Smart Home
    Well... the simplest way... would be to try setting 6, 7, 8, 9 24 and 26 to "Relay" role and give each of them a separate channel, 6 will be channel 0, 7 channel 1, 8 channel 2, 9 channel 3, 24 channel 4, 26 channel 5... of course remove all PWMs. Then try enabling channel 0 (on WWW GUI)... see if anything happens... then try enabling channel 1... etc etc....
    NOTE: do not enable all channels at once, because in some rare cases (like RGBCW bulbs) turning all colors 100% bright may overheat LEDs.
  • #18
    starfelicious
    Level 5  
    p.kaczmarek2 wrote:
    Well... the simplest way... would be to try setting 6, 7, 8, 9 24 and 26 to "Relay" role and give each of them a separate channel, 6 will be channel 0, 7 channel 1, 8 channel 2, 9 channel 3, 24 channel 4, 26 channel 5... of course remove all PWMs. Then try enabling channel 0 (on WWW GUI)... see if anything happens... then try enabling channel 1... etc etc....
    NOTE: do not enable all channels at once, because in some rare cases (like RGBCW bulbs) turning all colors 100% bright may overheat LEDs.


    Aaaah, i see what you did there. That actually got me somewhere...

    Turned out, 7 and 8 (once on channel 1 and 2) did the trick. One switched on full white, the other switches on full warm/yellow.

    Removed all the others, and worked with 7 and 8 only on channel 1 and 2. That worked however the controls seemed reversed (warm = cold, cold = warm) ...so i changed it to:


    LSC Smart E27 806lm CW - BK7231T

    So basically reversed the channels, and VOILA , everything works as expected!!

    I'm learning here, thanks a lot man for your swift and VERY helpful feedback...
  • #19
    piotrdobron
    Level 2  
    Hey, I uploaded to the bulb 1.12.19 on the AP everything works perfectly.
    After adding to the HA generated yaml by OPENBK, I can't do automation on this bulb.
    Bulb not showing in devices. Is it possible to add it by Mosquitto broker so that it searches for devices and entities at once?
  • #20
    p.kaczmarek2
    Moderator Smart Home
    @piotrdobron which HA version? Maybe you need to add Unique ID or Entity ID?
  • #21
    piotrdobron
    Level 2  
    p.kaczmarek2 wrote:
    @piotrdobron which HA version? Maybe you need to add Unique ID or Entity ID?

    Dziękuję za podpowiedz.
    Po wgraniu OpenBK7231T_UA_1.15.213 wszystko zaczęło działać aż miło tylko z PWM inne ustawienia niż w tutorialu!