This commit is contained in:
2023-11-23 23:15:55 -06:00
parent e8a524c4dc
commit 40217631e2
2 changed files with 4 additions and 6 deletions

View File

@@ -55,9 +55,7 @@ PWO_START(){
BATTERY CHARGE: ${OFFSITE_BATT_CAP}%25
BATT RUNTIME: ${OFFSITE_BATT_RUNTIME}'mins
AC VOLTAGE: ${OFFSITE_VOLTIN}'volts
$(date)"
AC VOLTAGE: ${OFFSITE_VOLTIN}'volts"
if [ "${3}" = "1" ]; then PRIORITY="${3}"; MSGSOUND=siren; elif [ "${3}" != "" ]; then PRIORITY=${3}; else PRIORITY=0; fi
curl -sd "token=${PUSHOVER_APP_TOKEN}&user=${PUSHOVER_USER_TOKEN}&message=${MESSAGE}&title=${1}&priority=${PRIORITY}&sound=cosmic" https://api.pushover.net/1/messages.json >/dev/null 2>&1
}