gaetancollaud / digitalstrom-mqtt

Bridge between digitalSTROM and MQTT
GNU Affero General Public License v3.0
23 stars 4 forks source link

GE-UMV200 Ledstrip RGBW integration #54

Open djacid opened 5 months ago

djacid commented 5 months ago

Hello, I have an issue. I use HomeAssistant to manage digitalstrom lights. I have already integrated with your project a GE-UMV200 which controls an RGBW ledstrip. As I can see you have posted an example of working configuration for GE-UMV200 based tunable white light device leveraging 3 channels. Do you know how I could achive something similar for my ledstrip?

gaetancollaud commented 5 months ago

Hello,

I personally don't own this device. This documentation was a contribution from @KarlKiel . Maybe he has an idea.

Cheers

KarlKiel commented 5 months ago

Hi, I am using the mqtt light platform: - Unfortunately, this platform does not offer dedicated topics for the different color channels but uses a single topic for the color mode to communicate, therefore you will not be able to directly communicate with the topics of the "color outputs" of the UMV, like I did for "brightness" and "color_temp" in the RGB or RGBW case... So the only way I see that this is going to work is via a small additional script or node-Red flow to create a small programm that exposes a single MQTT topic and translates to/from the original UMV channel topics. - Use this topic for color_mode to create the device according to the description provided in the link above.

KarlKiel commented 5 months ago

Just another short comment - in your case you will also have to use the brightness topic also as switch topic as for RGBW you will need all four outputs of the UMV. See here how this would look like: mqtt: