What event should I be using? Moving person detection via Node-RED #2940
Replies: 3 comments 3 replies
-
So a couple things here.
|
Beta Was this translation helpful? Give feedback.
-
A. Alert me when a NEW person detection event occurs AND when the person ID is not equal to the last detection person ID. So my wife enters the driveway and starts to wash the car...Node Red alerts me and identifies my wife as Person A. my wife walks around the car and is identified 12 more times...but Frigate always understands that this is the same person...Person A. so no new Node Red events fire. My wife leaves the driveway to make a phone call and returns after 10 minutes...in which case since it's been longer than 4 minutes Node-Red alerts me that a person has been detected. A second person appears while my wife is washing the car, Frigate determines this is Person B and alerts me that a person has entered the driveway. I understand Frigate most likely does not have this functionality...but it's something I'd love to see Frigate work towards. Maybe this is how that type == new meta data is determined? |
Beta Was this translation helpful? Give feedback.
-
The MQTT events topic should have everything you need here. Think of it like a change feed so you can customize when you want notifications based on the before and after values to only notify when things change. For example, you could only notify when the entered_zones contains the zone of interest in the after but not in the before which would mean that you only get notifications the first time an object enters the zone. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm not sure if Frigate can do this or not, but I'm hoping someone can help me understand it better.
Using Node-Red I have Frigate alerting me via Alexa when a person is detected in my driveway zone. So now, when someone walks into my driveway my Alexa says "A person is detected in the driveway". Works great....except...when my wife is out in the driveway doing work. in that case it's the same person walking around in the driveway. I added a limiter to my NR flow so that the state could only change every 30 seconds, but even with that added, every 30 seconds Alexa says "A person was detected" when my wife it in the driveway doing chores. I have checked the state change node option that is "Ignore when current state equals previous state", but still The node will fire every 30 seconds. I was hoping, perhaps with the new "Stationary" functionality that Frigate my have some other event that I can use instead of state change on the Driveway-Zone Person entity so that Frigate will detect when one person enters my driveway...and will be able to track that person the whole time while they stay in the driveway-zone, and then the state will only change when the person leaves the zone. Does Frigate have this ability? As it works now, if I watch it live (at 5 fps detect btw)...Frigate will see the person and bound-box them...and my Node-RED flow will fire and alert me via Alexa...and then as the person walks within that zone, the boundingbox will disappear, leading me to believe Frigate lost the person...and then a second later it will re-connect with the person and fire another "state change" event (AKA detect a person in the zone).
So it really looks like Frigate, as I have it configured is not able to track a person over a long period of time (say 15 minutes) while moving around within a zone. Is there another way I can achieve this? Or is there another state-machine-like event I could use instead?
Beta Was this translation helpful? Give feedback.
All reactions