Frigate Mobile App Notifications 2.0

Same thing has started happening to me as of yesterday. Just started looking into the issue. MQTT is working and I can see the event there.

One interesting thing I’ve seen is that a test notification from the developer tools hasn’t been reliable.

Off to check the logs.

The next version of frigate (0.15) has some sort of AI description functionality.

Okay guys.

Plan for some time in the next few days is to push the frigate 0.14 branch to main branch beta and the current beta to stable.

Stable will become version 12.0.5 and beta will become 14.0.1

Moving forward with frigate 0.14 we take advantage of the frigate reviews functionality. The mqtt topic will change to frigate/reviews and it will be up to you to define what qualifies as an alert within frigate. Many filters can still be applied within the blueprint to further narrow down the notifications.

Multi cameras in one automation are now supported across the board.
Custom action manual (via action button) has been fixed and works again.
IOS image attachments seem to have been fixed from people’s reports.
Debugging has been improved with the ability to redact your base url from the output.

Beta (and soon stable) requires home assistant 2024.6 or newer.
The 0.14 branch (and soon to be beta) requires 2024.10 and frigate 0.14

If you are on stable feel free to download the beta and try it out (in a few days that will be the stable version anyway.

If you already have frigate 0.14 installed feel free to give this a go. You will need to manually copy the beta.yaml.file into your home assistant blueprints folder. Frigate 0.14 by SgtBatten · Pull Request #216 · SgtBatten/HA_blueprints · GitHub

The more people testing the better.

A note. If you haven’t updated in a while you won’t actually be able to update via the home assistant UI. This is due to me moving the folder structure around on GitHub a few months ago. In hindsight this could have been avoided but for the pain of a one off manual update or fresh install it is better off in the long run.

2 Likes

Hello,
if I convert the Bluprint in HA into an automation, I can edit it. However, I am not able to analyze an image with LLM Vision. Has anyone managed to do this?
LLM Vision works, e.g. with Camera Snapshot via Telegram.
Here is the code part that I use for this in the automation with Telegram.

  - action: llmvision.image_analyzer
    metadata: {}
    data:
      include_filename: false
      target_width: 1280
      detail: high
      max_tokens: 100
      temperature: 0.2
      provider: xxxxxxxxxxx
      model: gpt-4o
      image_entity:
        - image.tor_haus_car
        - image.tor_haus_cat
        - image.tor_haus_dog
        - image.tor_haus_horse
        - image.tor_haus_motorcycle
        - image.tor_haus_person
      message: >-
        Briefly summarize what happens in the camera image (maximum two sentences).
        sentences). Do not describe the scene! If a person can be seen,
        describe what they are doing. If nothing is happening, say so. If
        you can recognize a license plate, say that too. Or if you can recognize
        can recognize text on a car, e.g. delivery services DHL, DPD, UPS.
    response_variable: response

A picture is then sent via Telegram with a description from OpenAI of what can be seen in the picture.

  - action: telegram_bot.send_photo
    metadata: {}
    data:
      authentication: digest
      file: /config/www/snapshots/cam_tor.png
      caption: "{{response.response_text}}"

Many thanks for the great work.

Is there a way to play the alert media in home assistant vs safari? Like open the clips and snapshots in app so that I can avoid safari playback woes?

My MQTT logs and monitoring of the data via MQTT Explorer pointed to some kind of issue with the automation. Made a new notification automation with 12.0.5. Seems to have fixed whatever notification issues I was having.

One of my favorite blueprints @SgtBatten, such great work.

1 Like

You can try not using a base url but it may not work. The only other option would be to make the action button Take you to frigate rather than the clip

After a clean update i tried with this blueprint: i don’t get a notification by motion:
alias: Frigate Notifications (0.12.0.5) - iPhone sebastian
description: “”
use_blueprint:
path: SgtBatten/Beta.yaml
input:
camera:
- camera.annkec800
- camera.carport_2
- camera.carport_hwr
- camera.birdseye
notify_device: 23aaed71ce7d972ac3ed3ce924d93dff
base_url: https://mydomain.de
title: Es wurde eine Bewegung entdeckt
update_sub_label: false
critical: “true”
alert_once: true
attachment: snapshot.jpg?bbox=1
update_thumbnail: true
video: >-
{{base_url}}/api/frigate{{client_id}}/notifications/{{id}}/{{camera}}/clip.mp4
ios_live_view: camera.annkec800
labels:
- person
- car

can anybody help me?
mqqt broker works:


Click the node containing an empty square on the right side of the trace tree. The one on the 5th row.
Look for what condition was false

I have installed the blueprint and followed few different videos on YouTube however I’m having an issue with receiving notifications. I know my push notifications to IOS are on and working since I get them from other automations. I checked my mqtt settings and checked messages publishing with MQTT explorer but it doesn’t appears the blueprint is publishing to mqtt since the topic is not showing in there.

I’m all new to HA if logs are needed or anything else please assist in directing me where to find this info.

Hello everybody.
First time I’m going to use blueprints, I do all the automations in Node-Red. However, looking for notifications from the frigate I found this topic.
Is it possible to just send photos and videos after door opening detection?

Thanks

Hello,
enclosed the Screenshots
Frigate is not installed on my ha. I used frigate on proxmox. But i have installed the frigate Integration on ha. And it works.
But no notification with your blueprint



Yes, not with this blueprint

The blueprint doesn’t publish anything to MQTT. HA reads the mqtt messages and uses the data that frigate publishes.

Make sure that is working.

The automation was in cooldown.

Hello all. Excellent automation, very configurable. I greatly appreciate the work here.

I’m having an issue where notifications from the automation created with this blueprint (0.12.0.5) don’t show up on my Android phone consistently. They will work for 6hrs and then nothing for 3 days and then start working for a while. I wrote a very simple notification automation that uses the same Frigate zone as a binary presence sensor and that once works every time. I’m absolutely no expert but it looks like the automation should be working. MQTT passes long the info, the automation looks to be seeing the trigger, and sending the notification. Not sure what is going on. Frigate is on a separate device from HA. Proxy/integration seem to be running fine.

I’m not sure what info might be helpful. Thanks for your help if able to provide.

As you’ve pointed out, the automation seems to be running. The issue is somewhere within HA sending and your device receiving the notification, not something I’m overly familiar with.

Thanks, that confirms it’s an HA issue. I can put my energy there.

Okay. But im in Front of the camera and no notification. Why is cooldown?

You provided one trace. I just told you what that trace did. Cooldown means it was previously activated earlier, it doesn’t mean you necessarily got a notification before though. Disable cooldown while testing