Frigate Mobile App Notifications 2.0

Why does the entity id in the automation have _frigate at the end?

It needs to match the frigate config (capitals are okay).

Edit: oh did you change the entity id in the frigate integration?
Try setting in yaml mode of the automation to match the frigate config.

Im experiencing that sgtbatten blueprint make notifications before the Detection have been confirmed. I get pop up with a picture and when i wanna see video og snapshot its not there… And the video etc. Is not in frigate either. How do I avoid these false notifications?

editing in yaml fixed it
May I suggest to add a note in your Blueprint to highlight that if entites were modified, it requires some editing in yaml?

@SgtBatten Thanks for your support BTW

Yes I will add a note.

There will always be a slight delay before the video is available. The notification is meant to trigger immediately, and the videos will be available as soon as frigate saves the first segment of the event.

I very rarely get a snapshot with no video. This usually means your snapshot settings are different to your event settings in frigate.

Are you saying all notifications are like this?

Hello, how and where did you do this? How can I change the blueprint?
Thanks for the solution.
Cheers

A lot has changed since that post. What issue are you currently having?

If you need to edit a blueprint you need access to the blueprint yaml file. If you have a text editor installed within ha this should be easy, they are in config/blueprints/automation

Ok, thanks. It s working now like it should.

I just updated from .08 to .12 on @SgtBatten’s version, and I’m no longer getting the snapshot photos in the notification consistently. I get one about every 10 or so notifications. When I look at the jpg url in Traces, I’m able to see the photo fine in a browser.

Please provide the automation config (yaml) as well as a screenshot of the trace graphic when this occurs. Are you on iOS or Android?

Appreciate the help, I’m on Android. I am getting the occasional notification with an attached image, but not all the time. It is happening on different automations and different cameras as well as a freshly imported blueprint and one I just pasted over from the original.

This one did not have an image associated in the notification but I did receive a notification as shown in the screenshot and can view the image in the notification part of the trace:

id: '1677435753322'
alias: Frigate Notification (0.11.0.12) - Garage
description: ''
use_blueprint:
  path: hunterjm/frigate_notification.yaml
  input:
    tv_transparency: 0%
    camera: camera.garage
    notify_group: notify_phones
    base_url: https://xxxx.nabu.casa
    alert_once: true
    zone_filter: true
    zones:
      - driveway
      - front_yard
    silence_timer: 5
    cooldown: 10
    button_3: Silence
    tv_size: large
    update_thumbnail: false
    tv_position: center

Thanks very much, that helped me to find the issue. There was an incorrect image data parameter being sent to android devices when using group notifications. I will release version 0.11.0.13 shortly.

Glad to hear it! I did create a separate testing automation that sends just to me and found images are coming through just fine. So that would make sense.

Digging in a little more, I definitely have a mess of blueprints and automations so this may be on me as well. Once you’ve got an update I’ll start from scratch to be better equipped going forward.

I have just updated the gists to versions .13 and .13a. both contain the same fix.

Stable version .13 contains a few new changes that were previously in beta, mostly to do with customising the action buttons. Anyone upgrading from to .13 should review their yaml to check any custom urls match the new names. (If you don’t use custom urls it should be fine.)

Also added is the doubletake name replacement for when you have a face match.

Hello, I tested both versions and both mostly work apart from not showing the screenshot with notifications or when press one of the options gives me a webpage with error 404. I’m using nabu casa server as my external address. Might done something wrong that I don’t know but the notifications still coming

Hi, can you please share the yaml view of your automation.

Remove the unique part of the nabu case url but leave the structure please.

hello here it goes:
image
This the end of the link I get: https://…ui.nabu.casa/api/frigate/notifications/1677582583.165612-rqrvoh/kitchen/clip.mp4
Somehow the automation is not able to pick no screenshot or clips.
this the title of the clip in media: kitchen-1677582583.165612-rqrvoh-clean.png

I set up my automations again and everything is working, thank you!

Now the issue I’m trying to solve is receiving notifications when the object is outside of the zone. I have the zone defined in my frigate.yaml and the blueprint automation, but it’s still sending me notifications.

image

alias: Frigate Notification (0.11.0.13) - SgtB - Garage
description: ""
use_blueprint:
  path: SgtBatten/frigate_0.11_notification.yaml
  input:
    tv_transparency: 0%
    camera: camera.garage
    notify_group: notify_phones
    base_url: https://xxxx.ui.nabu.casa
    alert_once: true
    cooldown: 10
    silence_timer: 5
    tv_size: large
    zones:
      - driveway
      - front_yard
    tv_position: center
    color: grey

Does this url work right now in a browser?

In the blueprint there’s a zone filter toggle you need to set to true/on for the zones to be considered as a condition.

1 Like