it seems when i reboot openhab or the innogy-binding, the "channel"s which i use in my rules will be activated.
Does someone hat this issue too?
Rule looks like this:
rule "NAME"
when
Channel "innogysmarthome:ISS2:SMARTHOME01:NUMBER:button2" triggered PRESSED
then
if (FAN-ITEM == ON) {
FAN-ITEM.sendCommand(ON)
WINDOW-ITEM.sendCommand(ON)
WINDOW_Timer = createTimer(now.plusMinutes(WINDOW_TimeOut))
[|
FAN-ITEM.sendCommand(OFF)
WINDOW-ITEM.sendCommand(OFF)
WINDOW_Timer = null
]
}
end
Log:
During the reload of the innogy-items i get such logentries: TIME [INFO ] [smarthome.event.ChannelTriggeredEvent] - innogysmarthome:ISS2:SMARTHOME01:NUMBER:button1 triggered PRESSED
I checked the log during a ‘forced’ restart from my Innogy box and nothing…
What can happen is that your SHC is offline (or can’t be reached) by you OH.
In the mean time you push the button, the counter changes (it’s a counter, not a on/off contact).
Now when your connection is restored (restart of the box) your item gets the new (correct) value from the push-button and OH thinks the button is just pushed.
In my “old” system (running OH2, I’m now using 3) I creatged a virtual-status in the Innogy environment which was toggled every minuted. I called this a ‘heart-beat’. I would monitor that heart-beat in OH and if it wouldn’t change I knew my connection was not working. However, in my current set-up the virtual status are no longer recognized by OH.