From 4edcfb53347a73f7be8ad8edea8aba954962fa54 Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Mon, 20 Mar 2023 22:39:55 +0200 Subject: [PATCH] add debug --- files/process_motion_event.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/files/process_motion_event.sh b/files/process_motion_event.sh index 1acbd68..4b01368 100644 --- a/files/process_motion_event.sh +++ b/files/process_motion_event.sh @@ -232,6 +232,7 @@ if [ -n "${ntfy_server}" ]; then ntfy_password="$(cat "${ntfy_password_file}")" ntfy_data="${data}, \"topic\": \"motion_detection\"" message "Sending event to ntfy server '${ntfy_server}/motion_detection' ..." + message "Data: ${ntfy_data}" curl -s "${ntfy_server}" -d "${ntfy_data}" return_code=$? if [ $return_code != 0 ]; then