Update powerwall.sh

This commit is contained in:
2022-09-03 14:44:33 -05:00
parent 086b214d54
commit 1a6d6972ca

View File

@@ -47,7 +47,7 @@ CHECKTEMP_SERVICE(){
echo $mqtt_message | cut -d'T' -f 3 | cut -d"\"" -f 1 | read temp_t
if [ "$temp_c" != "null" ] && [ "$temp_c" != "" ]; then
temp_f=`echo "scale=2; $temp_c*1.8 + 32" | bc`
temp_f=$(($temp_f +1))
temp_f=$(($temp_f + 1))
#echo "$temp_c -> $temp_f"