tuya/tuya-home-assistant

Ultrasonic level sensor

Open

#964 建立於 2023年11月12日

在 GitHub 查看
 (6 留言) (0 反應) (0 負責人) (206 fork)github user discovery
enhancementhelp wanted

倉庫指標

Star
 (960 star)
PR 合併指標
 (PR 指標待抓取)

描述

Device normal info

  • Brand: EPT Tech
  • Model: Smart TLC2206

Device info (please complete the following information, which can be found in log): like this: { "active_time": 1699101903, "biz_type": 0, "category": "ywcgq", "create_time": 1698697618, "icon": "smart/icon/bay1610529967139OoVI/f4194654ecceabe31d6174fa1c51ff1c.png", "id": "bf7d88e7cb634381730xsl", "ip": "", "lat": "", "local_key": "", "lon": "", "model": "EPT_Ultrasonic level sensor", "name": "Serbatoio acqua San Lorenzo", "online": true, "owner_id": "71576573", "product_id": "wtzwyhkev3b4ubns", "product_name": "Tank A Level", "status": [ { "code": "liquid_state", "value": "upper_alarm" }, { "code": "liquid_depth", "value": 69 }, { "code": "max_set", "value": 90 }, { "code": "mini_set", "value": 10 }, { "code": "installation_height", "value": 800 }, { "code": "liquid_depth_max", "value": 120 }, { "code": "liquid_level_percent", "value": 100 } ], "sub": false, "time_zone": "+01:00", "uid": "***", "update_time": 1699585130, "uuid": "1437d065c7ef82dc" },

Device specifications (please complete the following information, which can be found in log): Same device's id, like this: 2023-11-12 18:15:05.494 DEBUG (SyncWorker_23) [tuya_iot] Request: method = GET, url = https://openapi.tuyaeu.com/v1.0/devices/bf7d88e7cb634381730xsl/specifications, params = None, body = None, t = 1699809305494 2023-11-12 18:15:05.583 DEBUG (SyncWorker_23) [tuya_iot] Response: { "result": { "category": "ywcgq", "functions": [ { "code": "max_set", "type": "Integer", "values": "{"unit":"%","min":0,"max":100,"scale":0,"step":1}" }, { "code": "mini_set", "type": "Integer", "values": "{"unit":"%","min":0,"max":100,"scale":0,"step":1}" }, { "code": "installation_height", "type": "Integer", "values": "{"unit":"m","min":200,"max":2500,"scale":3,"step":1}" }, { "code": "liquid_depth_max", "type": "Integer", "values": "{"unit":"m","min":100,"max":2400,"scale":3,"step":1}" } ], "status": [ { "code": "liquid_state", "type": "Enum", "values": "{"range":["normal","lower_alarm","upper_alarm"]}" }, { "code": "liquid_depth", "type": "Integer", "values": "{"unit":"m","min":0,"max":10000,"scale":2,"step":1}" }, { "code": "max_set", "type": "Integer", "values": "{"unit":"%","min":0,"max":100,"scale":0,"step":1}" }, { "code": "mini_set", "type": "Integer", "values": "{"unit":"%","min":0,"max":100,"scale":0,"step":1}" }, { "code": "installation_height", "type": "Integer", "values": "{"unit":"m","min":200,"max":2500,"scale":3,"step":1}" }, { "code": "liquid_depth_max", "type": "Integer", "values": "{"unit":"m","min":100,"max":2400,"scale":3,"step":1}" }, { "code": "liquid_level_percent", "type": "Integer", "values": "{"unit":"%","min":0,"max":100,"scale":0,"step":1}" } ] }, "success": true, "t": 1699809311062, "tid": "0933b8fa817f11eeab249a6504bbc951" }

貢獻者指南