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

Hi I have recently started using this plugin but I am facing issue with the smart lights. I have been successful adding the accessories to the HomeKit but whenever I am giving some command it does not act to it. I am only facing this issue with smart lights only as I am able to control my smart plug successfully. Please help me with this . #216

Closed Karthiktuli closed 2 years ago

Karthiktuli commented 2 years ago

Describe the bug A clear and concise description of what the bug is.

Screenshots If applicable, add screenshots to help explain your problem.

Login request (please complete the following information, which can be found in log): request path = /v1.0/iot-01/associated-users/actions/authorized-login

like this:

TuyaOpenAPI request: method = post, endpoint = https://openapi.tuyacn.com, path = /v1.0/iot-01/associated-users/actions/authorized-login, params = null, body = {"country_code":86,"username":"XXXXXXXXXXXXX","password":"c44755c3379313db173e53c3e8fb6701","schema":"tuyaSmart"}, headers = {"t":"1626082406842","client_id":"XXXXXXXXXXXXX","nonce":"33341140-e2f4-11eb-abd9-491eaffd7d33","Signature-Headers":"client_id","sign":"2E250AB9256B14F6EAD94DEA9EE0EA8413E7939E7DEAB0B60D8D786B296A7AF8","sign_method":"HMAC-SHA256","access_token":"","lang":"en","dev_lang":"javascript","dev_channel":"homebridge","devVersion":"1.2.1"}

Login response (please complete the following information, which can be found in log): request path = /v1.0/devices/functions TuyaOpenAPI response: {"code":1106,"msg":"permission deny","success":false,"t":1626082407259} path = /v1.0/iot-01/associated-users/actions/authorized-login

github-actions[bot] commented 2 years ago

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

Karthiktuli commented 2 years ago

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

Is there any bug , or i am setting something wrong..?

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.