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