tuya/tuya-home-assistant

TRV - Radiator smart thermostat

Open

#973 aberto em 24 de jan. de 2024

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees) (206 forks)github user discovery
enhancementhelp wanted

Métricas do repositório

Stars
 (960 stars)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

Device normal info

  • WiFi Smart TRV-607
  • Model

Device info { "active_time": 1682536071, "biz_type": 0, "category": "wk", "create_time": 1682536071, "icon": "smart/icon/ay1547209623516pqlXf/05c5d4e0e983137aa276caca458573c8.png", "id": "bfd9c3dd2bc0b9b3f8pybn", "ip": "", "lat": "", "local_key": "", "lon": "", "model": "TRV607", "name": "Radiator", "online": true, "owner_id": "68359259", "product_id": "zfv5pfxrlbh8dsst", "product_name": "WiFi Smart Thermostat", "status": [ { "code": "mode", "value": "manual" }, { "code": "window_check", "value": true }, { "code": "temp_set", "value": 50 }, { "code": "upper_temp", "value": 350 }, { "code": "temp_unit_convert", "value": "c" }, { "code": "temp_current", "value": 198 }, { "code": "window_state", "value": "close" }, { "code": "lower_temp", "value": 50 }, { "code": "temp_correction", "value": -10 }, { "code": "battery_percentage", "value": 100 }, { "code": "child_lock", "value": true }, { "code": "fault", "value": 0 } ], "sub": false, "time_zone": "+03:00", "uid": "*", "update_time": 1706091572, "uuid": "fee734ce4da6253b" },

**Device specifications 2024-01-24 12:26:23.384 DEBUG (SyncWorker_19) [tuya_iot] Request: method = GET, url = https://openapi.tuyaeu.com/v1.0/devices/bxxxx/specifications, params = None, body = None, t = 1706xxxxx84 2024-01-24 12:26:23.475 DEBUG (Thread-39) [tuya_iot] _on_log: Sending CONNECT (u1, p1, wr0, wq0, wf0, c1, k60) client_id=b'cloud_new6' 2024-01-24 12:26:23.514 DEBUG (Thread-40 (_thread_main)) [tuya_iot] _on_log: Received CONNACK (0, 0) 2024-01-24 12:26:23.514 DEBUG (Thread-40 (_thread_main)) [tuya_iot] connect flags->{'session present': 0}, rc->0 2024-01-24 12:26:23.514 DEBUG (Thread-40 (_thread_main)) [tuya_iot] _on_log: Sending SUBSCRIBE (d0, m1) [(b'cloud/token/in/newb1xxx', 0)] 2024-01-24 12:26:23.526 DEBUG (SyncWorker_19) [tuya_iot] Response: { "result": { "category": "wk", "functions": [ { "code": "mode", "type": "Enum", "values": "{"range":["auto","manual"]}" }, { "code": "window_check", "type": "Boolean", "values": "{}" }, { "code": "temp_set", "type": "Integer", "values": "{"unit":"℃","min":50,"max":350,"scale":1,"step":5}" }, { "code": "upper_temp", "type": "Integer", "values": "{"unit":"℃","min":200,"max":350,"scale":1,"step":10}" }, { "code": "temp_unit_convert", "type": "Enum", "values": "{"range":["c","f"]}" }, { "code": "lower_temp", "type": "Integer", "values": "{"unit":"℃","min":50,"max":150,"scale":1,"step":10}" }, { "code": "temp_correction", "type": "Integer", "values": "{"unit":"℃","min":-100,"max":100,"scale":1,"step":1}" }, { "code": "child_lock", "type": "Boolean", "values": "{}" } ], "status": [ { "code": "mode", "type": "Enum", "values": "{"range":["auto","manual"]}" }, { "code": "window_check", "type": "Boolean", "values": "{}" }, { "code": "temp_set", "type": "Integer", "values": "{"unit":"℃","min":50,"max":350,"scale":1,"step":5}" }, { "code": "upper_temp", "type": "Integer", "values": "{"unit":"℃","min":200,"max":350,"scale":1,"step":10}" }, { "code": "temp_unit_convert", "type": "Enum", "values": "{"range":["c","f"]}" }, { "code": "temp_current", "type": "Integer", "values": "{"unit":"℃","min":-100,"max":1000,"scale":1,"step":5}" }, { "code": "window_state", "type": "Enum", "values": "{"range":["close","open"]}" }, { "code": "lower_temp", "type": "Integer", "values": "{"unit":"℃","min":50,"max":150,"scale":1,"step":10}" }, { "code": "temp_correction", "type": "Integer", "values": "{"unit":"℃","min":-100,"max":100,"scale":1,"step":1}" }, { "code": "battery_percentage", "type": "Integer", "values": "{"unit":"%","min":0,"max":100,"scale":0,"step":1}" }, { "code": "child_lock", "type": "Boolean", "values": "{}" }, { "code": "fault", "type": "Bitmap", "values": "{"label":["fault_sensor","fault_motor","fault_low_batt"]}" } ] }, "success": true, "t": 1706091983504, "tid": "05c0ab5ebaa311eea99102c68028c477" }

Guia do colaborador