tuya/tuya-home-assistant

Brightness + temperature and humidity Sensor

Open

#435 ouverte le 3 sept. 2021

Voir sur GitHub
 (4 commentaires) (0 réactions) (0 assignés) (206 forks)github user discovery
enhancementhelp wanted

Métriques du dépôt

Stars
 (960 stars)
Métriques de merge PR
 (Métriques PR en attente)

Description

Device normal info

  • Haoliyuan
  • Brightness + temperature and humidity sensor

Device info: { "active_time": 1626679936, "biz_type": 18, "category": "dgnbj", "create_time": 1626679936, "icon": "smart/icon/ay1523669254163tcGDj/55cae1232fb26bb1a70190bda2bd9efd.png", "id": "bfac779760830c90b0ytkw", "ip": "", "lat": "", "local_key": "", "lon": "", "name": "Makhzan Climate", "node_id": "847127fffe055188", "online": true, "owner_id": "3192429", "product_id": "vzqtvljm", "product_name": "two in one(Brightness + temperature and humidity)", "status": [ { "code": "battery_percentage", "value": 100 }, { "code": "bright_value", "value": 33 }, { "code": "temp_current", "value": 307 }, { "code": "humidity_value", "value": 58 } ], "sub": true, "time_zone": "+08:00", "uid": "***", "update_time": 1630610909, "uuid": "bfac779760830c90b0ytkw" },

Device specifications: 2021-09-03 09:31:40 DEBUG (SyncWorker_5) [tuya iot] Request: method = GET, url = https://openapi.tuyaeu.com/v1.0/devices/bfac779760830c90b0ytkw/specifications, params = None, body = None, t = 1630650700263 2021-09-03 09:31:40 DEBUG (SyncWorker_5) [tuya iot] Response: { "result": { "category": "dgnbj", "functions": [], "status": [ { "code": "battery_percentage", "type": "Integer", "values": "{"unit":"%","min":0,"max":100,"scale":0,"step":1}" }, { "code": "bright_value", "type": "Integer", "values": "{"unit":"","min":0,"max": 1000,"scale":0,"step":1}" }, { "code": "temp_current", "type": "Integer", "values": "{"min":-400,"max": 2000,"scale":1,"step":1}" }, { "code": "humidity_value", "type": "Integer", "values": "{"unit":"%","min":0,"max":100,"scale":0,"step":1}" } ] }, "success": true, "t": 1630650700355 }

Guide contributeur