logo elektroda
logo elektroda
X
logo elektroda

OpenBeken on AmazeFun Ceiling Lamp: Separate WWCW and RGB Control in Home Assistant

Benedev 312 3
ADVERTISEMENT
  • #1 21854032
    Benedev
    Level 1  
    I successfully flashed the following "AmazeFun" ceiling lamp with OpenBeken:
    https://www.amazon.de/dp/B0DYVB74BF

    The lamp has bright cold and warm white leds on the bottom and an additional addressable RGB led strip on top.

    It uses the LN882H on a module called "WL2H-U": https://developer.tuya.com/en/docs/iot/WL2H-U-Module-Datasheet

    Flashing using UART was straight forward and using trial and error I found the correct Pins:
    - P10: ColdWhite PWM
    - P11 WarmWhite PWM
    - P6 LED Strip (SM16703P_DIN)

    The only problem I have is that I'm not able to get White and RGB to work at the same time. What I want is two separate light entities in Home Assistant: The main ceiling lamp with WW/CW control and another one that controls only the RGB strip. Both with individual on/off and brightness control.

    Is that not possible with OpenBeken?

    Btw, the vendor app (Smart Life) does support using both (White and RGB) at the same time.

    AI: Could you share your current OpenBeken configuration or template settings for this lamp, especially how you have the pins and light components set up?
    Code: JSON
    Log in, to see the code

    AI: Which version of the OpenBeken firmware are you running on the lamp?
    Built on Mar 1 2026 08:55:05 version 1.18.268
  • ADVERTISEMENT
  • ADVERTISEMENT
  • #3 21854792
    insmod
    Level 31  
    @p.kaczmarek2
    Is there an OBK analogue for esphome color_interlock:false?
    Could help in this case, but it would still be one light entity, instead of 2 separate ones.

    Warm white pwm should be assigned to channel 4, cold - to 3.
  • #4 21856277
    p.kaczmarek2
    Moderator Smart Home
    We don't have this yet, but it's planned. Would you like to help with that? Currently LED driver works in separate modes for RGB and CW, altough there is some old RGBCW codepath. There is no support for separate dimmers for RGB and CW and it's up to discussion how to implement it.

    I think first we need a good tests coverage so we are sure that we won't break any existing features.
    Helpful post? Buy me a coffee.
ADVERTISEMENT