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