tuya / tuya-home-assistant

Home Assistant integration for controlling Powered by Tuya (PBT) devices using Tuya Open API, maintained by the Home Assistant Community and Tuya Developer Team.
MIT License
874 stars 206 forks source link

Integration Not Working For Tuya Based Apps #223

Open imne opened 3 years ago

imne commented 3 years ago

Describe the bug I Have a ASC which I use for my pool pump which is linked on the "CBI Home" App, also I have a smart plug & LED stip which is connected via "Connex Connect" app, these devices don't get picked up via the Tuya V2 integration. In order to get them to work what I needed to do was download the smartlife app, connect the devices via the smart life app & then add the tuya v2 integration and select smart life. After that the devices get picked up and I'm able to add them to my home assistant

Expected behavior I would expect the devices to get picked up as they are tuya based

Home Assistant Version 2021.7.4

**Device specifications ===1st Device=== { "result": { "active_time": 1627216557, "biz_type": 18, "category": "kg", "create_time": 1619441204, "icon": "smart/icon/ay1568393722790s1w0j/6abbcaa0f077752d24da192083d80cae.png", "id": "bfa41dd4d0016603445kcz", "ip": "XXX.XXX.XXX.XXX", "lat": "XXXXX", "local_key": "XXXXXXXXXX", "lon": "XXXX", "model": "ASC-W-001", "name": "Pool Pump", "online": true, "owner_id": "25978055", "product_id": "yrzel5nutomegk6z", "product_name": "ASC (Wi-Fi)", "status": [ { "code": "switch_1", "value": false }, { "code": "countdown_1", "value": 0 }, { "code": "add_ele", "value": 0 }, { "code": "cur_current", "value": 0 }, { "code": "cur_voltage", "value": 2455 }, { "code": "cur_power", "value": 0 } ], "sub": false, "time_zone": "+02:00", "uid": "eu1613400365682nNwdy", "update_time": 1627217792, "uuid": "a42be2480fdb2f52" }, "success": true, "t": 1627217999576 }

===2nd Device=== { "result": { "active_time": 1627214684, "biz_type": 18, "category": "cz", "create_time": 1619965501, "icon": "smart/icon/ay153323666394154UBr/653ee4c34ac8f22a6654d88b10ec9a1a.png", "id": "1417375050029165ee48", "ip": "XXX.XXX.XXX", "lat": "XXXX", "local_key": "XXXX", "lon": "XXXX", "model": "CC-P1000", "name": "TV Plug", "online": true, "owner_id": "25978055", "product_id": "hzfu3vhaqdbcb7jq", "product_name": " Smart Wi-Fi 3 Pin Plug", "status": [ { "code": "switch_1", "value": true }, { "code": "countdown_1", "value": 0 }, { "code": "cur_current", "value": 264 }, { "code": "cur_power", "value": 111 }, { "code": "cur_voltage", "value": 2428 } ], "sub": false, "time_zone": "+02:00", "uid": "eu1613400365682nNwdy", "update_time": 1627217316, "uuid": "1417375050029165ee48" }, "success": true, "t": 1627218298979 }

===3rd Device=== { "result": { "active_time": 1627214803, "biz_type": 18, "category": "dd", "create_time": 1619966027, "icon": "smart/icon/ay153323666394154UBr/b6d65cd852735f0864de0cc012a8654b.png", "id": "bf96c8077fbd7116e9v0cb", "ip": "XXX.XXX.XXX.XX", "lat": "XXXX", "local_key": "XXXXXXX", "lon": "XXXX", "model": "CC-L1007", "name": "LED Strips", "online": true, "owner_id": "25978055", "product_id": "pziv6njdahielifx", "product_name": "Smart Wi-Fi LED Light Strip", "status": [ { "code": "switch_led", "value": true }, { "code": "work_mode", "value": "colour" }, { "code": "colour_data", "value": "{\"h\":256,\"s\":1000,\"v\":500}" }, { "code": "scene_data", "value": "{\"scene_num\":1,\"scene_units\":[{\"bright\":0,\"h\":46,\"s\":1000,\"temperature\":0,\"unit_change_mode\":\"static\",\"unit_gradient_duration\":13,\"unit_switch_duration\":14,\"v\":716}]}" }, { "code": "countdown", "value": 0 } ], "sub": false, "time_zone": "+02:00", "uid": "eu1613400365682nNwdy", "update_time": 1627217309, "uuid": "139a867b50c80464" }, "success": true, "t": 1627218419347 }

tsutsuku commented 3 years ago

Only Tuya Smart and SmartLife App are supported now.

imne commented 3 years ago

are there any plans to add support for all/additional tuya based apps?