Frigate Mobile App Notifications 2.0

Not sure what’s possible. The frigate docs should cover it.

this is the trace from when i got home, was triggered by walking in front of the camera.


I now see the issue. What version are you using?

Version 0.12.0.2.tried it also with the beta version.

Somehow you are using an incorrectly modified version.

The real 0.12.0.2 has this condition:

      - alias: "Frigate Event"
        conditions:
          - condition: trigger
            id: "frigate-event"

That is why it is failing the first condition.

but yours has a slash instead of hyphen:

image

Happy Thursday everyone!

Is there a screenshot of a trace that has annotations as a sort of troubleshooting guide?

IE this section is for this, and that section is for that? I’ve been trying my darndest, and haven’t been able to really work my way through the whole process yet. (I guess I’m not sure if it’s realistic to breakdown the blueprint on the trace in a useful way).

I started to do this but have had no time. I’d love someone to make it. Reality is with debug enabled you can work out mostly what’s happened just by looking at that.

After reading your reply i removed the whole blueprint using vc code,downloaded the blueprint again and now it’s working :slight_smile: thank you so kuch for your assistance.

Before i redownloaded the blueprint but apparently that was not enough.

Is it also possible to get a notification on my apple tv when it’s on or is it only working with android tv?

1 Like

A few days ago I bought a new phone (Motorola Razr 40), and since then I am no longer getting any attachments in the notifications.

The view clip and view snapshot buttons both work correctly and show me the video and snapshot. It’s only the attachment in the notification that’s missing.

I’ve tried creating a new automation and only set the camera and mobile device, but it still does the same thing.

If I set it back to my old phone again the attachments work. They’re only missing on my new phone. Both phones are running Android 13.

Does anyone have any suggestions?

Something just needs updating. The home assistant app I think. It happened to lots of us not long ago.

Just android/firetv for now. I don’t have apple products so difficult to test new features like that. Anyone is welcome to add it and make a pull request.

Everything is fully updated as of now. I always install updates as they become available.

I’ve checked the notification data and can see the attachment URL in it:

“image” : “/api/frigate/notifications/1714847977.413327-phm1qm/thumbnail.jpgformat=android”,

If I go to this URL in a browser (after adding my HA domain name to the start) it works and shows the image.

It seems to only be affecting this particular phone. My other phone which is set up in exactly the same way still works and shows attachments.

Is there anything else I should check?

Problem solved. I deleted and reinstalled the phone app and now it’s working.

1 Like

Hi.
I’m trying to import the Stable blueprint, but get a timeout request. I tried the original version that does not work, and that one I can import.
This is what the log says:
Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/connection.py:307
integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 6:08:15 PM (1 occurrences)
Last logged: 6:08:15 PM

[140091828976832] Error handling message: Timeout (timeout) Name from 192.168.1.107 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36)

Does not matter if I use Chrome or firefox, cleared cache, rebooted the server multiple times, tried on HAOS core Ver. 2024.4.1 and on 2024.5.1

The blueprint link that I get inserted into HA:
https://github.com/SgtBatten/HA_blueprints/blob/d815163056def410023c72379897fefbdabf9cb3/Frigate Camera Notifications/Stable

Any tips on getting this fixed would be greatly appreciated.

Unfortunately, it’s the same with external base url. :frowning:
Is this an iOS issue? Maybe some sort of workaround can be implemented?

Try copying the link and manually pasting it, or failing that, copy the contents of the blueprint and create the file in the blueprint directory yourself.

Can you share your full automation config.

Question for option “Silence New Object Notifications (Optional)”

I read the description and I’m still puzzle:

How long to silence notifications for this camera when requested as part of the actionable notification.
Note: This only applies to new objects. Existing tracked objects will not be affected.

Regardless of the description that I’m having a hard time to understand… if there’s already 1 person being tracked non-stop for 30 minutes it won’t send notifications but if a 2nd person shows up, than it would send a notification?

Thanx for any help!

No it’s the complete opposite. The existing object will continue to be notified. but new objects within the defined period will not be notified.

alias: Frigate Presence
description: Frigate notifications to device when presence is detected
use_blueprint:
  path: SgtBatten/Beta.yaml
  input:
    camera: camera.front_porch
    notify_device: 86393bc4da40412851193f03a7bea28c
    tv: false
    tv_position: bottom-right
    tv_duration: 20
    ios_live_view: camera.front_porch
    video: >-
      {{base_url}}/api/frigate{{client_id}}/notifications/{{id}}/{{camera}}/clip.mp4
    attachment: snapshot.jpg
    update_thumbnail: true
    color: "#6e41ab"
    channel: Frigate Presence
    labels:
      - person
    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'}}
    alert_once: true
    zones:
      - front_porch
    zone_filter: true
    cooldown: 60
    initial_delay: 5
    silence_timer: 60
    tap_action: /lovelace
    url_2: /lovelace
    base_url: https://my.domain.com/
    message: Someone detected near front door

It looks like the url string after {{base_url}} is incorrect, as this will only work for direct link to clips inside Frigate itself, and not HA app?

I’ve tested both local and remote urls for HA app, but neither work on iOS.