Frigate Mobile App Notifications 2.0

I don;t know the answer to that sorry.

Someone was asking if i change to a pip solution but I have not looked into it due time constraints.

1 Like

How can I accomplish the following which I use with my current automation notifying Telegram with your blueprint which allows me to disable the automations for certain periods of time?

      message: Some Message.
      data:
        video:
          - url: >-
              http://192.168.200.211:8123/api/frigate/notifications/{{trigger.payload_json["after"]["id"]}}/{{trigger.payload_json["after"]["camera"]}}/clip.mp4
            caption: >-
              'Video of {{trigger.payload_json["after"]["label"]}}" detected at
              the Front {{trigger.payload_json["after"]["entered_zones"]}}'.
        inline_keyboard:
          - 30Mins:/porch_30mins, 1Hr:/porch_1hr, 3Hrs:/porch_3hrs
          - 6Hrs:/porch_6hrs, 12Hrs:/porch_12hrs, 24Hrs:/porch_24hrs

Iā€™m sure this already is discussed here, but long thread and didnā€™t find. I control lights with frigate, so when person is detected, turn lights on. Problem is that frigate is sending mqtt message even when zones restrict the notification. So how to achieve fast functionality for this? Beta was slow because it was following review mqtt message.
Automation is like this:

  - topic: frigate/events
    payload: "on"
    value_template: >-
      {{ "on" if value_json["type"] == "new" and value_json["before"]["camera"]
      == "yard" and (value_json["before"]["label"] == "person" or
      value_json["before"]["label"] == "car") else "off" }}
    id: person or car noticed
    trigger: mqtt

It would be awesome if you created a pull request to refine the telegram features.

Youll need a boolean to say ā€œusing telegramā€ and then an option to customise the inline keyboard

Then in the actions of the blueprint a new telegram choice which comes before the default and has the condition to check if the telegram boolean is set to true.

your issue is not clear

What I have understood, Frigate sends mqtt event message about detection even if I have made a zone from where I donā€™t want notifications. Notifications work correctly, but this automation which I pasted above doesnā€™t suit well for the purpose. So for example frigate gets false detections about my car, so I made a zone over the car from where I donā€™t want notifications about cars. This works, although mqtt event is still sent.

Then you need to check the zones just like this automation does.

Sorry if I wasnā€™t clear in my previous post, Iā€™m not necessarily looking to use telegram but have the functionality with your blueprint, attached is a screenshot in telegram with the buttons to disable the notification for various times.

Telegram is the only way i see you getting that many options.

Would be great to integrate google generative AI into this to create the description for the event based on a custom prompt.

1 Like

the next version of frigate will support this

1 Like

Really? Thats dope! Im still on Frigate 12 with no issues but I think I need to finally update soon lolā€¦

Hello,
i want to use your blueprint but no success. I got frigate installed on docker in my promox. The integration in ha works.
But no notification on my iPhone, if i get a motion:
this my yaml.

alias: Frigate Notifications (0.12.0.4e)
description: ""
use_blueprint:
  path: SgtBatten/Stable.yaml
  input:
    camera: camera.annkec800
    notify_device: 5342b1b350b2fdd555aac3470bdc25e1
    title: Bewegung
    video: >-
      {{base_url}}/api/frigate{{client_id}}/notifications/{{id}}/{{camera}}/clip.mp4
    base_url: my external url 
    message: "{{ label }} detected - {{ camera_name }}"
    update_sub_label: false
    debug: true

ca anybody help me?

First thing Iā€™d check is the mqtt config and if messages are getting to HA

Hey, what do i check? My mosquitto broker is unobtrusiv. I can use the viewu app with the same mqtt settings as in ha.

The trigger needs frigate events to arrive in the frigate/events topic that HA can observe.

Yesā€¦how can i configure it?

Love this blueprint. Thank you for making it.

Is there anyway to trigger a separate automation when one of the custom action buttons is pressed in an iOS notification?

Iā€™ve setup a custom notication which appears when ever Frigate detects a person on one of my cameras. I want to run some separate logic that has multiple triggers and I want one of the trigger to be if the custom notification has been pressed.

What is the right for the mqtt topic?


frigate/annkec800 does not work.

What is configured in frigate?