Update power.inc.sh
This commit is contained in:
@@ -764,7 +764,7 @@ BATT AMPS: ${BATTA_disp}" 1
|
|||||||
elif [ -f ${PW_TMPFOLDER}/power.ac.good ]; then
|
elif [ -f ${PW_TMPFOLDER}/power.ac.good ]; then
|
||||||
if (( $(bc <<<"${INPUTACV} < ${min_acvolt}") )); then
|
if (( $(bc <<<"${INPUTACV} < ${min_acvolt}") )); then
|
||||||
echo "($(date +'%Y-%m-%d %H:%M:%S')) - ${INPUTACV}'volts / ${BATTVOLT}'volts - Power OFF or LOW voltage detected" >> ${PW_LOGPOWER}
|
echo "($(date +'%Y-%m-%d %H:%M:%S')) - ${INPUTACV}'volts / ${BATTVOLT}'volts - Power OFF or LOW voltage detected" >> ${PW_LOGPOWER}
|
||||||
SENDNOTICE "POWER ALERT - POWER OFF/LOW!!" "Power off or low voltage detected
|
SENDNOTICE "POWER ALERT - POWER OFF/LOW -${PW_DISCHARGE}-!!" "Power off or low voltage detected
|
||||||
GRID VOLTAGE: ${INPUTACV}'volts
|
GRID VOLTAGE: ${INPUTACV}'volts
|
||||||
BATT VOLTAGE: `IDS_NUMBER_FORMAT ${BATTVOLT}`'volts ~ (`IDS_NUMBER_FORMAT ${BATTLIFE}`% @ ${BATT_FULL}'V)
|
BATT VOLTAGE: `IDS_NUMBER_FORMAT ${BATTVOLT}`'volts ~ (`IDS_NUMBER_FORMAT ${BATTLIFE}`% @ ${BATT_FULL}'V)
|
||||||
BATT AMPS: ${BATTA_disp}" 1
|
BATT AMPS: ${BATTA_disp}" 1
|
||||||
|
|||||||
Reference in New Issue
Block a user