Frigate Mobile App Notifications 2.0

Are there any known issues with running multiple automations together on this blueprint? I have a doorbell automation that works fine:

- alias: Camera - Frigate Notification Porch
  id: frigate_notification_porch
  use_blueprint:
    path: devjklein/frigate_0.11_notification_beta_tts.yaml
    input:
      camera: camera.front_porch
      notify_device: a685ab04fa78c70df24c96886f47f05d
      mobile_app_device: mobile_app_samsung_galaxy_s10
      zone_filter: true
      zones:
        - porch
      update_thumbnail: true
      critical: "true"
      alert_once: true

and a second automation that never fires a notification:

- alias: Camera - Frigate Notification Driveway
  id: frigate_notification_driveway
  use_blueprint:
    path: devjklein/frigate_0.11_notification_beta_tts.yaml
    input:
      camera: camera.front_porch
      notify_device: a685ab04fa78c70df24c96886f47f05d
      mobile_app_device: mobile_app_samsung_galaxy_s10
      zone_filter: true
      zones: 
        - driveway
        - street
      labels:
        - car
      update_thumbnail: true
      critical: "true"
      alert_once: true

My branch of this plugin is only modified to add TTS. I investigated the trace and it always fails where it checks for {{ not labels|length or object in labels }}, even though the variables passed in should check out:

object: car
label: Car
initial_home: false
initial_entered_zones:
  - driveway
title: ''
message: Car detected on the Front Porch camera
button_1: View Clip
button_2: View Snapshot
button_3: Silence New Notifications
custom_url: /api/frigate/notifications/1706136021.859487-w5406z/snapshot.jpg
icon: mdi:home-assistant

I tried capitalizing the label in the blueprint but that didn’t change anything.

Try without alert once.

Hello,

What could cause frigate notifications to come through without any screenshot or seemingly any linked events at this time? It can happen up to 10 times a day. It’s the same issue on all devices.

I am using frigate 13 RC but I think I’ve had this issue on and off over the last year or so.

I think it’s related to false positives?? But I’m not certain. Perhaps frigate starts an event and then cancels it?

I am using the latest stable blueprint.

The setting is set to thumbprint and update attachment is enabled.

Many thanks

Okay I’m not sure what happened but the notifications seem to be working now. Config is the same, except I removed the street zone and now I only get driveway notifications (which is what I originally wanted, although a list should work?). Perhaps this was a timing issue that removing alert_once would have fixed? I’ll keep an eye on how reliable the automation is.

I’m testing the latest stable branch now, and I’m getting an error in my Home Assistant logs:

Template variable warning: 'loitering' is undefined when rendering 'A {{ label }} {{ 'is loitering' if loitering else 'was detected' }} on the {{ camera_name }} camera{{ ' in the ' + entered_zones if entered_zones else '.'}}'
Template variable warning: 'entered_zones' is undefined when rendering 'A {{ label }} {{ 'is loitering' if loitering else 'was detected' }} on the {{ camera_name }} camera{{ ' in the ' + entered_zones if entered_zones else '.'}}'

Sorry missed your reply.

Fibetv: android tv box
65_tcl_roku_tv: Roku TV (roku integration)
Chome_alone: Google Chromecast
kitchen_display: Google nest

The first 3 are all in the same TV, just different devices. So I pause the android box if it’s playing, cast to the Chromecast on the same TV which automatically switches inputs, as well as the kitchen display, and switch inputs back on the roku to whatever it was before, resume the android box if it was playing before. If the roku was off then it just shuts the TV back off at the end instead.

1 Like

Hello,

I use HAOS on Intel NUC w/ the most recent HA update, Frigate, and this Blueprint. I am having trouble receiving group notifications. Everything works great notifying devices individually.

Here is the code:

automation.yaml

  • id: ‘xxxxxxxxx’
    alias: Frigate Notifications (0.12.0.2)
    description: ‘’
    use_blueprint:
    path: SgtBatten/Stable.yaml
    input:
    camera: camera.frontdoorcamera
    notify_device: xxxxxxxxxxxx
    attachment: snapshot

config.yaml

Loads default set of integrations. Do not remove.

default_config:

Load frontend themes from the themes folder

frontend:
themes: !include_dir_merge_named themes

automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
notify:

  • platform: group
    name: all_devices
    services:
    • service: mobile_app_pixel_8_pro
    • service: mobile_app_wife_iphone
    • service: mobile_app_my_iphone

I have the device set in the Blueprint and the group name filled in.

When I start Frigate I get an error:
" Frigate Notifications (0.12.0.2) uses an unknown service" The automation “Frigate Notifications (0.12.0.2)” (automation.frigate_notifications_0_12_0_2 ) has an action that calls an unknown service: notify.all_devices .

I hope I provided enough info, any help would be greatly appreciated. I am surprised I made it this far!

Thank you.

Instead of service: notify.all_devices you should set it to service: all_devices in the blueprint config. I got stuck on this very thing today as well. This fixed it for me.

You don’t have a group in your automation config so I’m not sure what you have set.

Are you referring to group: in the config? Or service somewhere else?

For some reason the error message just looks like that. In the Notification Group field on the Blueprint the group is set as ‘all_devices’

I was going from memory and working off of the content of the reply. I should have been more clear. In the frigate notification blueprint, under Notification Group, simply type the name of the notification group, not the notify.groupname.

1 Like

Thank you for the reply, I apologize for the terrible formatting.

Ok now the automation code looks like this:

  • id: ‘xxxxxxx’
    alias: Frigate Notifications (0.12.0.2)
    description: ‘’
    use_blueprint:
    path: SgtBatten/Stable.yaml
    input:
    camera: camera.frontdoorcamera
    notify_device: xxxxxxxxxxxx
    attachment: snapshot
    notify_group: all_devices

Once I fire up Frigate I still get the same ‘1 repair’ error message about using an unknown service.

Type three of these before and after a code block. Usually on new lines is best.

` same key as the tilde Symbol usually. ~

Are you sure the notify service has been created? Can you notify it using developer tools?

# Loads default set of integrations. Do not remove.
default_config:

# Load frontend themes from the themes folder
frontend:
  themes: !include_dir_merge_named themes

automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
notify:
  - platform: group
    name: all_devices
    services:
      - service: mobile_app_pixel_8_pro
      - service: mobile_app_wife_iphone
      - service: mobile_app_me_iphone 
  alias: Frigate Notifications (0.12.0.2)
  description: ''
  use_blueprint:
    path: SgtBatten/Stable.yaml
    input:
      camera: camera.frontdoorcamera
      attachment: snapshot
      notify_group: all_devices
      notify_device: xxxxxxxxxxxxx

Yes in the dev settings I can call up individual devices and notify each one. Not sure if there is a group option to call.

Using Frigate the Blueprint works perfectly with one device set and no group field filled in.

In that same Dev tools section there should be the notify.all_devices service that you created.

If not, that explains the error.

Is it a new thing you have done. Have you tried reloading all yaml?

I reloaded all yaml, I get the green checkmark. Yes, this is all new.

I do not get notify.all_devices in the dev tools section.

Should I reboot the server or restart HA?

Anyway of broadcasting doorbell press on Android TV without using additional apps like NFATV?

Hello. I found this Blueprint today and it seems great. I’ve installed it and setup notifications for my cameras but when I walk out and stand in front of the cameras I get no notifications on my phone. I’m probably doing something wrong.

Using Home Assistant OS with Frigate and MQTT installed. I’m using a Pixel 4 XL phone.

Here is the YAML version of my settings for one camera. Its the same for the others.

alias: AC Side Camera Notification
description: Something Was Detected On The AC Side Yard
use_blueprint:
  path: SgtBatten/Stable.yaml
  input:
    camera: camera.rear_corner_ac_side
    notify_device: f7601e5c6661aa47a2b4da047ca088af
    critical: "true"
    attachment: snapshot
    labels:
      - person
      - dog
    title: Something Was Detected In The AC Side Yard
    message: "Default:   e.g A Person was detected on the AC Side camera."
    state_filter: false
    state_entity: input_boolean.turn_on_camera_notifications
    update_thumbnail: true
    state_filter_states:
      - "On"
    debug: false

Any ideas? Let me know if anymore is needed

@SgtBatten Any ideas on why I’m getting the loitering and entered_zones warnings above? I don’t have a loitering timer defined but I would like zone notifications and I’m not sure why that information wouldn’t be coming through.

Restart HA I guess.

The parameters aren’t defined at the time it’s being rendered, just as it says.

Change the message so it doesn’t included loitering (unsure why that’s not working but don’t have time to check)

The entered_zones one might be different now without the underscore from memory. Did you start from scratch or upgrade an existing blueprint/automation?