Frigate Mobile App Notifications 2.0

Okay, I can share whatever logs or configs you need let me know if it is helpful.

I have tried both internal IP of my HA server, my Nabu Casa URL, but nothing seems to work.

Also I do see a frigate folder in my HA/Media section, that is populated with clips and snapshots.

I have tried various options for the initial attachment, but nothing seems to work. Issue is botn on WLAN and cellular (off network)

For reference this is the Error I get for all cameras I try to use the Blueprint with.

And view clip and view snapshot also don’t load right?

Clip does not work, it just goes to a media player page, but the play button has a line throught it.

“view Snapshot” did work, and navigates to a webpage that does the snapshot correclty.

EDIT: I do notice the URL for the “view snapshot” is a bit different from the automation scheme with all the variables,

the webpage that loads for my snapshot is:

URL-HA/api/frigate/notifications/1738805488.637764-v68tiv/snapshot.jpg

The url for both attachment and action buttons is

"{{base_url}}/api/frigate{{client_id}}/notifications/{{id}}/snapshot.jpg"

What do you refer to?

Oh sorry read the URL wrong. I was thinking the {{ID}} was linking to an Event ID, but I think it was linking to the notification ID? Ya no so its the same schema then.

Also for a test, I just tried the exact same config but using my Android Tablet as the notification device (instead of sending notification to iPhone). The thumbnail shows just fine, and the clip URL does play in chrome browser on Android Tablet.

Is the latest stable for Frigate 0.14 0.14.0.2w ?
I installed that one and now I am getting notifications for Alerts even though I only set it to detections
Car notification stopped working all together !

Check the trace. Did it start as a detection perhaps?

I admit I don’t use detections, but it’s only a single comparison different and no other logic would be affected so should be easy to figure out if there is an issue.

I updated hoping to use the zone ordering, which doesn’t seem to work at all for me, but then going back to multi zone without ordering as per my previous setup, I’m now having a delay of a minute or so when something enters into the zone, and more often than before we just don’t get any notification. I changed all the delays to 0 but it didn’t help with the delay. I use the notifications to know when someone is coming up the driveway because we don’t like people knocking on the door without warning, so it’s not useful with a delay like that.

I had previously tried beta which added zone ordering before it was merged into stable this year and tested but it did not work for me then either, so I may be hitting some bug which has not yet been fixed. I think in all my testing I only managed to get one notification with zone ordering enabled, after arriving and leaving the property dozens of times.

Went back to 0.12.0.4e and it’s working as expected again. Notifications are instantaneous and fire off 95% of the time when we have an arrival.

Frigate Notification DEBUG (in loop): Send Notification: False Info: Sub Label: [], Image: "/api/frigate/notifications/1738971262.207671-g0gxw4/thumbnail.jpg" Title: Person Detected on Camera Message: A Person was detected on the Driveway camera. iOS sound: Silent, Android Sound: enabled, iOS url: "/api/frigate/notifications/1738971262.207671-g0gxw4/thumbnail.jpg", Video: "", Critical: False, TTS: False Triggers: New Snapshot: False (not functional with reviews) Severity Changed: False, Presence Changed: False, Object changed: False, Zones Changed: False, Sublabel changed: False - Disabled, Final Update: False Conditions: Filters: Severity: Required Severity: detection TEST: FAIL - detection, Zones: Zone Filter toggle on: False, Multi-Zone toggle on: False, Required zones: [], Zone Order toggle on: False Last Zones: 0 - [], New Zones: 0 - [], TEST:PASS , Object Filter: Input: ['person'], TEST: PASS - ['person'], Presence entity (not home): Entity: [''], TEST: PASS, Time Filter: Disabled times: [], TEST: PASS State Filter: State Filter toggle on: False, State Filter Entity: , Required States: [], TEST: PASS, Custom Filter: PASS, triggered by automation Person detection mqtt topic frigate/reviews

And when I tap the notification, I get

{"message":"Event not found","success":false}

This was working in version i

If you can start a GitHub issue with your Configs, complete debug info (from both initial and loop sections). And if you have frigate+ the object lifecycle would also help.

Need the initial debug message primarily. That’s the loopone which says it didn’t send an update.

Frigate Notification DEBUG: Info: FPS: 5, Frigate Review id: 1738976438.468782-cbjtxp, Frigate Detections: ['1738976436.338028-v3ki7g'] Objects: Person, Sub Labels: Config: Camera(formatted): driveway(Driveway), Base URL: , Critical: False, TTS: False TTS Helper: N/A, Alert Once: False, Final_Update (delay): False (5)s, Attachment: /api/frigate/notifications/1738976436.338028-v3ki7g/thumbnail.jpg Video: , iOS URL: /api/frigate/notifications/1738976436.338028-v3ki7g/thumbnail.jpg Target: Mobile Device, Cooldown: 0s, Initial Delay: 0s, Color: #03a9f4, Sound: default, Volume: 1.0 IOS Live entity: "" Android Auto: False, Tag: 1738976436.338028-v3ki7g, Group: driveway-frigate-notification, Channel: , Sticky: False, Title: Person Detected on Camera, Message: A Person detected on the Driveway camera., Subtitle: , Tap Action:/api/frigate/notifications/1738976436.338028-v3ki7g/driveway/clip.mp4, Action Button 1 Text/URL/Icon: View Clip (/api/frigate/notifications/1738976436.338028-v3ki7g/driveway/clip.mp4) , Action Button 2 Text/URL/Icon: View Snapshot (/api/frigate/notifications/1738976436.338028-v3ki7g/snapshot.jpg) , Action Button 3 Text/URL/Icon: Silence New Notifications (silence- ) , Icon: mdi:homeassistant TV: False, Position: center, Size: large, Duration: 10, Transparency: 0%, TV Interrupt: False, Telegram: False, Telegram_chat_id: , Filters: Severity: Required Severity: detection, TEST: PASS - detection Zones: Zone Filter toggle on: False, Multi-Zone toggle on: False, Required zones: [], Zone Order toggle on: False Entered Zones: [], TEST: PASS , Required objects: Input: ['person'], TEST: PASS - ['person'] presence entity (not home): Entity: [''] TEST: PASS, disabled times: [], State Filter: State Filter toggle on: False, State Filter Entity: , Required States: [], TEST: PASS, Custom Filter: True triggered by automation Person detection mqtt topic frigate/reviews

That says it was a detection severity.

There is no video for it in Frigate Detections, it’s shown under Alerts.
Also tapping the notification (which I set to clip) displays the error message in my previous post becausev the clipb doesn’t exist

On iOS is it possible for the notification to be configured as snapshot, with one of the action buttons assigned to the open live view feature?

I believe you, but it started as a detection and therefore the blueprint did what it was meant to do.

As for the missing clip, I can’t be sure about that. The review ID we grab from the mqtt message is genuine but if frigate isn’t keeping it or changing it (I don’t think it does) then it would be invalid.

Yes you can change these things in the customisation options

Hi,
Thank you for your feedback. I have configured “fire_alarm” as an alert in Frigate.
But how do I take it from there? I would like to trigger an automation when a firealarm is detected.

On the audio feature request on GitHub it’s reported that audio alerts never start as new mqtt messages, only updates and end types. Therefore they don’t currently trigger the automation. It’s being look at I believe.

1 Like

Thanks for the blueprint. Ever since moving from v13 to v15 I have not been able to view the events in safari on my iOS device. I’ve tried adding output args but no luck.

I started using the beta and set the link settings to m3u8 but the files do not load.

In frigate UI if I navigate to explore > video, inspect > network I can pull an m3u8 url with the following structure:
https://frigate.url.com/vod/front_yard_wide/start/1739234988.513299/end/1739235018.276313/index.m3u8

The URL from the home assistant blueprint in the notification is:
https://ha.url.com/api/frigate/notifications/1739232740.711342-cdd08q/front_yard_wide/master.m3u8

I am sure I must have something misconfigured…

"alias: Frigate Front Yard
description: ""
use_blueprint:
  path: SgtBatten/Beta.yaml
  input:
    presence_filter:
      - ""
    camera:
      - camera.front_yard_wide
    notify_device: 7bd8baa11b4541c8ce4d11b9c725bcbd
    base_url: https://ha.url.com
    video: >-
      {{base_url}}/api/frigate{{client_id}}/notifications/{{id}}/{{camera}}/master.m3u8
    final_update: true
    subtitle: "{{ label }}"
    attachment: "{{base_url}}/api/frigate{{client_id}}/notifications/{{id}}/thumbnail.jpg"
    url_1: >-
      {{base_url}}/api/frigate{{client_id}}/notifications/{{id}}/{{camera}}/master.m3u8
    tap_action: >-
      {{base_url}}/api/frigate{{client_id}}/notifications/{{id}}/{{camera}}/master.m3u8"