tuya/tuya-home-assistant

Brightness + temperature and humidity Sensor

Open

#435 opened on Sep 3, 2021

View on GitHub
 (4 comments) (0 reactions) (0 assignees) (206 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (960 stars)
PR merge metrics
 (PR metrics pending)

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 }

Contributor guide