tuya / tuya-homebridge

Homebridge custom plugin for controlling Powered by Tuya (PBT) devices in HomeKit. This plugin is officially maintained by the Tuya Developer Team.
MIT License
351 stars 180 forks source link

Tuya Wifi Curtain Motor not responding #226

Closed patricktws90 closed 2 years ago

patricktws90 commented 2 years ago

I have added Tuya Wifi Motor model BCM700D-TY01 into Tuya App. Consequently checked the homebridge accessories page.

The curtain motor appeared on the homebridge accessories page and also exposed in homekit Home app.

However, there’s no response on the command to open or close the curtain through the Homebridge web page and also Home app.

The homebridge webpage shows the Curtain Closing status. And it doesn’t command any action on the actual devices. Same goes for the Home app.

Attached picture below. I have tried restarting raspberry pi 4 and gateway but to no avail.

On the Tuya App, the command for the curtain is completely fine working 100% as it is. Just not on homebridge and home app.

I checked the tuya iot platform and the curtain device is online.

Please advice.

7C4416DC-AFCD-4FA3-9267-16820BEC9541

github-actions[bot] commented 2 years ago

Thank you for your feedback, we will solve this issue soon

Hoobs-User commented 2 years ago

I have the same problem with the Wifi curtain motor model BCM700D WiFi (added in the Smart Life app)

github-actions[bot] commented 2 years ago

Stale issue. we will close the issue soon. If this issue has not been resolved, please update the issue and contact us in time.

xrust83 commented 2 years ago

Me to

Remote from Tuya Smart, Homebridge Log

TuyaOpenMQ onMessage: topic = cloud/token/in/6debf85c3764fecd1634838d459d92ca, message = {"data":{"dataId":"71feeef8-48e0-4984-9968-0d0fc783ddce","devId":"2383443410521c4b7ecb","productKey":"XS76BY5Q1uKO6gjC","status":[{"101":100,"code":"position","t":"1655538503","value":100}]},"protocol":4,"pv":"2.0","sign":"b2842eac08a641f2757224156a796b8c","t":1655538503} TuyaOpenMQ onMessage: topic = cloud/token/in/6debf85c3764fecd1634838d459d92ca, message = {"data":{"dataId":"b8d8f422-64b6-40ec-8fff-f7c1e89b39c9","devId":"2383443410521c4b7ecb","productKey":"XS76BY5Q1uKO6gjC","status":[{"102":"STOP","code":"mach_operate","t":"1655538503","value":"STOP"}]},"protocol":4,"pv":"2.0","sign":"821cf16aa4de7801bda7486aa9a7cf75","t":1655538503} TuyaOpenMQ onMessage: topic = cloud/token/in/6debf85c3764fecd1634838d459d92ca, message = {"data":{"dataId":"2d4aeb7c-9f55-4c59-87f4-8e5242a8527f","devId":"2383443410521c4b7ecb","productKey":"XS76BY5Q1uKO6gjC","status":[{"102":"FZ","code":"mach_operate","t":"1655538504","value":"FZ"}]},"protocol":4,"pv":"2.0","sign":"682128280b9cf2a58c00b40d368ec953","t":1655538504} TuyaOpenMQ onMessage: topic = cloud/token/in/6debf85c3764fecd1634838d459d92ca, message = {"data":{"dataId":"36a3df22-ef8f-4f1e-b417-7ea5427e2359","devId":"2383443410521c4b7ecb","productKey":"XS76BY5Q1uKO6gjC","status":[{"101":0,"code":"position","t":"1655538515","value":0}]},"protocol":4,"pv":"2.0","sign":"daf3f4c4cd83667898f14dedb08021f2","t":1655538515} TuyaOpenMQ onMessage: topic = cloud/token/in/6debf85c3764fecd1634838d459d92ca, message = {"data":{"dataId":"90b3f1f6-0a35-4aec-8a47-9b38827a4ce2","devId":"2383443410521c4b7ecb","productKey":"XS76BY5Q1uKO6gjC","status":[{"102":"STOP","code":"mach_operate","t":"1655538515","value":"STOP"}]},"protocol":4,"pv":"2.0","sign":"5af85c3e66384d94b089e004e18af64e","t":1655538515}

TuyaOpenAPI response: {"result":[ its work {"category":"cl","devices":["bf92870a36f700edcchyue","bfd2d8ad56fd09e400btoi"],"functions":[{"code":"control","desc":"control","name":"control","type":"Enum","values":"{\"range\":[\"open\",\"stop\",\"close\",\"continue\"]}"},{"code":"percent_control","desc":"percent control","name":"percent control","type":"Integer","values":"{\"unit\":\"%\",\"min\":0,\"max\":100,\"scale\":0,\"step\":1}"},{"code":"control_back_mode","desc":"control back mode","name":"control back mode","type":"Enum","values":"{\"range\":[\"forward\",\"back\"]}"}],"product_id":"jzmy5ut0vishwscm"},{its not work "category":"cl","devices":["2383443410521c4b7ecb"],"functions":[{"code":"machoperate","desc":"mach operate","name":"mach operate","type":"Enum","values":"👉{\"range\":[\"ZZ\",\"FZ\",\"STOP\"_]}"},{"code":"opposite","desc":"opposite","name":"opposite","type":"Boolean","values":"{}"},{"code":"position","desc":"position","name":"position","type":"Integer","values":"{\"unit\":\"%\",\"min\":0,\"max\":100,\"scale\":0,\"step\":1}"}],"product_id":"XS76BY5Q1uKO6gjC"},{its work "category":"cl","devices":["3847810710521cf4c883"],"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}"}],"product_id":"8wq8cNNPt1bbXgYC"}],"success":true,"t":1655538853151,"tid":"d7fe8d94eedb11eca26a82f07e008233"} path = /v1.0/devices/functions

xrust83 commented 2 years ago

its good works

Code Type Values
control Enum { "range": [ "open", "stop", "close" ] }
percent_control Integer { "unit": "%", "min": 0, "max": 100, "scale": 0, "step": 1 }

its not works

Code Type Values
mach_operate Enum { "range": [ "ZZ", "FZ", "STOP" ] }
opposite Boolean "{true,false}"
position Integer { "unit": "%", "min": 0, "max": 100, "scale": 0, "step": 1 }

xrust83 commented 2 years ago

@Hanh94 help please https://github.com/home-assistant/core/issues/60444

github-actions[bot] commented 2 years ago

Stale issue. we will close the issue soon. If this issue has not been resolved, please update the issue and contact us in time.