-
Notifications
You must be signed in to change notification settings - Fork 45
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
Python Error #8
Comments
Is it that the app hasn't been authorized to see this device yet? |
I had to change the URL in the python code from "graph.api.smartthings.com" to "https://graph-na02-useast1.api.smartthings.com" and that fixed the same error for me. |
How did you come up with that URL? |
It's the one I log into. I'm a relatively new (three or so months) user and I've been out on a different t server |
Any suggestions on how I should deal with this? Allow for an optional URL On Sun, Jun 19, 2016 at 2:46 PM, jacobbraun [email protected]
|
Could we file a ticket with SmartThings to understand their intent is and design around what answers they may provide? |
Can you do that, since I'm not actually experiencing the issue? On Tue, Jun 21, 2016 at 1:32 PM, Michael Mattsson [email protected]
|
I ran into this issue as well, and the same fix worked. |
Here's some more information that addresses the differences in URLs: https://community.smartthings.com/t/faq-how-to-find-out-what-shard-cloud-slice-ide-url-your-account-location-is-on/53923 |
Thank you all. I will work on a fix for this. |
This is the error that I am getting:
Traceback (most recent call last):
File "smartthings.py", line 148, in
ds = st.request_devices(options.device_type)
File "smartthings.py", line 72, in request_devices
switchd['url'] = "%s/%s" % (devices_url, switchd['id'],)
TypeError: string indices must be integers
The text was updated successfully, but these errors were encountered: