This commit is contained in:
2024-05-02 21:56:36 -05:00
parent 4a5567bee2
commit 9be1070262
3 changed files with 6 additions and 7 deletions

View File

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