I installed plugin and temperature sensors show 0 degree, all but one. The one that shows, shows only when I start Domoticz and stays the same all day. In log I see that values have been pulled from Tuya Cloud, just not displayed. I tried "Empty cache and hard reload" in Chrome, not working.
Python Version: 3.11.0 (main, Oct 24 2022, 18:13:38) [MSC v.1933 32 bit (Intel)]
Code: Select all
2024-07-28 17:04:54.506 TinyTUYA (Cloud): Device name=Temp kupatilo id=bf6857dc83968b0d4fgswb category=sensor
2024-07-28 17:04:55.226 TinyTUYA (Cloud): Device name= Temp kupatilo id= bf6857dc83968b0d4fgswb FunctionProperties= []
2024-07-28 17:04:55.227 TinyTUYA (Cloud): Device name= Temp kupatilo id= bf6857dc83968b0d4fgswb StatusProperties= [{'code': 'temp_current', 'name': '温度', 'type': 'Integer', 'values': '{"unit":"℃","min":-200,"max":600,"scale":1,"step":1}'}, {'code': 'humidity_value', 'name': '湿度数值', 'type': 'Integer', 'values': '{"unit":"%","min":0,"max":1000,"scale":1,"step":1}'}, {'code': 'battery_percentage', 'name': '电池电量', 'type': 'Integer', 'values': '{"unit":"%","min":0,"max":100,"scale":0,"step":1}'}]
2024-07-28 17:04:55.227 TinyTUYA (Cloud): Device name= Temp kupatilo id= bf6857dc83968b0d4fgswb result= [{'code': 'temp_current', 'value': 237}, {'code': 'humidity_value', 'value': 686}, {'code': 'battery_percentage', 'value': 100}]
2024-07-28 17:04:55.228 TinyTUYA (Cloud): Create Sensor device
2024-07-28 17:04:55.232 Error: TinyTUYA (Cloud): Device read failed: bf6857dc83968b0d4fgswb
2024-07-28 17:04:55.232 TinyTUYA (Cloud): handleThread: 'float' object cannot be interpreted as an integer line 2424
Code: Select all
2024-07-28 17:04:57.360 TinyTUYA (Cloud): Device name=Temp dnevna id=bf389cc55c58b7846axjub category=sensor
2024-07-28 17:04:58.077 TinyTUYA (Cloud): Device name= Temp dnevna id= bf389cc55c58b7846axjub FunctionProperties= [{'code': 'temp_unit_convert', 'desc': '{"range":["c","f"]}', 'name': '温标', 'type': 'Enum', 'values': '{"range":["c","f"]}'}, {'code': 'maxtemp_set', 'desc': '{"unit":"℃","min":-200,"max":600,"scale":1,"step":1}', 'name': '温度上限设置', 'type': 'Integer', 'values': '{"unit":"℃","min":-200,"max":600,"scale":1,"step":1}'}, {'code': 'minitemp_set', 'desc': '{"unit":"℃","min":-200,"max":600,"scale":1,"step":1}', 'name': '温度下限设置', 'type': 'Integer', 'values': '{"unit":"℃","min":-200,"max":600,"scale":1,"step":1}'}, {'code': 'maxhum_set', 'desc': '{"unit":"%","min":0,"max":1000,"scale":1,"step":1}', 'name': '湿度上限设置', 'type': 'Integer', 'values': '{"unit":"%","min":0,"max":1000,"scale":1,"step":1}'}, {'code': 'minihum_set', 'desc': '{"unit":"%","min":0,"max":1000,"scale":1,"step":1}', 'name': '湿度下限设置', 'type': 'Integer', 'values': '{"unit":"%","min":0,"max":1000,"scale":1,"step":1}'}, {'code': 'temp_periodic_report', 'desc': '{"unit":"min","min":5,"max":60,"scale":0,"step":5}', 'name': '温湿度上报时间', 'type': 'Integer', 'values': '{"unit":"min","min":5,"max":60,"scale":0,"step":5}'}]
2024-07-28 17:04:58.078 TinyTUYA (Cloud): Device name= Temp dnevna id= bf389cc55c58b7846axjub StatusProperties= [{'code': 'temp_current', 'name': '温度', 'type': 'Integer', 'values': '{"unit":"℃","min":-200,"max":600,"scale":1,"step":1}'}, {'code': 'humidity_value', 'name': '湿度', 'type': 'Integer', 'values': '{"unit":"%","min":0,"max":100,"scale":0,"step":1}'}, {'code': 'battery_percentage', 'name': '电池电量', 'type': 'Integer', 'values': '{"unit":"%","min":0,"max":100,"scale":0,"step":1}'}, {'code': 'temp_unit_convert', 'name': '温标', 'type': 'Enum', 'values': '{"range":["c","f"]}'}, {'code': 'maxtemp_set', 'name': '温度上限设置', 'type': 'Integer', 'values': '{"unit":"℃","min":-200,"max":600,"scale":1,"step":1}'}, {'code': 'minitemp_set', 'name': '温度下限设置', 'type': 'Integer', 'values': '{"unit":"℃","min":-200,"max":600,"scale":1,"step":1}'}, {'code': 'maxhum_set', 'name': '湿度上限设置', 'type': 'Integer', 'values': '{"unit":"%","min":0,"max":1000,"scale":1,"step":1}'}, {'code': 'minihum_set', 'name': '湿度下限设置', 'type': 'Integer', 'values': '{"unit":"%","min":0,"max":1000,"scale":1,"step":1}'}, {'code': 'temp_alarm', 'name': '温度报警', 'type': 'Enum', 'values': '{"range":["loweralarm","upperalarm","cancel"]}'}, {'code': 'hum_alarm', 'name': '湿度报警', 'type': 'Enum', 'values': '{"range":["loweralarm","upperalarm","cancel"]}'}, {'code': 'temp_periodic_report', 'name': '温湿度上报时间', 'type': 'Integer', 'values': '{"unit":"min","min":5,"max":60,"scale":0,"step":5}'}]
2024-07-28 17:04:58.079 TinyTUYA (Cloud): Device name= Temp dnevna id= bf389cc55c58b7846axjub result= [{'code': 'temp_current', 'value': 212}, {'code': 'humidity_value', 'value': 59}, {'code': 'battery_percentage', 'value': 100}, {'code': 'temp_unit_convert', 'value': 'c'}, {'code': 'maxtemp_set', 'value': 360}, {'code': 'minitemp_set', 'value': 110}, {'code': 'maxhum_set', 'value': 70}, {'code': 'minihum_set', 'value': 20}, {'code': 'temp_alarm', 'value': 'cancel'}, {'code': 'hum_alarm', 'value': 'cancel'}, {'code': 'temp_periodic_report', 'value': 60}]
2024-07-28 17:04:58.080 TinyTUYA (Cloud): Create Sensor device
2024-07-28 17:04:58.084 Error: TinyTUYA (Cloud): Device read failed: bf389cc55c58b7846axjub
2024-07-28 17:04:58.084 TinyTUYA (Cloud): handleThread: 'float' object cannot be interpreted as an integer line 2424
Temp kupatilo shows 0 degree, same as other 5 temp sensors, but in log it's 237
Temp dnevna shows 24,3 C (first reading when Domoticz started) but in log it's 212