Hello,
After couple months of putting my Openhab project on hold, I am starting again. I bought couple of smart switches and also motion sensor. I can control them, all good.
Now I am trying to create a very basic rule. If motion detected in Kitchen, turn on light. But for whatever reason, OH does not seem to even try to execute the rule, looks like it is not triggered. But according to the logs, the motion is detected.
Here are the rule and logs:
Rule “Motion Detected”
when
Item Kitchen_Motion changed from OFF to ON
then
logInfo(“Motion Detected in Kitchen”)
Kitchen_Ceiling_Dimmer.sendCommand(ON)
end
2019-10-31 21:32:05.874 [vent.ItemStateChangedEvent] - zwave_serial_zstick_d5988ecb_serial_sof changed from 429 to 430
2019-10-31 21:32:05.902 [vent.ItemStateChangedEvent] - Kitchen_Temperature changed from 69 to 68.7
2019-10-31 21:32:06.031 [vent.ItemStateChangedEvent] - zwave_serial_zstick_d5988ecb_serial_sof changed from 430 to 431
2019-10-31 21:32:06.841 [vent.ItemStateChangedEvent] - zwave_serial_zstick_d5988ecb_serial_sof changed from 431 to 432
2019-10-31 21:32:06.906 [vent.ItemStateChangedEvent] - zwave_serial_zstick_d5988ecb_serial_sof changed from 432 to 433
2019-10-31 21:32:07.029 [vent.ItemStateChangedEvent] - zwave_serial_zstick_d5988ecb_serial_sof changed from 433 to 434
2019-10-31 21:32:07.064 [vent.ItemStateChangedEvent] - zwave_serial_zstick_d5988ecb_serial_sof changed from 434 to 435
2019-10-31 21:32:10.824 [vent.ItemStateChangedEvent] - zwave_serial_zstick_d5988ecb_serial_sof changed from 435 to 436
2019-10-31 21:32:11.144 [vent.ItemStateChangedEvent] - zwave_serial_zstick_d5988ecb_serial_sof changed from 436 to 437
2019-10-31 21:32:11.155 [vent.ItemStateChangedEvent] - Kitchen_Motion changed from OFF to ON
Any idea on what am I doing wrong?