This commit is contained in:
2024-05-02 21:48:29 -05:00
parent b89d4c136a
commit f9f0a4cad6
4 changed files with 7 additions and 7 deletions

View File

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