From 4859d34524271c49ce0ff5bcaf79b21b8cf58d0f Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 11 Sep 2022 16:06:18 -0500 Subject: [PATCH] Update powerwall.sh --- powerwall.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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