Motion sensors, node red, and HA

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.


I thought the sensor would fire anytime motion is detected. What am I missing?
TIA,
Steve

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.

After you get a motion detected event, if you wait, do you get an end of motion event a couple of minutes later?

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.

This sensor will not emit an event if occupancy remains true, only when it no longer detects motion it will emit an event again.

ie.

if motion detected > event > occupancy = true
   if motion detected within 1 minute > nothing 
   if no more motion > event > occupancy = false

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.