Can you please help me with configuring notifications from Frigate NVR? I have automation that sends me a picture via Telegram bot when Frigate NVR detects a person in the camera feed. But often I receive notifications with duplicated images like this, 2–3 duplicates at the same time:
I had this issue and if it helps this is the relevant info from my current automations and very rarely do I get duplications anymore, Note also I dont use a delay:
Best thing I can suggest is to look at the sample docs and build from there.
What I ended up doing was to use MQTT Explorer to capture the messages and then picked out the particular parts I wanted to limit the notifications.
I know I’m reviving an old topic, but just in case someone else (or maybe myself) needs help with this in the future. I personally added a condition (on top of other ones, like zone and camera) to my automation, and it did the job.
What I found is that there are multiple MQTT events based on the “type”. The first event type is “new”, the subsequent ones are “update”, and the last one is “end”.
Depending on your needs, you can adjust accordingly. I used “new” so there’s only one notification when the event is considered “new”. Some may find the type “end” more appropriate for their needs, but the “update” one will more likely generate multiple events.