From 4b5d7aec4233d42c852fadbed27ac17cca37dbdf Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 6 Feb 2024 20:02:01 -0600 Subject: [PATCH] Update temp.inc.sh --- inc/temp.inc.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/inc/temp.inc.sh b/inc/temp.inc.sh index f2171418..d8f868b3 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -1027,7 +1027,6 @@ SENDTEMP(){ elif [ "${PW_SENSOR_TYPE[${SENSORa}]}" == "ds18b20" ]; then if ! temp_c=$(ssh -q -o ConnectTimeout=5 -o ConnectionAttempts=2 root@${PW_REMOTE_SENSORS[${SENSORa}]} cat /sys/bus/w1/devices/${PW_SENSOR_DEVICEID[${SENSORa}]}/w1_slave | tail -n1 | cut -d "=" -f2) ; then TIMEOUT=1; fi - echo "HERE: ${temp_c}" [ "${temp_c}" != "" ] && temp_c=$(echo "scale=2; ${temp_c}/1000" | bc) else