Group:String item for Philips Hue Alert?

Hello,
I am currently integrating my Philips Hue bulbs into Openhab. I got it all up and running, also figured out the groups and nested groups.

For example, my lamp in the dining room has 4 bulbs. I figured out how the groups have to be done. all groups, but the one for the alert.

How do I have to define a group for the alert? It should be of type Group:String, I guess?

Group:Switch:OR(ON,OFF) gDiningRoomOnOff "Esszimmer An/Aus" (gGroundFloorOnOff)
Group:Dimmer:MAX gDiningRoomDimmer "Esszimmer Dimmer" (gGroundFloorDimmer)
Group:Color:OR(ON,OFF) gDiningRoomColor "Esszimmer Farbe" (gGroundFloorColor)
Group:Dimmer:MAX gDiningRoomColorTemp "Esszimmer Farbtemperatur" (gGroundFloorColorTemp)
Group:Switch:OR(ON,OFF) gDiningRoomColorLoop "Esszimmer Farbschleife" (gGroundFloorColorLoop)

Switch LightDiningRoom1_OnOff "EZ1 An/Aus" (gDiningRoomOnOff) { channel="hue:0210:001788636e1a:10:color" }
Dimmer LightDiningRoom1_Dimmer "EZ1 Dimmer" (gDiningRoomDimmer) { channel="hue:0210:001788636e1a:10:color" }
Color LightDiningRoom1_Color "EZ1 Farbe" (gDiningRoomColor) { channel="hue:0210:001788636e1a:10:color" }
Dimmer LightDiningRoom1_ColorTemp "EZ1 Farbtemperatur" (gDiningRoomColorTemp) { channel="hue:0210:001788636e1a:10:color_temperature" }
String LightDiningRoom1_Alert "EZ1 Alarm" { channel="hue:0210:001788636e1a:10:alert" }
Switch LightDiningRoom1_ColorLoop "EZ1 Farbschleife" (gDiningRoomColorLoop) { channel="hue:0210:001788636e1a:10:effect" }

Switch LightDiningRoom2_OnOff "EZ2 An/Aus" (gDiningRoomOnOff) { channel="hue:0210:001788636e1a:9:color" }
Dimmer LightDiningRoom2_Dimmer "EZ2 Dimmer" (gDiningRoomDimmer) { channel="hue:0210:001788636e1a:9:color" }
Color LightDiningRoom2_Color "EZ2 Farbe" (gDiningRoomColor) { channel="hue:0210:001788636e1a:9:color" }
Dimmer LightDiningRoom2_ColorTemp "EZ2 Farbtemperatur" (gDiningRoomColorTemp) { channel="hue:0210:001788636e1a:9:color_temperature" }
String LightDiningRoom2_Alert "EZ2 Alarm" { channel="hue:0210:001788636e1a:9:alert" }
Switch LightDiningRoom2_ColorLoop "EZ2 Farbschleife" (gDiningRoomColorLoop) { channel="hue:0210:001788636e1a:9:effect" }

Switch LightDiningRoom3_OnOff "EZ3 An/Aus" (gDiningRoomOnOff) { channel="hue:0210:001788636e1a:18:color" }
Dimmer LightDiningRoom3_Dimmer "EZ3 Dimmer" (gDiningRoomDimmer) { channel="hue:0210:001788636e1a:18:color" }
Color LightDiningRoom3_Color "EZ3 Farbe" (gDiningRoomColor) { channel="hue:0210:001788636e1a:18:color" }
Dimmer LightDiningRoom3_ColorTemp "EZ3 Farbtemperatur" (gDiningRoomColorTemp) { channel="hue:0210:001788636e1a:18:color_temperature" }
String LightDiningRoom3_Alert "EZ3 Alarm" { channel="hue:0210:001788636e1a:18:alert" }
Switch LightDiningRoom3_ColorLoop "EZ3 Farbschleife" (gDiningRoomColorLoop) { channel="hue:0210:001788636e1a:18:effect" }

Switch LightDiningRoom4_OnOff "EZ4 An/Aus" (gDiningRoomOnOff) { channel="hue:0210:001788636e1a:17:color" }
Dimmer LightDiningRoom4_Dimmer "EZ4 Dimmer" (gDiningRoomDimmer) { channel="hue:0210:001788636e1a:17:color" }
Color LightDiningRoom4_Color "EZ4 Farbe" (gDiningRoomColor) { channel="hue:0210:001788636e1a:17:color" }
Dimmer LightDiningRoom4_ColorTemp "EZ4 Farbtemperatur" (gDiningRoomColorTemp) { channel="hue:0210:001788636e1a:17:color_temperature" }
String LightDiningRoom4_Alert "EZ4 Alarm" { channel="hue:0210:001788636e1a:17:alert" }
Switch LightDiningRoom4_ColorLoop "EZ4 Farbschleife" (gDiningRoomColorLoop) { channel="hue:0210:001788636e1a:17:effect" }

Best Regards
Bernd

Well, I figured it out by myself:
You can just define a Group:String without aggregation!

In items file:

Group:String gDiningRoomAlert "Esszimmer Alarm"

In sitemap file:

Switch item=gDiningRoomAlert mappings=[NONE="None", SELECT="Alert", LSELECT="Long Alert"]

Unfortunately, the 4 bulbs in the lamp do not flash in sync :frowning:

Hi @Bernd_Ritter,

I am glad you found a solution. The Hue binding uses asynchronous requests to trigger commands for lights on the Hue REST API. Meaning if you have 4 bulbs in your OH group it send 4 requests in a row towards Hue API. I am afraid that as long as the binding does not support the native groups from Hue APP there will never be a chance to synchronize the flashing - or even switching them at the same moment. There will always be a gap.