From e430156d7260b2fa74c099388993edb3467a7974 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 3 Sep 2022 09:21:26 -0500 Subject: [PATCH] Update powerwall.sh --- powerwall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powerwall.sh b/powerwall.sh index 55aab043..1bf4baaf 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -14,7 +14,7 @@ source /opt/idssys/defaults/default.inc #ssh root@10.5.10.35 '/vmfs/volumes/NFS_ESXi-Vault/esxi-shutdown.sh > /dev/null 2>&1' & > /dev/null 2>&1 GETTEMP(){ - echo $1 + echo ${SENSOR_MQTTID[$1]} mqtt_message=`mosquitto_sub -h 10.10.1.180 -t tasmota/discovery/${SENSOR_MQTTID[$1]}/sensors -u homeassistant -P 12home34assistant56 -C 1` echo $payload echo $payload | cut -d':' -f 7 | cut -d',' -f 1 | read temp_c