Frigate Mobile App Notifications 2.0

Hello, thank you for the wonderful blueprint! I was unable to get the Stable version to work, but the Beta works very well – with one exception:
I have deepstack and double-take installed in my dockers alongside my HA instance. I have one person by name trained in double-take. However, my person alerts only show up as “Person detected” on my mobile device. How do I get this blueprint to properly name people recognized by face?

Thanks!

I’d be interested to learn why the stable didn’t work.

The label can only change from person to a deepstack match if there is an update sent after it occurs.

You also need these in deepstacks config from memory.

update_sub_labels: true
  
stop_on_match: true

I might look at adding a “sublabel changed” trigger for an update also.

1 Like

What an excellent job you’ve done with this. The live video option is great.

What I’m noticing is that the live view works on my  watch, but when I view a notification from the same camera on the iPhone, all I see is a black box where the live view should be.

Looking at the same notification or separate notifications gets the same result.

Cameras without the live view option work as expected on both watch and iPhone.

What could be the reason for this?

Hmm I really am not sure. I have no iOS experience unfortunately.

There been a handful of iOS quirks along the way. Are you using a baseurl? And if so, is it your own or a nabucasa link?

That’s helped.

When using a NabuCasa connection it works on both watch and iPhone.

Within local network it only shows up on the watch!

Very odd.

Thanks for the reply! I think you meant to enable update_sub_labels in Double-take’s config? Such an option is not present in deepstack (stop_on_match is true by default).
I’ve updated that config entry in doubletake, is there anything else I need to do in order to get the faces recognized? So far, no results.

I have upgraded to this new version but the events do not get triggered anymore. I have mqtt running and I can confirm that events get published on frigate/events. Also I have the Frigate device running with “Enable the unauthenticated notification event proxy” enabled.
Am I missing something? I have also enabled “Debug mode”, but no logging seems to happen, so unfortunately it is hard te debug

do the sublabels correctly show up in frigate with peoples names?
image

how did you upgrade? I recommend a fresh start if coming from version 1.

Derp apparently past me already thought of this. It exists.

I couldn’t understand if it’s possible or if it’s already implemented by the blueprint, but is it possible to get a notification only if a camera gets a picture like a person or a car standing still in front of my camera for a period longer than 30s?

I think you can do this with the “loitering” option yes

For some reason some notifications only show the title, you have to expand for the message part. I have subtitles enabled only on the IOS notifications not the Android ones so this is weird.


alias: FRIGATE - SILENT TEST - Pixel 7 - Porch ALL notifications
description: ""
use_blueprint:
  path: hunterjm/frigate_0.10.1_notification.yaml
  input:
    color: indigo
    camera: camera.porch
    critical: "false"
    alert_once: true
    update_thumbnail: true
    zone_filter: true
    zones:
      - porch_deck
      - porch_stairs
    labels:
      - person
    title: Person • Porch
    custom_url: Dashboard
    button_2: Clip
    icon: >-
      mdi:{{'account-outline' if label == 'Person' else 'dog' if label == 'Dog'
      else 'cat' if label == 'Cat' else 'car' if label == 'Car' else
      'home-assistant'}}
    tv_transparency: 0%
    tv_size: large
    tv_position: center
    notify_device: 7ab26b6d49fa97cf589cf85a0dd787a0
    video: /api/frigate{{client_id}}/notifications/{{id}}/{{camera}}/clip.mp4
    tap_action: /homekit-infused/cameras
    url_1: >-
      {{base_url}}/api/camera_proxy_stream/camera.{{trigger.payload_json['after']['camera']}}?token={{state_attr(
      'camera.' ~ camera, 'access_token')}}
    button_1: Stream
    url_2: >-
      {{base_url}}/api/frigate{{client_id}}/notifications/{{id}}/{{camera}}/clip.mp4
    message: >-
      A {{ label }} {{ 'is loitering' if loitering else 'was detected' }} on the
      {{ camera_name }} camera{{ ' in the ' + entered_zones if entered_zones
      else '.'}}
    base_url: *removed*

The only way currently would be to create your own template sensor that calculates the event length and returns true when it’s been long enough. Then use that in the state filter.

Not really anything specific to the blueprint config. Gonna put it down to glitches in the matrix.

1 Like

Good day,

I am unable to import neither stable or beta blueprint, all attempts result in a timeout error.
Any assistance would be appreciacted.

No idea why it wouldn’t be working but you can go to GitHub and copy the entire file and paste it into a new file in your blueprints folder if you have a file editor add-on running.

1 Like

Hey

Have option to get only critical notification lets say 00-06 AM and all the rest of the time without any notification?

I already used this automation notification
what I have now is:
many notification between 7 AM - 00 AM and critical from 00-06 AM

Hi, I keep getting car detected notifications (car is parked) although no motion (motion binary sensor is detecting motion) and no recording in the frigate. What am I doing wrong?

Are you seeing events in Frigate?

I get the same thing when clouds move and the light changes.