Update temp.inc.sh

This commit is contained in:
2024-05-09 18:02:49 -05:00
parent 6eefadf430
commit 2df27dcd54

View File

@@ -1502,6 +1502,7 @@ GET_DEFAULT_FANSPEED(){
}
GET_TUYA_TEMP(){
echo "HERE: ${1} - ${PW_REMOTE_SENSOR${1}} - ${PW_SENSOR_DEVICEID[${1}]}"
INFO=$(curl -m 3 -s http://${PW_REMOTE_SENSOR${1}}:8888/status/${PW_SENSOR_DEVICEID[${1}]} | jq '.dps')
if [ "${INFO}" != "" ]; then
TEMP=-1