update
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
VERS='2.7.26-05022024'
|
VERS='2.7.30-05092024'
|
||||||
|
|
||||||
noheader=' update service dailytemp confsync -r -report '
|
noheader=' update service dailytemp confsync -r -report '
|
||||||
|
|
||||||
|
|||||||
@@ -1503,7 +1503,6 @@ GET_DEFAULT_FANSPEED(){
|
|||||||
|
|
||||||
GET_TUYA_TEMP(){
|
GET_TUYA_TEMP(){
|
||||||
INFO=$(curl -m 3 -s http://${PW_REMOTE_SENSORS[${1}]}:8888/status/${PW_SENSOR_DEVICEID[${1}]} | jq '.dps')
|
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
|
if [ "${INFO}" != "" ]; then
|
||||||
TEMP=-1
|
TEMP=-1
|
||||||
if [ "$(echo "${INFO}" | grep '"108":')" != "" ]; then
|
if [ "$(echo "${INFO}" | grep '"108":')" != "" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user