Update powerwall.sh
This commit is contained in:
@@ -46,7 +46,7 @@ CHECKTEMP_SERVICE(){
|
||||
echo $mqtt_message | cut -d'T' -f 2 | cut -d"\"" -f 3 | read temp_d
|
||||
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 + 33" | bc`
|
||||
temp_f=`echo "scale=2; $temp_c*1.8 + 32" | bc`
|
||||
|
||||
#echo "$temp_c -> $temp_f"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user