Frigate Mobile App Notifications 2.0

Yes using the custom action manual this should be simple enough.

mqtt:
  enabled: true
  host: 192.168.178.64
  user: user
  password: pw
ffmpeg:
  output_args:
    record: preset-record-generic-audio-aac
detectors:
  coral:
    type: edgetpu
    device: usb
birdseye:
  enabled: true
  restream: true
  mode: objects
objects:
  track:
    - person
    - cat
    - dog
cameras:
  annkec800:
    ffmpeg:
      output_args:
        record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps
          1 -strftime 1 -c:v copy -tag:v hvc1 -bsf:v hevc_mp4toannexb -c:a aac
      inputs:
        - path: rtsp://user:[email protected]:554/H264/ch3/main/av_stream
          roles:
            - record
        - path: rtsp://user:[email protected]:554/H264/ch2/sub/av_stream
          roles:
            - detect
    detect:
      width: 640
      height: 480
      fps: 15
    snapshots:
      enabled: true
      bounding_box: true
    record:
      enabled: true
      retain:
        days: 7
      events:
        retain:
          default: 14
    zones: {}
    objects: {}
    review: {}
  carport:
    ffmpeg:
      output_args:
        record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps
          1 -strftime 1 -c:v copy -tag:v hvc1 -bsf:v hevc_mp4toannexb -c:a aac
      inputs:
        - path: rtsp://user:[email protected]:554/H264/ch3/main/av_stream
          roles:
            - record
        - path: rtsp://user:[email protected]:554/H264/ch2/sub/av_stream
          roles:
            - detect
    detect:
      width: 640
      height: 480
      fps: 15
    snapshots:
      enabled: true
    record:
      enabled: true
      retain:
        days: 7
      events:
        retain:
          default: 14

  carport_hwr:
    ffmpeg:
      output_args:
        record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps
          1 -strftime 1 -c:v copy -tag:v hvc1 -bsf:v hevc_mp4toannexb -c:a aac
      inputs:
        - path: rtsp://user:[email protected]:554/H264/ch3/main/av_stream
          roles:
            - record
        - path: rtsp://user:[email protected]:554/H264/ch2/sub/av_stream
          roles:
            - detect
    detect:
      width: 640
      height: 480
      fps: 15
    snapshots:
      enabled: true
    record:
      enabled: true
      retain:
        days: 7
      events:
        retain:
          default: 14
version: 0.14
camera_groups:
  Eingang:
    order: 1
    icon: LuDoorClosed
    cameras:
      - annkec800
      - carport

How would I do it? How can the separate automation be triggered when the custom action manual button is pressed on the iOS notification?

Iā€™m using Frigate beta 0.14.1 and your beta blueprint version p.

Apparently, I should be using frigate/reviews for the notifications, not frigate/events, but if I change the blueprint to use /reviews, I donā€™t get notifications, but I do on /events, although have been getting phantom notifications, which I believe using /reviews is supposed to resolve. I can see in MQTT that there are topics being sent to HAOS, from /reviews.

If you are using the correct beta blueprint it will be /reviews by default

Iā€™m using the Beta thatā€™s linked in the first post, but itā€™s using /events.

Iā€™ll try importing it again

I see now that is for Frigate 12 and Iā€™m on 14. Iā€™ve found the 14 branch on github, but it wonā€™t import, saying invalid url.

Please can you post the link to the Blueprint fur use with Frigate beta 0.14.1?

The main branch beta will work fine.

If you want the reviews features you need to manually install the 0.14 blueprint.

Thank you. So to confirm, if I want to use the 0.14 blueprint, I import using this url?

No,

The only file that is edited in the 0.14 branch is the beta. And you canā€™t import (maybe you can with the right url but Iā€™ve never tried). You need to copy the raw file and paste it into a new file in your blueprints folder inside HA

Ah, ok, that all makes sense now. Thank you. Iā€™ll try the copy and paste.

Hi All,
I am trying to work this out - I am getting my ā€œcrticalā€ notfications as expected on my android phone, however the sound keeps playing until I actual click the notification. This is a little bit anoying as I may not have the phone next to me and i may not get to my phone for some minutes and this ends up annoying the people around me.

Am i missing some configuration option to only have the sound play once?

Yes,

Critical means it will play the sound.

If you need critical you could write a condition such as

{{ā€˜trueā€™ if type == ā€˜newā€™}}

Which will only play if itā€™s triggered before the loop starts. The side effect of this will be that if your zones are setup in a way that doesnā€™t result in events as soon as the object is detected you wonā€™t get the sound as it wonā€™t notify you until itā€™s already in the loop.

Hello all, looking for some help with my notifications.

  • I have MQTT working with Frigate (tested that MQTT is receiving frigate/events).
  • I am using blueprint 0.12.0.4e, and it is setup correctly
  • I did have this setup and working before, but somewhere between updates it stopped working.
  • No notifications are being sent to my android phone, I did check to make sure the notifications were on for the home assistant app. I did try running the automation manually.
  • I do get other notifications from other automations.

I did see this in the log after running the automation:

Logger: homeassistant.components.automation.frigate_back_camera
Source: components/automation/init.py:776
integration: Automation (documentation, issues)
First occurred: 10:24:35 AM (3 occurrences)
Last logged: 10:32:33 AM

Error while executing automation automation.frigate_back_camera: Unable to find notify service for webhook ID

Any idea on how to test that the blueprint is receiving the MQTT data, and sending the notification to the app?

sorry, but I donā€™t see /reviews

The version you are using is for events topic.

sorry, can you point me to version with /reviews?

Hello, the notification works with my ipad pro 11. But i donā€™t get notification with my iPhone 12 mini. Anybody idea?

Could you add the option of using google gen AI to populate the description instead, based on what it sees in the image?

E.g.

- service: google_generative_ai_conversation.generate_content
      metadata: {}
      data:
        image_filename: ####
        prompt: >-
          very briefly describe the person you see in this image from my front doorbell
          camera. Your message needs to be short to fit in a phone
          notification. Don't describe stationary objects or buildings.
      response_variable: generated_content

- service: notify.mobile_app_###
      data:
        title: "Someone Is At The Front Door"
        message: "{{ generated_content.text }}"

Anyone here experience some issues with the clip view in the last frigate 0.15 beta?

Hi everyone, but it would also be nice if we could receive notifications on the esphome LVGL displays, but the problem is that esphome only takes PNG snapshots. Is there a solution on the blueprint without having to use third-party software on Windows? Thank you.