-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to find devices in wizard #323
Comments
That's odd, I'm seeing this too. Seems the API we are calling suddenly stopped returning devices. I'm looking into it now. |
Hmm, it seems this API is now requiring a |
Many thanks. Very odd that they would change that particular requirement at this point. |
I've encountered this same issue, glad its been caught so fast |
I have a PR in to fix this, though I like having @jasonacox look things over before I merge things just to make sure I didn't do something stupid. In the meantime, as a temporary workaround you can copy or download tinytuya/wizard.py and after line 141 add else:
cloud = tinytuya.Cloud( **config )
# on auth error getdevices() will implode
if cloud.error: to else:
cloud = tinytuya.Cloud( **config )
cloud.use_old_device_list = True
# on auth error getdevices() will implode
if cloud.error: and run it with |
valid lmao, i'll try this in the meantime ty
…On Tue, Apr 11, 2023 at 6:12 PM uzlonewolf ***@***.***> wrote:
I have a PR in to fix this, though I like having @jasonacox
<https://github.com/jasonacox> look things over before I merge things
just to make sure I didn't do something stupid. In the meantime, as a
temporary workaround you can copy or download tinytuya/wizard.py
<https://github.com/jasonacox/tinytuya/blob/master/tinytuya/wizard.py>
and after line 141 add cloud.use_old_device_list = True
else:
cloud = tinytuya.Cloud( **config )
# on auth error getdevices() will implode
if cloud.error:
to
else:
cloud = tinytuya.Cloud( **config )
cloud.use_old_device_list = True
# on auth error getdevices() will implode
if cloud.error:
and run it with python wizard.py
—
Reply to this email directly, view it on GitHub
<#323 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD47KWMSEOQAFGF2JN54673XAWGHTANCNFSM6AAAAAAW2EOKVI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Thanks so much for looking at this so quickly. |
Release fix as v1.12.3. pip install --upgrade tinytuya Please report any issue.... Thanks all! 🙏 |
It seems Tuya made the API we were using private and is now returning a "permission deny" error instead of returning an empty list. The fix in #324 still works. |
Hi, I've been using tinytuya for a while but after upgrading to the latest version, I'm unable to find my devices using the wizard. All of my details have stayed the same but it's returning 0 devices found (in the cloud). If I run the local scan it finds all 8 devices. I've double and triple checked my API key, Secret and example DeviceID but nothing seems to help.
Wondering if you might have any advice?
Many thanks,
Josh
The text was updated successfully, but these errors were encountered: