Replies: 4 comments 1 reply
-
Dear @obermotz, Today, the frigate-notify lifecycle of notifications works as follows (simplified): For the MQTT-based approach, the decision on when to send a new notification is completely controlled by Frigate using the Event.Type field: frigate-notify works only with the “New” and “Update” + Zone Change modifiers. For the WebAPI approach, there is no additional logic in the polling: any new appeared event will be processed by the frigate-notify.
Hence, could you please explain your use case a bit more in detail? |
Beta Was this translation helpful? Give feedback.
-
Dear @freefd , i have an MQTT based setup and my use case is something like this: I have a building watched by one of my cameras. I would like to get a notification when a person enters the building, but the very same person will then enter/exit the building several times in just a couple of minutes and I am not interested in the alerts generated by these movements. So I would like to receive the 1st alert (so I know someone is there), then suppress alerts / ignore MQTT events associated with that particular camera for like 5 minutes. |
Beta Was this translation helpful? Give feedback.
-
Dear @obermotz, If your case could be depicted as the following: You may try to configure zones in the Frigate: And later ignore Zone2 by frigate-notify configuration: https://frigate-notify.0x2142.com/config/#zones Also, you can try Frigate-only configuration with |
Beta Was this translation helpful? Give feedback.
-
Hmm - That's an interesting use case & thanks for sharing the info! Right now frigate-notify is based entirely on the events as they come from Frigate & I'm not storing any kind of state info between events. So when each event comes in, frigate-notify has no knowledge of any events prior. So far I've been aiming to keep it this way, since it's much simpler to manage & I would prefer to avoid needing a database - but perhaps we'll need to adapt over time. Something like this might still be possible without too much overhead, but I'll need to try a few things. That being said, I do wonder with the scenario above... That would likely be several events from Frigate if the person was in & out of the building over a few minutes. If we mute the camera notifications for a few minutes, what if someone different entered during that time? Or are you only interested in being notified that anyone is at the building? |
Beta Was this translation helpful? Give feedback.
-
Just installed frigate-notify, works splendidly. I would like to propose a new feature though: for my use case it would be great if there was a way to not send new alerts for a camera for a configurable length of time after sending out the 1st one.
Thanks in advance for considering this.
Beta Was this translation helpful? Give feedback.
All reactions