Skip to content

[Issue]: Double notification for every event for both Stable and Beta #558

@Dulcow

Description

@Dulcow

Description

Hi there,

I tried both version of the blueprint and I'm ending up with two notifications sent to my Android Galaxy S25+ for event.

It looks like I receive first a basic notification and then a second one with GenAI summaries once it has been processed (inference for GenAI is around 3 seconds on my NAS) but they do not stack/replace each other.

Image

I use the default configuration from the blueprint with limited changed. Only sending Review GIF instead of Thumbnail and I enabled final update.

How can I fix this? I can debug/help ;-)

Thanks,

D.

Version

0.14.0.2y (Stable) and 0.14.0.3l (Beta)

Automation Config

alias: Frigate - Notifications (0.14.0.3l)
description: ""
use_blueprint:
  path: SgtBatten/Beta.yaml
  input:
    camera:
      - camera.garage
      - camera.patio
    notify_device: <REDACTED>
    base_url: https://<REDACTED>
    attachment: >-
      {{base_url}}/api/frigate{{client_id}}/notifications/{{review_id}}/review_preview.gif
    attachment_2: >-
      {{base_url}}/api/frigate{{client_id}}/notifications/{{review_id}}/review_preview.gif
    final_update: true

Frigate Config

mqtt:
  enabled: true
  host: 192.168.10.103
  port: 1883
  user: mqtt_frigate
  password: '{FRIGATE_MQTT_PASSWORD}'

detectors:
  coral:
    type: edgetpu
    device: usb

model:
  path: plus://35877a6045227082ca72e73d6d34c72a
  width: 320
  height: 320
  model_type: yolo-generic

ffmpeg:
  hwaccel_args: preset-intel-qsv-h264

genai:
  provider: ollama
  base_url: https://<REDACTED>
  model: qwen3-vl:4b-instruct-q4_K_M

semantic_search:
  enabled: true
  model_size: large

face_recognition:
  enabled: true
  model_size: large

review:
  genai:
    enabled: true
    alerts: true
    detections: true

detect:
  enabled: true

record:
  enabled: true
  alerts:
    retain:
      days: 7
    pre_capture: 10
    post_capture: 10
  detections:
    retain:
      days: 7
    pre_capture: 10
    post_capture: 10

snapshots:
  enabled: true
  timestamp: true
  bounding_box: true
  retain:
    default: 7

go2rtc:
  streams:
    Emma_Record:
      - "ffmpeg:https://192.168.20.21/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password={FRIGATE_RTSP_PASSWORD}"
    Emma_Detect:
      - "ffmpeg:https://192.168.20.21/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=admin&password={FRIGATE_RTSP_PASSWORD}"
    Patio_Record:
      - rtsp://admin:{FRIGATE_RTSP_PASSWORD}@192.168.20.22:554/h264Preview_01_main
    Patio_Detect:
      - "ffmpeg:https://192.168.20.22/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=admin&password={FRIGATE_RTSP_PASSWORD}"
    Garage_Record:
      - rtsp://admin:{FRIGATE_RTSP_PASSWORD}@192.168.20.23:554/h264Preview_01_main
    Garage_Detect:
      - "ffmpeg:https://192.168.20.23/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=admin&password={FRIGATE_RTSP_PASSWORD}"
    Arthur_Record:
      - "ffmpeg:https://192.168.20.24/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password={FRIGATE_RTSP_PASSWORD}"
    Arthur_Detect:
      - "ffmpeg:https://192.168.20.24/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=admin&password={FRIGATE_RTSP_PASSWORD}"

cameras:
  Arthur:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/Arthur_Record
          input_args: preset-rtsp-restream
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/Arthur_Detect
          input_args: preset-rtsp-restream
          roles:
            - detect
      output_args:
        record: preset-record-generic-audio-aac
    objects:
      track:
        - cat
        - person

  Emma:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/Emma_Record
          input_args: preset-rtsp-restream
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/Emma_Detect
          input_args: preset-rtsp-restream
          roles:
            - detect
      output_args:
        record: preset-record-generic-audio-aac
    objects:
      track:
        - cat
        - person

  Garage:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/Garage_Record
          input_args: preset-rtsp-restream
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/Garage_Detect
          input_args: preset-rtsp-restream
          roles:
            - detect
      output_args:
        record: preset-record-generic-audio-aac
    objects:
      track:
        - bicycle
        - car
        - cat
        - person
    zones:
      Driveway:
        coordinates: 
          0,0.635,0.149,0.499,0.327,0.362,0.454,0.28,0.551,0.224,0.78,0.344,1,0.501,1,1,0,1
      Garden:
        coordinates: 
          0,0.632,0,0.374,0,0.197,0.1,0.123,0.196,0.067,0.397,0.036,0.548,0.034,0.552,0.218,0.422,0.295,0.226,0.431
        objects:
          - cat
          - person
    review:
      alerts:
        required_zones:
          - Garden
          - Driveway
      detections:
        required_zones:
          - Driveway
          - Garden

  Patio:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/Patio_Record
          input_args: preset-rtsp-restream
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/Patio_Detect
          input_args: preset-rtsp-restream
          roles:
            - detect
      output_args:
        record: preset-record-generic-audio-aac
    objects:
      track:
        - bicycle
        - car
        - cat
        - person
    zones:
      Courtyard:
        coordinates: 
          0,0.328,0.049,0.509,0.322,0.182,0.581,0.264,0.914,0.472,0.942,0.186,0.945,0,1,0,1,1,0,1
        objects:
          - cat
          - person
    review:
      alerts:
        required_zones: Courtyard
      detections:
        required_zones: Courtyard

version: 0.17-0

Any other relevant information

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions