add debug
This commit is contained in:
parent
a13f6cc048
commit
4edcfb5334
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue