logo elektroda
logo elektroda
X
logo elektroda

OpenBeken Flashing (WIP), Teardown of [BK7231N/SM2335EGH] Ledeply Smart Bulb 5W A15 RGBCW

mattj 1284 6
ADVERTISEMENT
  • #1 20458591
    mattj
    Level 9  
    Hey all -

    Teardown and (WIP) flashing of OpenBeken.

    Amazon link: https://www.amazon.com/dp/B08TBZK6KF?psc=1&ref=ppx_yo2ov_dt_b_product_details

    OpenBeken Flashing (WIP), Teardown of [BK7231N/SM2335EGH] Ledeply Smart Bulb 5W A15 RGBCW

    Chip: CBLC9 https://developer.tuya.com/en/docs/iot/cblc9-module-datasheet?id=Ka42cqnj9r0i5

    Notice there is a "SM2335EGH" chip on the LED board. (Been unable to find a datasheet.)

    Update: I jumped right into this without realizing that OpenBeken doesn't seem to have support for the SM2335 model (but it does support SM2135 and SM2235). Perhaps this is something which can be added?
    Tasmota does appear to support it: https://github.com/arendst/Tasmota/blob/devel...tasmota/tasmota_xlgt_light/xlgt_09_sm2335.ino
    <-- the SM2235 driver appears to work!

    Instructions:
    (1) Tuya Cloud Cutter worked using the following profile:
    oem-bk7231n-light-ty-1.3.21-sdk-2.3.3-40.00

    (2) Update pin config
    P7 --> SM2235DAT
    P26 --> SM2235CLK

    (3) Run a command via the WebApp to remap channels
    SM2235_Map 2 1 0 4 3


    OpenBeken Flashing (WIP), Teardown of [BK7231N/SM2335EGH] Ledeply Smart Bulb 5W A15 RGBCW OpenBeken Flashing (WIP), Teardown of [BK7231N/SM2335EGH] Ledeply Smart Bulb 5W A15 RGBCW OpenBeken Flashing (WIP), Teardown of [BK7231N/SM2335EGH] Ledeply Smart Bulb 5W A15 RGBCW OpenBeken Flashing (WIP), Teardown of [BK7231N/SM2335EGH] Ledeply Smart Bulb 5W A15 RGBCW OpenBeken Flashing (WIP), Teardown of [BK7231N/SM2335EGH] Ledeply Smart Bulb 5W A15 RGBCW OpenBeken Flashing (WIP), Teardown of [BK7231N/SM2335EGH] Ledeply Smart Bulb 5W A15 RGBCW OpenBeken Flashing (WIP), Teardown of [BK7231N/SM2335EGH] Ledeply Smart Bulb 5W A15 RGBCW
  • ADVERTISEMENT
  • #2 20458955
    p.kaczmarek2
    Moderator Smart Home
    I can add support for SM2335 right away, can you help with testing?

    We already have a flexible shared I2C-like library for that kind of chips.

    Added after 28 [minutes]:

    @Matt_J can you check SM2235 driver? Just try to run it?
    I am asking because they look very, very similar... they are the same.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #3 20462859
    mattj
    Level 9  
    I had that same thought... but it doesn't seem to be working with that driver. (Unless I have something configured incorrectly.)

    OpenBeken Flashing (WIP), Teardown of [BK7231N/SM2335EGH] Ledeply Smart Bulb 5W A15 RGBCW
  • ADVERTISEMENT
  • #4 20462862
    p.kaczmarek2
    Moderator Smart Home
    Are you sure that you got SDA and SCL indexes correctly?
    Helpful post? Buy me a coffee.
  • #5 20462897
    mattj
    Level 9  
    I feel dumb :) I must have misread the traces. Got it working now with one exception. The CCT temp bar is reversed of the UI - is there a flag for this? The slider works, but WW --> CW and the reverse.

    OpenBeken Flashing (WIP), Teardown of [BK7231N/SM2335EGH] Ledeply Smart Bulb 5W A15 RGBCW

    Will update the top post with the proper pin mappings.
  • #6 20462975
    p.kaczmarek2
    Moderator Smart Home
    There is no need for an option to reverse it, because you can just swap the Cool and Warm indices in the SM2225_Map command (or whatever it was called). The same goes for PWM-based bulbs - then you can just change channel indices.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT

Topic summary

The discussion revolves around the teardown and flashing of the Ledeply Smart Bulb 5W A15 RGBCW using OpenBeken firmware. The user initially noted that OpenBeken does not support the SM2335EGH chip, although it supports SM2135 and SM2235. A participant offered to add support for the SM2335 and suggested testing the SM2235 driver, which was found to be similar. After some troubleshooting regarding SDA and SCL connections, the user successfully configured the bulb, although they encountered an issue with the color temperature slider being reversed. A solution was provided to swap the Cool and Warm indices in the SM2235_Map command, resolving the issue.
Summary generated by the language model.
ADVERTISEMENT