Tuya window covering device not responding to control in Homebridge
maguirelin opened this issue · comments
Describe the bug
I am using Tuya Platform plugin, v1.5.0. I have window covering device that is listed as an accessory, but I cannot control it at all from Homebridge, nor Homekit. But I can control it directly using the cloud project from Tuya IOT project.
Expected behavior
The device has up, down and stop. I expect to be able to exercise these three functions, but at the moment, it is not responding to any of the control.
the first screen shot shows all the window covering devices are listed as aceesory, but they all have their status in red, but you can see a highlighted icon in white, it turned white because I clicked on it, but it does not do anything.
The second screen shot shows the device details, all details are the same for all the devices showing the state in red, except the aid, which seems to be a device ID registration.
Device info (please complete the following information, which can be found in log):
request path = /v1.0/iot-01/associated-users/devices
{"active_time":1636942452,"biz_type":0,"category":"cl","create_time":1636866552,"icon":"smart/icon/ay1566735522241p8Jxl/424e26c7d470d0cfccfe546c3a96698f.jpg","id":"bf33f9ae8c182bd753tsbx","ip":"110.141.194.38","lat":"-33.7215","local_key":"e34341826c195fcd","lon":"150.9704","model":"","name":"書房三號","online":true,"owner_id":"27041339","product_id":"u9yxywu4ox06axoj","product_name":"AC1009B","status":[{"code":"control","value":"close"},{"code":"work_state","value":"opening"},{"code":"fault","value":0}],"sub":false,"time_zone":"+11:00","uid":"eu1615031941103mzyxc","update_time":1656141783,"uuid":"47508d0ec977337f"}
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 functions (please complete the following information, which can be found in log):
request path = /v1.0/devices/functions
Same device Id, like this:
{
"category":"cl",
"devices":[
"aaaaaaaaaaa"
],
"functions":[
{
"code":"control",
"desc":"control",
"name":"control",
"type":"Enum",
"values":"{"range":["open","stop","close"]}"
},
{
"code":"percent_control",
"desc":"percent control",
"name":"percent control",
"type":"Integer",
"values":"{"unit":"%","min":0,"max":100,"scale":0,"step":1}"
},
{
"code":"control_back",
"desc":"control back",
"name":"control back",
"type":"Boolean",
"values":"{}"
}
],
"product_id":"xaabybja"
}
Additional context
Add any other context or logs about the problem here.
Thank you for your feedback, we will solve this issue soon
How do I know how long will this take?
Stale issue. we will close the issue soon. If this issue has not been resolved, please update the issue and contact us in time.