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

No device while pairing with smart life app #570

Open jpreculeau opened 2 years ago

jpreculeau commented 2 years ago

Hello,

I'm trying to determine device key of my devices in order to use it in an octoprint tuya plugin. I'm using tuyapi for that.

I've made it throught the step 1 to 3 of the how to Linking a Tuya device with Smart Link then I did all the step of the howto Listing Tuya devices from the Tuya Smart or Smart Life apps

And this is the result

pi@octopi:~ $ tuya-cli wizard ? The API key from tuya.com: fvr*** (I've understood that the API Key was in fact the "Access ID/Client ID" of my cloud project) ? The API secret from tuya.com ** (the Access Secret/Client Secret of my cloud project) ? Provide a 'virtual ID' of a device currently registered in the app: ** (found inthe details of the device in the smart life app on IOS) There was an issue fetching that device. Make sure your account is linked and the ID is correct.

And at the end I've found at that in the Link Tuya App Account there is "0" under devices. I wonder what's wrong with the linking of my cloud project and the SmartLife app account.

Off course there is Devices in my acount wich are perfectly working.

Image 5 Tuya_Cloud2 Tuya_Cloud3

image

jpreculeau commented 2 years ago

I've tried to follow the manual method to register a device with the step 4 to 8 and I get this result 👍 ✖ Device(s) failed to be registered! Error: Timed out waiting for devices to connect. at TuyaLinkWizard.linkDevice (/usr/local/lib/node_modules/@tuyapi/cli/node_modules/@tuyapi/link/index.js:161:17) at process._tickCallback (internal/process/next_tick.js:68:7)

I've triple check all parameters. Tried a very simple ssid/pass with only Aa0...9 as character on my box It's the same result.

gcm-explo1t commented 2 years ago

And at the end I've found at that in the Link Tuya App Account there is "0" under devices. I wonder what's wrong with the linking of my cloud project and the SmartLife app account.

I can confirm I have the same problem.

Soleone commented 2 years ago

I have the same problem. Shows 0 devices after connecting via QR code, but I am logged into an app account on mobile and the device is successfully registered there. Just can't import it into the cloud account.

craigcurtin-dev commented 2 years ago

And i have the same problem also

Was using this integration last year and worked fine. Received the emails from Tuya saying my account was going to expire and it did appear to do so as My Home Automation system was not receiving valid data from my Heatpump.

My Heatpump is a fairland and uses their own Tuya App which is how i added it last year (although the portal was different then) it no longer appears to work with the Fairland App.

I will try with the Tuya Smartlife app and report back

mitchoklemen commented 2 years ago

I have the same problem. Shows 0 devices after connecting via QR code, but I am logged into an app account on mobile and the device is successfully registered there. Just can't import it into the cloud account.

Same!

michelefa1988 commented 2 years ago

Same here, an any ideas. work arounds?