Home Assistant integration for controlling Powered by Tuya (PBT) devices using Tuya Open API, maintained by the Home Assistant Community and Tuya Developer Team.
Its a BENEXMART Wifi DIY Roller Shade Driver Built In Battery Blind Motor. It has a small usb wifi hub which connects to the blind motor. Hope this helps. Regards Sent from Mail for Windows 10 From: tsutsukuSent: 15 July 2021 8:06 amTo: tuya/tuya-home-assistantCc: ictworkshop; MentionSubject: Re: [tuya/tuya-home-assistant] blind Motor ***@***.*** Can you provide your device specifications?—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.
Further to my last email with the Blind Motor product info. Very well done the blind motor is know showing as active all the time, however it would appear it does not know whether the blind is open or closed. Its always showing its open all the time. I hope this helps with your work. Great integration for home assistant by the way. Cheers Sent from Mail for Windows 10 From: tsutsukuSent: 15 July 2021 8:06 amTo: tuya/tuya-home-assistantCc: ictworkshop; MentionSubject: Re: [tuya/tuya-home-assistant] blind Motor ***@***.*** Can you provide your device specifications?—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.
Describe the bug A clear and concise description of what the bug is.
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Home Assistant Version
Device info (please complete the following information, which can be found in log): like this: { "active_time": 1623229189, "biz_type": 18, "category": "cz", "create_time": 1560491945, "icon": "smart/product_icon/cz.png", "id": "aaaaaaaaaaa", "ip": "xxxxxxxxxxxxxxxx", "lat": "30.30286857361191", "local_key": "xxxxxxxxxxxxx", "lon": "120.0639743842656", "model": "", "name": "Living Room Socket", "online": false, "owner_id": "34794909", "product_id": "yfemiswbgjhddhcf", "product_name": "Switch Product", "status": [ { "code": "switch", "value": false }, { "code": "countdown_1", "value": 0 }, { "code": "cur_current", "value": 0 }, { "code": "cur_power", "value": 0 }, { "code": "cur_voltage", "value": 2343 } ], "sub": false, "time_zone": "+08:00", "uid": "xxxxxxxxxxxxxxxxxxx", "update_time": 1625101929, "uuid": "xxxxxxxxxxxxxxxxxx" }
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 }
Additional context Add any other context or logs about the problem here.
The blind motor appears as an entity, but is not available. However the position slider works and the motor operate correctly.
In Home Assistant it states "This entity is currently unavailable and is an orphan to a removed, changed or dysfunctional integration or device."
Im still using the other Tuya integration, which also has issue with the blind motor ie NO percentage positioning.