Update powerwall.sh
This commit is contained in:
@@ -78,7 +78,7 @@ CHECKTEMP_SERVICE(){
|
||||
|
||||
else
|
||||
if [ "$last_temp" > "1" ]; then
|
||||
echo "($datetime) NORMAL TEMP: $temp_f°F" | mail -s "${1} BACK TO NORMAL" $email_alert
|
||||
echo -e "($datetime) NORMAL TEMP: $temp_f°F\nPrevious Temp: $last_temp°F" | mail -s "${1} BACK TO NORMAL" $email_alert
|
||||
echo "alert sent"
|
||||
elif [ "$last_temp" == "0" ]; then
|
||||
echo "NORMAL TEMP: $temp_f°F" | mail -s "${1} TEMP NORMAL" $email_alert;
|
||||
|
||||
Reference in New Issue
Block a user