I have purchased some tuya ceiling lights that are really 2 lights in 1. There is and rgb LED strip that goes around the light and creates like a halo and there is a separate CCT LED strip that points straight down. Both of these lights are controlled from the same beken chip. I have flashed openBK on it and I am attempting to integrate it with home assistant.
The issue I am having is that the integration pulls in one MQTT light entity. Which for the most part is ok except if I want to have both the RGB and CCT LEDs on at the same time. I was able to do that with the native tuya app before I flashed it so I assume it is doable.
Currently if I select an RGB color, the halo turns on and I am able to set the brightness. If I then select a CCT color, the halo turns off and the white light turns on at the same brightness I just had the halo at.
I have attempted to make custom MQTT Light entities in my config.yaml file instead of using the auto discover feature. So I attempted to make one entity for the RGB and one for the CCT. Which I was able to make, but it wasnt much better. The same thing happens but just with 2 entities now. If turn on the CCT light and then go to the RGB light and select a color, the CCT turns off and halo comes on with that color.
Within the openBK web app, I am able to control the channels, essentially control the pins directly that control both the RGB and CCT LEDs. If I play with those, I am able to have both lights on. So I know it can be accomplished. I am just having a hard to doing it with MQTT and the available topics. There is an MQTT topic that I can use to control the channels individually. but it would be one at a time, I can only pass one channels value per MQTT message. So as a potential work around I am trying to figure out how I can grab the last values of the channels and have a script change each channel to those values. not sure yet if that can be accomplished but that is my current Idea.
these are the commands (MQTT topics) I have to work with:
If anyone has any ideas or has dealt with this before any help is appreciated!
TLDR: RGB LED and CCT LED is controlled by the same chip. Home assistant thinks its one LED strip. So things like brightness and power are shared across both LEDs. How can I get the controls separated even though its one chip controlling them. Using MQTT Light entities