Skip to content
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 errors #7

Open
jiribrejcha opened this issue May 26, 2016 · 2 comments
Open

Python errors #7

jiribrejcha opened this issue May 26, 2016 · 2 comments

Comments

@jiribrejcha
Copy link

Hi, after following your Readme instructions, I am getting these errors. Could you please help me fix them?

JIBREJCH:smartthings jibrejch$ python smartthings.py --type motion
Traceback (most recent call last):
File "smartthings.py", line 167, in
ds = st.request_devices(options.device_type)
File "smartthings.py", line 91, in request_devices
switchd['url'] = "%s/%s" % ( devices_url, switchd['id'], )

Many thanks,
Jiri

@dpjanes
Copy link
Owner

dpjanes commented May 26, 2016

Make sure the app can see the devices. Sometimes this takes a little
playing around the SmartThings app.

On Thu, May 26, 2016 at 4:43 AM, jiribrejcha [email protected]
wrote:

Hi, after following your Readme instructions, I am getting these errors.
Could you please help me fix them?

JIBREJCH:smartthings jibrejch$ python smartthings.py --type motion
Traceback (most recent call last):
File "smartthings.py", line 167, in
ds = st.request_devices(options.device_type)
File "smartthings.py", line 91, in request_devices
switchd['url'] = "%s/%s" % ( devices_url, switchd['id'], )

Many thanks,
Jiri


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#7

@timh5
Copy link

timh5 commented Jan 26, 2017

fyi ... i got the same issues and that was because i copy pasted the code directly into terminal, and it didn't preserve the tabs.... i had to reindent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants