tuya/tuya-home-assistant

[Device Support Request] GiEX Irrigation Valve

Open

#950 建立於 2023年9月15日

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

倉庫指標

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

描述

Device normal info

Device info (please complete the following information, which can be found in log): like this: { "home_assistant": { "installation_type": "Home Assistant OS", "version": "2023.9.2", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.11.5", "docker": true, "arch": "x86_64", "timezone": "Asia/Jerusalem", "os_name": "Linux", "os_version": "6.1.45", "supervisor": "2023.09.2", "host_os": "Home Assistant OS 10.5", "docker_version": "23.0.6", "chassis": "vm", "run_as_root": true }, "custom_components": { "xiaomi_miot": { "version": "0.7.12", "requirements": [ "construct>=2.10.56", "python-miio>=0.5.6", "micloud>=0.3" ] }, "tesla_custom": { "version": "3.16.1", "requirements": [ "teslajsonpy==3.9.3" ] }, "localtuya": { "version": "3.6.2", "requirements": [] }, "hacs": { "version": "1.32.1", "requirements": [ "aiogithubapi>=22.10.1" ] }, "smartir": { "version": "1.17.7", "requirements": [ "aiofiles>=0.6.0" ] } }, "integration_manifest": { "domain": "tuya", "name": "Tuya", "codeowners": [ "@Tuya", "@zlinoliver", "@frenck" ], "config_flow": true, "dependencies": [ "ffmpeg" ], "dhcp": [ { "macaddress": "105A17*" }, { "macaddress": "10D561*" }, { "macaddress": "1869D8*" }, { "macaddress": "381F8D*" }, { "macaddress": "508A06*" }, { "macaddress": "68572D*" }, { "macaddress": "708976*" }, { "macaddress": "7CF666*" }, { "macaddress": "84E342*" }, { "macaddress": "D4A651*" }, { "macaddress": "D81F12*" } ], "documentation": "https://www.home-assistant.io/integrations/tuya", "integration_type": "hub", "iot_class": "cloud_push", "loggers": [ "tuya_iot" ], "requirements": [ "tuya-iot-py-sdk==0.6.6" ], "is_built_in": true }, "data": { "endpoint": "https://openapi.tuyaeu.com", "auth_type": 0, "country_code": "972", "app_type": "smartlife", "mqtt_connected": true, "disabled_by": null, "disabled_polling": false, "name": "Valve 1", "model": "QT-06Z-01", "category": "ggq", "product_id": "a7sghmms", "product_name": "\u667a\u80fd\u6c34\u9600", "online": true, "sub": true, "time_zone": "+03:00", "active_time": "2023-09-08T04:48:00+00:00", "create_time": "2023-09-08T04:36:01+00:00", "update_time": "2023-09-14T21:11:20+00:00", "function": { "switch": { "type": "Boolean", "value": {} }, "start": { "type": "Boolean", "value": {} }, "smart_weather": { "type": "Enum", "value": { "range": [ "sunny", "cloudy", "rainy", "snowy" ] } } }, "status_range": { "switch": { "type": "Boolean", "value": {} }, "start": { "type": "Boolean", "value": {} }, "smart_weather": { "type": "Enum", "value": { "range": [ "sunny", "cloudy", "rainy", "snowy" ] } } }, "status": { "switch": true, "start": false, "smart_weather": "sunny" }, "home_assistant": { "name": "Valve 1", "name_by_user": null, "disabled": false, "disabled_by": null, "entities": [] } } }

Device specifications (please complete the following information, which can be found in log): Same device's id, like this:

Tuya IoT API Explorer -> Device Management -> Query Device Details { "result": { "active_time": 1694148480, "category": "ggq", "create_time": 1694147761, "custom_name": "Valve 1", "icon": "smart/icon/ay1545813662186VvWHx/16148380366d4a58fe3fa.jpg", "id": "bfcd049856667c2832etrj", "ip": "", "is_online": true, "lat": "31.8700", "local_key": "", "lon": "34.7400", "model": "QT-06Z-01", "name": "智能水阀", "product_id": "a7sghmms", "product_name": "智能水阀", "sub": true, "time_zone": "+03:00", "update_time": 1694148480, "uuid": "a4c13844e9c8a9ea" }, "success": true, "t": 1694804505946, "tid": "50dc7f4053fa11ee9c466290808f65d7" }

Tuya IoT API Explorer -> Device Control -> Query Properties { "result": { "properties": [ { "code": "switch", "custom_name": "", "dp_id": 1, "time": 1694668066131, "value": true }, { "code": "start", "custom_name": "", "dp_id": 2, "time": 1694668509638, "value": false }, { "code": "timestamp1", "custom_name": "", "dp_id": 101, "time": 1694668412587, "value": "08:13:29" }, { "code": "timestamp2", "custom_name": "", "dp_id": 102, "time": 1694668509829, "value": "08:15:07" }, { "code": "mode", "custom_name": "", "dp_id": 103, "time": 1694668066240, "value": 0 }, { "code": "num", "custom_name": "", "dp_id": 104, "time": 1694723657585, "value": 0 }, { "code": "interval", "custom_name": "", "dp_id": 105, "time": 1694668066446, "value": 0 }, { "code": "temp", "custom_name": "", "dp_id": 106, "time": 1694668143149, "value": 0 }, { "code": "smart_weather", "custom_name": "", "dp_id": 107, "time": 1694668065712, "value": "sunny" }, { "code": "battery", "custom_name": "", "dp_id": 108, "time": 1694668054954, "value": 80 }, { "code": "cyc_irriga_param", "custom_name": "", "dp_id": 109, "time": 1694668411230, "value": "EQAAAAAAAAQ=" }, { "code": "counter1", "custom_name": "", "dp_id": 110, "time": 1694668102600, "value": 34 }, { "code": "counter2", "custom_name": "", "dp_id": 111, "time": 1694668508681, "value": 4 }, { "code": "other", "custom_name": "", "dp_id": 112, "time": 1694673506150, "value": "1" }, { "code": "timer_custom", "custom_name": "", "dp_id": 113, "time": 1694148480708 }, { "code": "counter_custom", "custom_name": "", "dp_id": 114, "time": 1694668509936, "value": "00:01:38,4" }, { "code": "time_zone", "custom_name": "", "dp_id": 115, "time": 1694148480708, "value": 0 } ] }, "success": true, "t": 1694802715713, "tid": "25d4032e53f611ee9c466290808f65d7" }

貢獻者指南