From a44e6c91ba9bbcfd1549f24813cc85c28abaae4a Mon Sep 17 00:00:00 2001 From: Ratatoskr Date: Tue, 26 Dec 2023 17:11:30 +0100 Subject: [PATCH] Update A72_alarm_getter.sh - Adjusted the curl command to include the message data directly without the 'Priority' header. --- A72_alarm_getter.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/A72_alarm_getter.sh b/A72_alarm_getter.sh index 8c69a6c..afcff02 100755 --- a/A72_alarm_getter.sh +++ b/A72_alarm_getter.sh @@ -97,7 +97,7 @@ else echo "Weckzeit planen und in Datei speichern: $lightsOn" echo "$lightsOn" > "$weckzeit_datei" echo "/root/iobroker_scripts/schlafzimmer/wecker.sh > /root/wecker.log" | at "$lightsOn" - curl -u "Michaelis:u5ptufUFuDL6q4yEcSN3iqas5gtXNkN77Lx3cy3oX8UoSgFWdifYy9FVopv2Zwtu" -H "Icon:https://static.vecteezy.com/system/resources/previews/018/931/118/original/alarm-clock-icon-png.png" -H "Priority:High" -d "Alarm gestellt um: $neues_format" https://ntfy.michaelis.digital/$HOSTNAME + curl -u "Michaelis:u5ptufUFuDL6q4yEcSN3iqas5gtXNkN77Lx3cy3oX8UoSgFWdifYy9FVopv2Zwtu" -H "Icon:https://static.vecteezy.com/system/resources/previews/018/931/118/original/alarm-clock-icon-png.png" -d "Alarm gestellt um: $neues_format" https://ntfy.michaelis.digital/$HOSTNAME fi else echo "Kein Wecker gestellt. Lösche geplante Weckzeiten."