From 7952eef397dba4f428bfc12e09a2f1435cb3df0e Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 3 Sep 2022 09:37:27 -0500 Subject: [PATCH] Update powerwall.sh --- powerwall.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/powerwall.sh b/powerwall.sh index 163f1679..d90a4dab 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -15,6 +15,7 @@ source /opt/idssys/defaults/default.inc GETTEMP(){ mqtt_message=`mosquitto_sub -h 10.10.1.180 -t tasmota/discovery/${SENSOR_MQTTID[$1]}/sensors -u homeassistant -P 12home34assistant56 -C 1` + echo $mqtt_message echo $mqtt_message | cut -d':' -f 7 | cut -d',' -f 1 | read temp_c if [ "$temp_c" != "null" ] && [ "$temp_c" != "" ]; then temp_f=`echo "scale=2; $temp_c*1.8 + 32" | bc`