Update offsite-power-check.sh
This commit is contained in:
@@ -49,6 +49,7 @@ PWO_START(){
|
||||
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
|
||||
}
|
||||
if [ "${startup}" == "true" ]; then
|
||||
echo "($(date +'%Y-%m-%d %H:%M:%S')) - ${OFFSITE_VOLTIN}'Volts - ${OFFSITE_BATT_CAP}% Battery - Service startup" >> ${PW_LOGPOWER}
|
||||
SENDNOTICE "OFFSITE POWER MONITOR" "Service starting"
|
||||
startup=false
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user