Repository metrics
- Stars
- (960 stars)
- PR merge metrics
- (PR metrics pending)
説明
Dear Everyone,
today i tried to integrate smart lock insidae home assistant, and foubd that device unsuported. how i can add it in home assistant??
Door locker
- RAYKUBE Wifi
- R-FG5 Plus
{ "result": { "active_time": 1640452357, "category": "ms", "category_name": "Residential Lock", "create_time": 1640452357, "gateway_id": "", "icon": "smart/icon/ay1555944322208i6Pfh/253252bb2e2821611a8e7b5031bb9587.png", "id": "", "ip": "", "lat": "59.9493", "local_key": "*********", "lon": "30.4744", "model": "SLock", "name": "Smart_Lock", "online": true, "owner_id": "15888644", "product_id": "bljvjx2nsv02dhao", "product_name": "Smart_Lock", "sub": false, "time_zone": "+03:00", "update_time": 1640452359, "uuid": "75303208a4e57c0fd4b9" }, "success": true, "t": 1640459034481 }
Device specifications (please complete the following information, which can be found in log): Same device's id, like this: [2021-07-01 10:18:01,351] [tuya-openapi] Request: method = GET, url = https://openapi.tuyacn.com/v1.0/devices/aaaaaaaaaaa/specifications, params = None, body = None, headers = {'client_id': 'xxxxxxxxxxxx', 'sign': 'xxxxxxxxxxxx', 'sign_method': 'HMAC-SHA256', 'access_token': '213e2d4af5e8d217abc0b104462a9f72', 't': '1625105881351', 'lang': 'en'} 2021-07-01 10:18:01 DEBUG (SyncWorker_1) [tuya iot] Response: { "result": { "category": "cz", "functions": [ { "code": "countdown_1", "type": "Integer", "values": "{"unit":"s","min":0,"max":86400,"scale":0,"step":1}" }, { "code": "switch", "type": "Boolean", "values": "{}" } ], "status": [ { "code": "cur_voltage", "type": "Integer", "values": "{"unit":"V","min":0,"max":2500,"scale":0,"step":1}" }, { "code": "cur_current", "type": "Integer", "values": "{"unit":"mA","min":0,"max":30000,"scale":0,"step":1}" }, { "code": "switch", "type": "Boolean", "values": "{}" }, { "code": "cur_power", "type": "Integer", "values": "{"unit":"W","min":0,"max":50000,"scale":0,"step":1}" }, { "code": "countdown_1", "type": "Integer", "values": "{"unit":"s","min":0,"max":86400,"scale":0,"step":1}" } ] }, "success": true, "t": 1625105881348 }