Hi Jens,
there are two ways using openHAB with scenes:
1. Switching KNX-Scenes wich are configured in your KNX-Components - In my installation i use DALI (another BUS specialized in Light installations) which is adapted to KNX by a DALI-Gateway. Each Halogen-NV Power-Supply is dimmable so it there are many channels to adjust in order to activate the desired atmosphere. I decided to store the different Dimming-Levels into the KNX-Componentes to be more failsafe. In openHAB i created a Selection which switches the different scenes. It looks like:
items: Number Scene_LivingRoom "Scenes" <sofa> { knx="17.001:x/y/z" }
sitemap: Selection item=Scene_LivingRoom mappings=[7=Off, 8=TV, 12=Dinner, 13=Cleaning]
2. Using openHAB as Scene-Value-Storage - In this case you would create a rule (with some scripts probably) an let openHAB adjust the desired Dimming-Levels one-by-one. This would look like this:
items: Number Scene_LivingRoom "Scenes" <sofa>
sitemap: Selection item=Scene_LivingRoom mappings=[7=Off, 8=TV, 12=Dinner, 13=Cleaning]
rule "Activate Scene Dinner LivingRoom"
when
Item Scene_LivingRoom received command 12
then
sendCommand(Light_Table, 80)
sendCommand(Light_TV_Corner, OFF)
...
end
...
Hope this helps,
Thomas E.-E.