Update A72_alarm_getter.sh

- Adjusted the curl command to include the message data directly without the 'Priority' header.
This commit is contained in:
Ratatoskr 2023-12-26 17:11:30 +01:00
parent dde161ae61
commit a44e6c91ba
Signed by: Ratatoskr
GPG Key ID: 28B77439A6D78F4E

View File

@ -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."