From d145f87140b6462fde2fc456013f156620595eb1 Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Fri, 14 Oct 2022 09:04:14 +0300 Subject: [PATCH] change check for sync certs --- files/process_motion_event.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/process_motion_event.sh b/files/process_motion_event.sh index a66ed64..08e3520 100644 --- a/files/process_motion_event.sh +++ b/files/process_motion_event.sh @@ -170,7 +170,7 @@ if [ "${event_type}" == "on_movie_end" ]; then --message "Clip termino en camara '${camera_name}' (${motion_host}). Evento: #${event}. File: ${file_uri}" message "Sending email to '${email_destination}'..." - echo "${data}" | mail -s "Motion event '${event_type}' on '${host}'" "${email_destination}" + echo "${data}" | jq '.' | mail -s "Motion event '${event_type}' on host '${motion_host}' camera '${camera_name}'" "${email_destination}" fi message "Sending Home Assistant event ..."