Update powerwall.sh

This commit is contained in:
2022-09-03 14:39:05 -05:00
parent f3c3788d2e
commit a93eac476f

View File

@@ -35,7 +35,7 @@ CHECKTEMP(){
}
CHECKTEMP_SERVICE(){
last_temp=0
last_temp=1
mqtt_message=`${mqtt_conn} -t tele/${1}/SENSOR -C 1`
while true
do
@@ -70,7 +70,7 @@ CHECKTEMP_SERVICE(){
echo "($temp_d @ $temp_t) CRITICAL: $temp_f°F"
else
last_temp=0
last_temp=1
# echo "NORMAL TEMP: $temp_f°F" | mail -s "${1} TEMP NORMAL" $email_alert
#echo "($temp_d @ $temp_t) normal: $temp_f°F"
fi