codetheweb / tuyapi

🌧 An easy-to-use API for devices that use Tuya's cloud services. Documentation: https://codetheweb.github.io/tuyapi.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Client Secret is no longer 16 digits long

Binozo opened this issue · comments

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):

  • OS: Windows 10
  • Node Version v16.14.2

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:

  • Completely reset your device (In this case it was my TCL A/C)
  • Follow the guide
  • Spammed and retried tuya-cli link [...] with resetting until it worked