OpenHAB for light scenes

2,866 views
Skip to first unread message

Jens Kutzsche

unread,
Feb 29, 2012, 12:37:13 AM2/29/12
to openhab
Hi,

I've learned from you that I should use KNX decentral when it is
possible. I toy with the idea yet to use OpenHAB for light scenes and
a Gira interface as light scene substation. Is this a good idea or
should I use a dedicated light scene sensor?

Best regards
Jens

Thomas Eichstädt-Engelen

unread,
Feb 29, 2012, 3:51:42 AM2/29/12
to ope...@googlegroups.com
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.
Reply all
Reply to author
Forward
0 new messages