Frigate Mobile App Notifications 2.0

hello,

I currently have my notifications set to alert me when an object enters the alert zone as follows:

Alert in {{ after_zones | first }} zone!

Is it possible to make the notifcation such that I get a notification when a person (or object) has enterered AND left the one zone only?

thank you

Hey mate,

I got the custom action working in Slot 3, however I tried to move the “Silence New Notifications” to slot 2, and it treats it like a URL, I get a 404 error screen.

I opened automations.yaml and manually entered in;

url_2: silence-{{ this.entity_id }}

But it does not work? Any ideas?

Thank you and apologies if this has been noted/asked previously. I am using iOS on an iPhone. Everything works as it should, except the clips won’t play. I copied and pasted the link for the clips and discovered that iOS will not play a clip from a url ending with .mp4 in any iOS browser I tested. However, I have no problem opening the clip url in any browser on Windows or MacOS. There seems to be a specific issue that iOS prohibits opening .mp4 files within a browser.

The m3u8 clip option should be used in this case

1 Like

Thank you very much. I did not have the latest version of the blueprint and now see that as an option for clips and that it was also covered extensively here: [Issue]: IOS clip issues (broken play button) ¡ Issue #308 ¡ SgtBatten/HA_blueprints ¡ GitHub

my rockchip frigate 15.1-RK keep the old frigate topic “events”
so create a rowback repo that contains the Frigate Notification Blueprint Version: 12.0.6

Import blueprint

First, sorry for the noob question. I finally update my frigate from 13.2 to 15.1. Now I’m in need of the new blueprint. So how exactly do I update the old blueprint along with all of my frigate automations? Thanks in advance for the help.

Here’s a potentially useful bug. I have two front door cams, one is an IP camera connected to Frigate and the other is a Ring camera connected to HA through Ring MQTT (but NOT connected through Frigate). Both have “Front Door” in their names. When setting up the stream video button on this blueprint for the IP camera, I receive the stream from the Ring camera (even though it’s not connected to Frigate). This happens about half the time; the other time nothing loads. I presume it’s some sort of MQTT mismatch due to their similar names.

1 Like

Possibly only works on the last slot. I remember updating the yaml to be the same for all 3 buttons but can’t remember the result. What version are you using of the blueprint?

Too many changes so I recommend you download it from the top post and stay from fresh

Shoot. Okay. Thanks for responding.

This got me on the right track how to send an additional notification with Signal using “Custom Action (Auto Trigger)” - thanks!!

The URL for the attachment seems to be wrong though:

{{base_url}}/api/frigate{{client_id}}/notifications/{{id}}/{{attachment}}

The variable {{attachment}} already has the complete path in my version of the blueprint, so “{{base_url}}/api/frigate{{client_id}}/notifications/{{id}}/” in front of "{{attachment}} is not required and would result in a wrong URL.

This is what is working for me in release 0.14.0.2w of the Blueprint:

action: notify.signal_my_phone
metadata: {}
data:
  data:
    urls:
      - "{{attachment}}"
  message: |-
    {{message}}

Regarding sending the clip instead of the snapshot, I would suggest to send the snapshot with a link to the clip, which will be a much faster notification and still provides the option of viewing the clip.

You can simply replace the last part of the {{attachment}} URL with clip.mp4 to access the corresponding clip.

action: notify.signal_myphone
metadata: {}
data:
  data:
    urls:
      - "{{attachment}}"
  message: |-
    {{message}}

    View Snapshot:{{attachment}}

    View Clip: {{attachment|replace('snapshot.jpg?bbox=1', 'clip.mp4')}}

This is a GUI snapshot of the Custom Action configuration for Signal which works for me:

Hope this helps!

It didn’t always have the whole url. Nice work

1 Like

First of thanks for this great blueprint!

I was wondering what the correct custom filter would be to get rid of notifications with {“success”:false,“message”:“Event not found”}?

How can I play frigate zone notification recording on android TV using homeassistant?

want to do this but with firgate zone notification as trigger and frigate recording as media.