Update powerwall.sh

This commit is contained in:
2022-09-11 16:06:18 -05:00
parent cb624414a9
commit 4859d34524

View File

@@ -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