codetheweb / tuyapi

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

Devices cannot be linked #559

Closed martijndierckx closed 2 years ago

martijndierckx commented 2 years ago

I've followed these steps:

  1. Setup Dev account
  2. Created Cloud project in EU
  3. Linked these service APIs: IoT Core, Authorization, Smart Home Scene Linkage
  4. Linked my Tuya app account (tried both the Smart Life app and the Tuya Smart app)
  5. Ran 'tuya-cli wizard'

But the cli-tool keeps saying: "There was an issue fetching that device. Make sure your account is linked and the ID is correct."

If I check the Devices page on the Tuya dev console, it mentions 0 devices:

Screenshot 2022-01-01 at 21 38 04

The lightbulb has been linked correctly to the app. It shows up in the app and I can find the Virtual ID. So what am I missing?

The light: Nedis WIFILT10GDST64

zMastaa commented 2 years ago

I had this same problem, it seemed to be a Data Center issue with authorization with the Tuya App. Change to Central Europe Data Center

martijndierckx commented 2 years ago

Changing from West to Central EU fixed the issue! Thanks