(I’m using OH2, build number 596 at the moment)
I can’t seem to get any rules to fire, period. For example, I have one of the Aeon minimotes, and I’ve configured the item in habmin as follows:
I then defined a rule:
rule OfficeMinimote
when
Item office_minimote_scene changed to 8
then
logError("TestingRules", "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!test!")
end
I have my log settings turned up (shortened list):
openhab> log:list
Logger | Level
-------------------------------------------------------------------
ROOT | WARN
TestingRules | DEBUG
org.openhab.binding.zwave | DEBUG
org.eclipse.smarthome | DEBUG
I then activate scene 8, and from the log (also shortened):
15:30:55.195 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 24: Updating channel state zwave:device:home:node24:scene_number to 8 [DecimalType]
15:30:55.201 [INFO ] [marthome.event.ItemStateChangedEvent] - office_remote_scene changed from 7 to 8
… and that’s it. The rule doesn’t fire. I’ve also tried with the received update
syntax and the rule still doesn’t fire. The testing string is never appended to the log.
I’ve also confirmed that the rules were indeed refreshed:
15:28:23.145 [INFO ] [el.core.internal.ModelRepositoryImpl] - Refreshing model 'home.rules'
15:28:23.339 [INFO ] [el.core.internal.ModelRepositoryImpl] - Refreshing model 'home.rules'
What am I missing here?