Hi all,
I'm a newbee. I've isolated my problem to not understanding motion sensors. I have a event node tied to a zigbee motion sensor. The event node is simply tied to a debug node so I can tell when it's triggered. With motion the event node is triggered, however when additional motion takes place the debug node is not triggered. I don't have any exceptions checked as below.
Take into account all motion sensors have a 'reload' time, often by default 1 minute before regaining the no-motiion state. Varies from one manufacturer to another and in some cases, but not many, can be adjusted.
I do get an off message after 1 minute. l'm starting to think of the minute as a refractory period during which the motion detector will not respond to motion. I'm using a sonoff snzb-03 motion detector.
Thanks for your help.
If there is no movement then it will turn off after 1 minute, however if there is movement the refractory period will increase so that it will go off later.
It is still responding to motion, in the sense that the state is still 'ongoing motion'. You have to build your flow using that concept. Motion start - no event means that movement is still (possibly intermittently) continuing - Motion ended. If you need to know every time there is any motion, even if it is only a few seconds since the last event, then you need a different sensor.
Thanks for your help. I believe I understand now how it works. It seems a bit strange. I think I will simply set stoptimer for the time I want the light on which will be greater than the refractory period. I might restart the timer when the state off triggers from the sensor. That will extend the time by 1 minute. Then the trigger on state can occur again.