-
Notifications
You must be signed in to change notification settings - Fork 188
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
Allow wizard to scan for a Device ID to use #331
Conversation
uzlonewolf
commented
Apr 16, 2023
With the "associated-users" API endpoint getting blocked I can see an argument where an empty DeviceID should also kick off a scan, but I do hope we can eventually find another way to get the device list without needing a device ID. |
I wonder why they would restrict this? My only thought is that there could be an attack vector they are trying to harden a bit (e.g. bad actor trying to fetch all of your devices after somehow gaining access somehow to your IoT API credentials). |
I have no idea. I was looking through the "official" Python API implementation at https://github.com/tuya/tuya-iot-python-sdk/blob/main/example/api.py and they get the device list by calling |
Going a bit off topic here, but while looking through that repository I noticed |
Wow! Amazing find!! I wonder how we could capture this info gold? Maybe add it to #260 ? PR merged. Love the scan function! I'll push this as v1.12.4 as a minor patch. |