update
This commit is contained in:
1 parent
ebdc4605e5
commit
4a872d506d
2 files changed
+1
-2
No files matched your search
@@ -1503,7 +1503,6 @@ GET_DEFAULT_FANSPEED(){
|
||||
|
||||
GET_TUYA_TEMP(){
|
||||
INFO=$(curl -m 3 -s http://${PW_REMOTE_SENSORS[${1}]}:8888/status/${PW_SENSOR_DEVICEID[${1}]} | jq '.dps')
|
||||
echo -e "\nHERE: http://${PW_REMOTE_SENSORS[${1}]}:8888/status/${PW_SENSOR_DEVICEID[${1}]} \n ${INFO}\n"
|
||||
if [ "${INFO}" != "" ]; then
|
||||
TEMP=-1
|
||||
if [ "$(echo "${INFO}" | grep '"108":')" != "" ]; then
|
||||
|
||||
Reference in new issue
Block a user