Frigate Mobile App Notifications 2.0

Ahh sorry it requires a change I’ve had on my personal beta for some time. I’ll upload a new version later today.

Hey guys using this blue print and it works great however either the blueprint or the Frigate HACS integration is causing my VM to crash. Frigate is running on a seperate VM.

Once I installed the HACS add on and setup this blueprint my system is crashing daily. I’ve disabled both the integration and the blue print and haven’t crashed in a week. Anyone else had similar issues?

Not sure if it is eating up all of my RAM or something (12gb dedicated to VM)

Try the latest beta:

0.12.0.1a

  • Update critical functionality on android to align it with ios
    • be aware it will now bypass phones silent/vibrate mode, but…
    • Android notifications will always have ttl: 0 and priority: high so no need for critical for this purpose anymore
  • clarify color input does not work on IOS
  • Reworded Sticky description
  • Added all example URLs to all Action Buttons.
  • Added event payload as variable so templates can handle event details now. including updated info throughout the event.
  • Add Video (gif) option to Android (for now)
  • Automatically strip _1, 2 or 3 from camera entity
  • Add top score example to critical notifications selector

screen-20230515-163348~6

4 Likes

@SgtBatten, I believe you got it!

Thanks,

Scott

1 Like

Video gif option works great! Will it be implemented on ios?
mdi: on ios does not seam to work.

Awesome thanks for the feedback.

Yes I will be able to do it on iOS too. Just don’t have any myself so tweaking things on android is easier initially.

@SgtBatten - Just updated and noticed you added the Multi Zone option - Wanted to say Thanks!! :slight_smile:

2 Likes

Hey @SgtBatten I am using the new beta and now every notification activates the alarm on my Pixel 7 Pro as the notification sound… how do I stop this behavior?

Turn off critical notifications. I changed the behaviour to align it with iOS better. You no longer need to set it to critical to get notifications faster, and critical uses the alarm stream to bypass silent mode.

1 Like

Ok, thanks for the fix! I was using critical mode to get the notifications faster but glad this is fixed now.

Btw I have separate IOS / Android automation and the new video/GIF feature is working awesome! Thanks.

2 Likes

Hi,

do we have to turn on “Update Image” to get the video?

So far it hasn’t worked for me on the Google Pixel 6.

Thanks

Can I say no but maybe.

Technically the video is sent every time a notification is sent. However, if the video is not yet ready/exists it can’t be sent. Of course this most often occurs during the initial notification.

Turning on update image often means multiple notifications are sent so the video may arrive with a later one.

In saying that, I intend to not send the video every time in a future update, and make it so it sends the video after the event ends just one time. But for now, you may have better success with update image enabled.

I’m a newbie to HA. Is there a simple way to add MANUAL presence toggle switch [Home]/[Away]
so that ‘Frigate Mobile App Notifications 2.0’ could be manually started/stopped from the HA
companion app? (essentially Arm / Disarm switch for sending notifications)

I’d appreciate if you could please reply with a simple code or instructions on how to achieve that.
(I saw some samples using ‘input_boolean:’ but I’m not a programmer, and couldn’t implement this)

Thanks!

Yes you could do that.

Or you could also just add a toggle that already exists to enable or disable the automation.

On a dashboard click edit and add card. Select by entity at the top and then search for the automation. It will suggest an appropriate card for you.

In HA => settings => devices and services => helpers => create helper

Create a “toggle helper”
Give it a name ( driveway, garden etc whatever the camera is you want to use)
Select an icon ( motion is a good mdi for this type of toggle)

your toggle will now be created as “input_boolean.[camera name]”

Back to settings +> automations.

Select the frigate automation and edit in YAML
add the following code remembering to change the [camera name]

condition:
  - condition: state
    entity_id: input_boolean.[camera name]
    state: "on"

Then on the HA dashboard just add a button card using the helper toggle.

Yes you could do all that, or you could just use the toggle for the automation that HA already gives you.

Editing the blueprint like that means you would have to remember to do it every update. The blueprint already has the ability to specify a state filter for this reason.

Notification snapshots work great on Android even with the GIF option enabled. But it seems snapshots are barely being attached on IOS now for some reason, I have separate automation just for the IOS devices with the video option disabled for now.

There is an issue on GitHub for the same issue on android. I honestly think the notification sometimes fires before frigate actually produces an image to attach but I can’t be sure.

If you revert the version do you never have the issue?

1 Like

I am also having issues with the snapshots. I get a thumbnail through to my Apple Watch, but if I tap the notification on my iPhone, it opens a Chrome browser and goes to a URL that does not load.

Additionally, I am playing with group notifications, does this look like the correct config if I have set up an entity notify.iphones?

I don’t remember having this issue on the previous automation version if that’s what you’re asking.