Update powerwall.sh
This commit is contained in:
@@ -124,9 +124,9 @@ CHECKACV_SERVICE(){
|
||||
echo -e "($datetime) Normal voltage detected\nVOLTAGE: ${INPUTACV}V" | mail -s "POWER NOMINAL AGAIN" $email_alert
|
||||
[ $VERBOSE = true ] && echo "alert sent"
|
||||
else
|
||||
[ $VERBOSE = true ] && echo "($datetime) normal voltage: ${INPUTACV}V"
|
||||
[ $VERBOSE = true ] && echo "($datetime)xx normal voltage: ${INPUTACV}V"
|
||||
if [ $voltstatus -eq 0 ]; then
|
||||
echo -e "($datetime)xx Normal voltage detected\nVOLTAGE: ${INPUTACV}V" | mail -s "Power Nominal" $email_alert
|
||||
echo -e "($datetime) Normal voltage detected\nVOLTAGE: ${INPUTACV}V" | mail -s "Power Nominal" $email_alert
|
||||
[ $VERBOSE = true ] && echo "alert sent"
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user