-
Notifications
You must be signed in to change notification settings - Fork 1
Understanding basic light concept #7
Description
Hi there,
This post is a bit of a copy of my post for the openhab support in homebridge.
I'm waiting for the developper answer, but it's probably in vacation, so since, I've the exact same behavior when using the HomeKit add-on for openhab, I thought I could also post my question here:
I just want to check if I'm missing something on the concept here.
Let's take the example of a light (in my case, a LED strip with RGB + physical white lights)
I've my LED strip as Thing on OpenHab.
It has 5 channels Power (switch), Color (color), White (dimmer), White2 (dimmer, not used), Program (string) and Program speed (dimmer).
Following the HomeKit add-on documentation, I've added my tags to my items.
My (kind of) surprise is that I end up in HomeKit with 4 accessories (string is not supported), which makes sense based on the documentation, but doesn't to me and based on HomeKit accessory description where everything should be merged in one unique accessory. (For instance, with a native HomeKit light, I've never had to first toggle an accessory switch on to power it, then to use another one to set it's color, another one to set it's white, and so forth).
I understood that grouping could make it work as I thought, but in no way I've been able to make a lighting group work:
Group gStairwayLEDController "Stairway LED Controller" (gLight) [ "Lighting" ]
Switch StairwayLEDController_power "Power" (gStairwayLEDController) [ "Lighting" ] {channel="wifiled:wifiled:XXXXXXXX:power"}
Color StairwayLEDController_color "Color" (gStairwayLEDController) [ "Lighting" ] {channel="wifiled:wifiled: XXXXXXXX:color"}
Dimmer StairwayLEDController_white "White" (gStairwayLEDController) [ "Lighting" ] {channel="wifiled:wifiled: XXXXXXXX:white"}
Is there a way to "merge" those (or at least power, color and white) in one unique accessory or is my only way is to program everything on openhab (ie. if brightness != 0 then power ON, etc.)?
Thanks in advance for your bright light ;)