Frigate Mobile App Notifications 2.0

that’s not right. Frigate already supports this in the /events topic, you can just check sub_label field in a custom filter.

For the /reviews topic Frigate already supports in 0.14 the sub_labels field which can also be checked in a similar way.

The only thing changing in 0.15 is support for new Frigate+ logo labels to behave the same way

1 Like

Any idea why I’m getting two notifications for a single motion event? I’m on Android using v14 blueprint.

Two seperate notifications shouldn’t happen. Or do you mean updates to he same notification? Cause that’s meant to happen

Sorry what do you mean by updates? Is there an example? Thanks.

Any suggestions on how to get a snapshot photo in the notification instead of what’s showing? I just switched over from HA Supervised to HAOS in a docker container - not sure if that changes anything. Notifications work great, but not sure why it doesn’t have a photo instead of it showing some text. The HA app is not connected to the local URL so that I can have access to the app whether on the LAN or not. Also, I was wondering why live view doesn’t show an entity? Thank you.

Screenshot 2024-12-06 at 5.54.11 PM

I am using this blueprint for a while and it’s working well. I get the notification and can use the actionable buttons to view clip and snapshot.

However now I decided to try one button to view stream. It occasionally works but other times I get 403: forbidden.

It has worked at home and away, and also get the error at home and away on different occasions. Even when I get the error the clip will play and I can access the ha app. So not a connection issue as such. I am using HA cloud for access.

Any ideas how to resolve?

Thanks

I also don’t think this has to do with your URL built. I have worked to take cloudflare out of the picture and it still doesn’t play directly in a safari browser.

3 Theories…

  1. Cloudflare caching or certificate, etc. I am using cloudflare, but I can reproduce this when I access it by localip:8123.

MP4 Won’t Load in Safari Using CloudFlare - General - Cloudflare Community

  1. Safari doesn’t support HTTP 200 for playing mp4, and some say it should be returning 206, but cannot confirm this yet. (Note, same HTTP return code 200 works on edge/chrome/etc.)

Fixing MP4 autoplay in Safari and iOS for sites using Cloudflare - Stirtingale

  1. The encoding is using a profile unsupported by iOS Safari (or mac too I guess). Finding many pages which indicate it should be baseline and perhaps < profile 4.1. However, to get 2k video, you need 5.1… so…

MP4 H.264 Videos Not Playable in Safari on iPhone: A Quick Guide

ios - mp4 H264 video won’t play in iPhone safari - Ask Different

I am leaning more to #3, as In Sept when this worked, I don’t think anything would have changed the HTTP result code for HA hosted links… Also, I did move to Frigate 0.15, which moved to ffmpeg 7.0. May be I should try going back to 5.0…

Things which changed since this last worked for me:

  1. HA 2024.11 (broke all playing even via media browser) which is mostly working with 2024.12 except for safari/ios.
  2. Updated App Notification alert template to 0.14g, so I can alert on reviews.
  3. Updated Frigate to 0.15 Beta.

Will keep digging… there is no network errors, I can valdate that with browser devtools.

2 Likes

@SgtBatten so update on the Safari playback issue above. It appears that Safari is unable to handle the streaming of mp4 videos. However, Safari has native support for HLS so that is preferred anyway. The best solution here will be to have Android use the clip.mp4 url and for iOS to use a master.m3u8 url (only the extension changes). This will require support from the integration which I have added at Add support for proxying HLS clips for events by NickM-27 · Pull Request #803 · blakeblackshear/frigate-hass-integration · GitHub

2 Likes

Awesome. Thank you

was live stream impacted also? or just clips

And im also googling for the correct content type
image

potentially mpegURL ?

the stream url only works for a limited time so potentially it’s expired

you have an access issue. check your setup (integration, remote access and app settings.) I dont have specific tips.

The automation will send updates to the notification, replacing the image or text etc.

So you need to explain what you mean by getting multiple notifications

Only clips

application/vnd.apple.mpegurl

1 Like

Thank you. Not sure what the issue is, as it does take me to the app to view Frigate. If anyone else had this issue and resolved it, please let me know what steps I need to take.

Hey, did this ever end up happening? As far as I can see stable is still 12.0.4e and beta is still 12.0.5c.

Or am I missing something?

No I only got halfway. Maybe this week

1 Like

I have the Frigate integration 5.6.0 installed and if I manual test by changing the URL to master.m3u8, it doesn’t work and I got a 502 error.

This happens even with a direct local contact to http at IP on port 8123. As in, no extra nginx or Cloudflare services in between. I haven’t had time to dig deeper yet.

There’s a pull request for an updated beta with the master.m3u8 change you can try once you see if it’s working locally.

I manually patched it into the 0.14 version as I use reviews. Will let you know but it should the same way I believe.

Is it possible to easily toggle all these on/off as a group? I want a button on my dashboard to easily disable/enable the notifications for all my cameras.

EDIT: Forget it. State filters.

1 Like