From a077035570aec0a56f8e0775292ce9fff4c3d4f3 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 13 Sep 2025 19:51:46 -0500 Subject: [PATCH] Update temp.inc.sh --- inc/temp.inc.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/temp.inc.sh b/inc/temp.inc.sh index 703bf509..9cbf3bc6 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -713,8 +713,8 @@ CHECKTEMPSENSOR(){ if [ "${temp_c}" != "" ]; then if [ "${1}" == "ServerRoom_Monitor_Front" ]; then echo "\"${PW_ESP_USER}:${PW_ESP_PASS}\" http://${PW_REMOTE_SENSORS[${1}]}:8090/sensor/front_humidity | jq '.value" - curl -m 8 -s -u "${PW_ESP_USER}:${PW_ESP_PASS}" http://${PW_REMOTE_SENSORS[${1}]}:8090/sensor/front_humidity | jq '.value' - temp_h=$(curl -m 8 -u "${PW_ESP_USER}:${PW_ESP_PASS}" http://${PW_REMOTE_SENSORS[${1}]}:8090/sensor/front_humidity}) + curl -u "${PW_ESP_USER}:${PW_ESP_PASS}" http://${PW_REMOTE_SENSORS[${1}]}:8090/sensor/front_humidity | jq '.value' + temp_h=$(curl -u "${PW_ESP_USER}:${PW_ESP_PASS}" http://${PW_REMOTE_SENSORS[${1}]}:8090/sensor/front_humidity}) echo "1: $temp_h" elif [ "${1}" == "ServerRoom_Monitor_Back" ]; then echo "\"${PW_ESP_USER}:${PW_ESP_PASS}\" http://${PW_REMOTE_SENSORS[${1}]}:8090/sensor/back_humidity | jq '.value"