From 933709237188012ca0cd70b79643d878ddc10f91 Mon Sep 17 00:00:00 2001 From: Florian Brinker Date: Sun, 13 Oct 2019 15:45:43 +0200 Subject: [PATCH] add cctv notifications --- scripts.yaml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/scripts.yaml b/scripts.yaml index 083bba7..9057159 100644 --- a/scripts.yaml +++ b/scripts.yaml @@ -152,4 +152,17 @@ shinobi_active_with_motion: host: !secret shinobi_host apikey: !secret shinobi_api_key group: !secret shinobi_group - preset_name: Active + Motion Detection ON \ No newline at end of file + preset_name: Active + Motion Detection ON + +shinobi_notify: + sequence: + - service: notify.telegram_fb + data_template: + title: "*ALARM: Bewegung erkannt*" + message: | + [Live-Stream]({{ stream_url }}) + Monitor: {{ name }} + Confidence: {{ confidence }} + Letzte Aufnahmen: + - [{{ video_last }}]({{ video_url }}/{{ video_last }}) + - [{{ video_previous }}]({{ video_url }}/{{ video_previous }}) \ No newline at end of file