Hi,
since some time I have some problems with my rule execution.
The rules it self are working as expected, but after some time they are not performed any longer until I “touch” or edit them and OH is refreshing the rule.
I was running openHAB 2.2.0 Release Build on a raspberry 2B, but also on 2.3.0 I have the same Problem.
… maybe its the Hardfware so I changed to a Laptop with latest Debian OS and restored my config.
Any suggestions if there is a better way to debug than just set “log:set DEBUG” and dont be flooded with messages?
This is one of the affected rule:
rule "sz_r"
when
Item sz_r_sw changed
then
if (sz_r_sw.state == "0") {
sz_r.sendCommand(0) }
else if (sz_r_sw.state == "1") {
sz_r.sendCommand(65) }
else if (sz_r_sw.state == "2") {
sz_r.sendCommand(80) }
else if (sz_r_sw.state == "3") {
sz_r.sendCommand(100) }
end
My 2 Items
Rollershutter sz_r "rollershutter" <rollershutter> (OnChange) { channel="homematic:HM-LC-Ja1PBU-FM:b016bc8b:OEQ2653679:1#LEVEL" }
String sz_r_sw "Settings" <rollershutter> (OnChange)
2018-12-07 14:38:12.053 [ome.event.ItemCommandEvent] - Item 'sz_r_sw' received command 0
2018-12-07 14:38:12.063 [vent.ItemStateChangedEvent] - sz_r_sw changed from 2 to 0
2018-12-07 14:38:20.213 [ome.event.ItemCommandEvent] - Item 'sz_r_sw' received command 1
2018-12-07 14:38:20.220 [vent.ItemStateChangedEvent] - sz_r_sw changed from 0 to 1
2018-12-07 14:38:22.850 [ome.event.ItemCommandEvent] - Item 'sz_r_sw' received command 0
2018-12-07 14:38:22.856 [vent.ItemStateChangedEvent] - sz_r_sw changed from 1 to 0