diff --git a/powerwall.sh b/powerwall.sh index 9a91562c..cf46d52b 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -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