Hi,
I would like to change colors on a whole group of lights. This does not seem to work in homeHabit. My Platform is OpenHAB and I’m currently at release 2.5.4.
In the BasicUI, this would look like this:
The code for this in OpenHAB is:
items=
Group:Color:AVG gLight_Livingroom_Color “Livingroom Color”
Color TVLampLivingroomLeft_Color “Livingroom TV Lamp left” (gLight_Livingroom_Color)
Color TVLampLivingroomRight_Color “Livingroom TV Lamp right” (gLight_Livingroom_Color)
Color PlayLivingroomLeft_Color “Livingroom Play Bar left” (gLight_Livingroom_Color)
Color PlayLivingroomRight_Color “Livingroom Play Bar right” (gLight_Livingroom_Color)
Color StripLivingroomCabinetLeft_Color “Livingroom Cabinet Strip left” (gLight_Livingroom_Color)
Color LightLivingroomCabinetRight_Color “Livingroom Cabinet Light right” (gLight_Livingroom_Color)
Color LightLivingroomCouch1_Color “Livingroom Couch Light #1” (gLight_Livingroom_Color)
Color LightLivingroomCouch2_Color “Livingroom Couch Light #2” (gLight_Livingroom_Color)
Color LightLivingroomCouch3_Color “Livingroom Couch Light #3” (gLight_Livingroom_Color)
Color LightLivingroomCouch4_Color “Livingroom Couch Light #4” (gLight_Livingroom_Color)
Color LightLivingroomCouch5_Color “Livingroom Couch Light #5” (gLight_Livingroom_Color)
Color LightLivingroomPiano1_Color “Livingroom Piano Light #1” (gLight_Livingroom_Color)
Color LightLivingroomPiano2_Color “Livingroom Piano Light #2” (gLight_Livingroom_Color)
Color LightLivingroomPiano3_Color “Livingroom Piano Light #3” (gLight_Livingroom_Color)
Color LightLivingroomPiano4_Color “Livingroom Piano Light #4” (gLight_Livingroom_Color)
Color LightLivingroomPiano5_Color “Livingroom Piano Light #5” (gLight_Livingroom_Color)
Color LightLivingroomWall1_Color “Livingroom Wall Light #1” (gLight_Livingroom_Color)
Color LightLivingroomWall2_Color “Livingroom Wall Light #2” (gLight_Livingroom_Color)
Color LightLivingroomWall3_Color “Livingroom Wall Light #3” (gLight_Livingroom_Color)
Color LightLivingroomWall4_Color “Livingroom Wall Light #4” (gLight_Livingroom_Color)
Color LightLivingroomWall5_Color “Livingroom Wall Light #5” (gLight_Livingroom_Color)
Color LightLivingroomWall6_Color “Livingroom Wall Light #6” (gLight_Livingroom_Color)
Color LightLivingroomWall7_Color “Livingroom Wall Light #7” (gLight_Livingroom_Color)
Color LightLivingroomWall8_Color “Livingroom Wall Light #8” (gLight_Livingroom_Color)
default.sitemap=
Text item=Livingroom label=“Livingroom” icon=“light” {
Switch item=gLight_Livingroom_Color label=“Livingroom Lights”
Colorpicker item=gLight_Livingroom_Color label=“Livingroom Light Color”
}
Is there any way, this can be achieved in homeHabit ?
I know colors can be selected for single bulbs (unfortunately, I haven’t quite figured out, how to get a full spectrum color select) and groups of bulbs can be switched and dimmed. But the color group never shows up as an item to bind.
/M