I’m trying to merge my openHab from version 1.8 to version 2.
It works great except the rules.
It seems that the rule is never called!
The rule just looks exactly the same as in 1.8 and it works fine.:
rule "Night Modus"
when
Item Scene_Nacht changed to ON
then
sendCommand(Logik_Jalousie_Nacht, OFF)
sendCommand(Logik_Jalousie_Nacht_Flur, OFF)
sendCommand(Scene_Nacht, OFF)
Try to see if the rule gets triggered in the logs by adding a logInfo statement:
rule "Night Modus"
when
Item Scene_Nacht changed to ON
then
logInfo("Test","Scene_Nacht received ON ")
sendCommand(Logik_Jalousie_Nacht, OFF)
sendCommand(Logik_Jalousie_Nacht_Flur, OFF)
sendCommand(Scene_Nacht, OFF)
end
I am not familiar with openHABian, so I am not 100% sure where it keeps the OH2 log files…(I think that it’s using an apt based setup)… did you check /var/log/openhab2/ directory?
Tip: I usually have one ssh session open to my system doing only: