Hi everybody,
I don’t know why I’m struggling so hard with openhab but currently I am trying to create some scenes.
In my Sitemap I created the following ITEM
Frame label="Szenen"{
Switch item=Szene_Good_Morning label="Good Morning" icon="solarplant"
}
Now my rule looks like
rule "Szene Good Morning"
when
Item Szene_Good_Morning changed
then
Light_EG_Wohnzimmer_UBoot.sendCommand(ON)
end
I’m sure that my command works as the following rule works perfectly fine:
rule "Trigger Test"
when
Time cron "0 * * * * ?"
then
Light_EG_Wohnzimmer_UBoot.sendCommand(ON)
createTimer(now.plusSeconds(5)) [| Light_EG_Wohnzimmer_UBoot.sendCommand(OFF) ]
end
It doesn’t matter if I say
Item Szene_Good_Morning changed
or
Item Szene_Good_Morning changed to ON
Why? Any hints?
Thanks in advance!