![](/static/253f0d9b/assets/icons/icon-96x96.png)
![](https://lemmy.world/pictrs/image/94b2b808-7c9c-4de0-a35b-966d14ae40fd.png)
4·
5 months agoI managed it:
alias: Frigate - Notification
description: ""
trigger:
- platform: mqtt
topic: frigate/events
condition:
- condition: template
value_template: "{{ trigger.payload_json[\"type\"] == \"end\" }}"
action:
- service: notify.jabber
data:
title: "Kamera {{trigger.payload_json['after']['camera']}} "
message: >-
Objekt {{trigger.payload_json['after']['label']}} erkannt von Kamera
{{trigger.payload_json['after']['camera']}}.
data:
path: >-
/mnt/sandisk1TB/frigate/clips/{{trigger.payload_json['after']['camera']}}-{{trigger.payload_json['after']['id']}}.jpg
I managed it:
alias: Frigate - Notification description: "" trigger: - platform: mqtt topic: frigate/events condition: - condition: template value_template: "{{ trigger.payload_json[\"type\"] == \"end\" }}" action: - service: notify.jabber data: title: "Kamera {{trigger.payload_json['after']['camera']}} " message: >- Objekt {{trigger.payload_json['after']['label']}} erkannt von Kamera {{trigger.payload_json['after']['camera']}}. data: path: >- /mnt/sandisk1TB/frigate/clips/{{trigger.payload_json['after']['camera']}}-{{trigger.payload_json['after']['id']}}.jpg