codetheweb / tuyapi

🌧 An easy-to-use API for devices that use Tuya's cloud services. Documentation: https://codetheweb.github.io/tuyapi.
MIT License
2.07k stars 341 forks source link

Client Secret is no longer 16 digits long #579

Closed Binozo closed 5 months ago

Binozo commented 2 years ago

Describe the bug I am unable to connect to the Api whether I use the cli or the node module. The CLI says There was an issue fetching that device. Make sure your account is linked and the ID is correct. and the Node Module says Key is missing or incorrect..

To Reproduce Follow the Setup

Expected behavior Connect to the Tuya Api

Desktop (please complete the following information):

Binozo commented 5 months ago

Nevermind tried it again and it worked this time

It took me a full day to get this to work. You have to plan that in. This is what I have done: