This commit is contained in:
2024-02-07 09:24:04 -06:00
parent 5c405ef501
commit 77b07d6ca3
2 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
VERS='2.5.280-02072024'
VERS='2.5.281-02072024'
noheader=' update service dailytemp confsync -r -report '

View File

@@ -621,7 +621,8 @@ OFFSITE_CHECKPOWER_SERVICE(){
fi
SENDNOTICE(){
MESSAGE="${TESTMODE}${2}
SN_MSG="$(echo -e "${2}" | sed "s/\%/\%25 /g")"
MESSAGE="${TESTMODE}${SN_MSG}
BATTERY CHARGE: ${OFFSITE_BATT_CAP}'%
BATT RUNTIME: ${OFFSITE_BATT_RUNTIME}'mins
@@ -1013,7 +1014,6 @@ SENDPOWER(){
OFFSITE_SENDPOWER(){
st_power=`${PW_SCRIPT} check power -o -p -r`
echo -e "SENDING:\n${st_power}"
SENDNOTICE "${1}" "${st_power}"
}