It did create the smartthings.json file, and all files appear to have been created properly.
I’m seeing an error with CoffeeScript.
Wonder if that is the culprit.
root@raspberrypi:/etc/pydashie# python main.py
Trying to set Host URL
auth..
Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 760, in run
self.function(*self.args, **self.kwargs)
File "/etc/pydashie/repeated_timer.py", line 16, in _run
self.function(*self.args, **self.kwargs)
File "/etc/pydashie/dashie_sampler.py", line 37, in _sample
data = self.sample()
File "/etc/pydashie/smartthings_samplers.py", line 94, in sample
zp_st.updateDimmer()
File "/etc/pydashie/zp_pydashie_interface.py", line 241, in updateDimmer
allDevices['dimmer'] = smartThings.updateDimmer()
NameError: global name 'allDevices' is not defined
Exception in thread Thread-3:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 760, in run
self.function(*self.args, **self.kwargs)
File "/etc/pydashie/repeated_timer.py", line 16, in _run
self.function(*self.args, **self.kwargs)
File "/etc/pydashie/dashie_sampler.py", line 37, in _sample
data = self.sample()
File "/etc/pydashie/smartthings_samplers.py", line 49, in sample
zp_st.updateColor()
File "/etc/pydashie/zp_pydashie_interface.py", line 171, in updateColor
allDevices['color'] = smartThings.updateColor()
NameError: global name 'allDevices' is not defined
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 760, in run
self.function(*self.args, **self.kwargs)
File "/etc/pydashie/repeated_timer.py", line 16, in _run
self.function(*self.args, **self.kwargs)
File "/etc/pydashie/dashie_sampler.py", line 37, in _sample
data = self.sample()
File "/etc/pydashie/smartthings_samplers.py", line 19, in sample
zp_st.updateSwitch()
File "/etc/pydashie/zp_pydashie_interface.py", line 165, in updateSwitch
allDevices['switch'] = smartThings.updateSwitch()
NameError: global name 'allDevices' is not defined
Exception in thread Thread-5:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 760, in run
self.function(*self.args, **self.kwargs)
File "/etc/pydashie/repeated_timer.py", line 16, in _run
self.function(*self.args, **self.kwargs)
File "/etc/pydashie/dashie_sampler.py", line 37, in _sample
data = self.sample()
File "/etc/pydashie/smartthings_samplers.py", line 34, in sample
zp_st.updateContact()
File "/etc/pydashie/zp_pydashie_interface.py", line 177, in updateContact
allDevices['contact'] = smartThings.updateContact()
NameError: global name 'allDevices' is not defined
Exception in thread Thread-9:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 760, in run
self.function(*self.args, **self.kwargs)
File "/etc/pydashie/repeated_timer.py", line 16, in _run
self.function(*self.args, **self.kwargs)
File "/etc/pydashie/dashie_sampler.py", line 37, in _sample
data = self.sample()
File "/etc/pydashie/smartthings_samplers.py", line 64, in sample
zp_st.updatePresence()
File "/etc/pydashie/zp_pydashie_interface.py", line 183, in updatePresence
allDevices['presence'] = smartThings.updatePresence()
NameError: global name 'allDevices' is not defined
Exception in thread Thread-7:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 760, in run
self.function(*self.args, **self.kwargs)
File "/etc/pydashie/repeated_timer.py", line 16, in _run
self.function(*self.args, **self.kwargs)
File "/etc/pydashie/dashie_sampler.py", line 37, in _sample
data = self.sample()
File "/etc/pydashie/smartthings_samplers.py", line 110, in sample
zp_st.updatePower()
File "/etc/pydashie/zp_pydashie_interface.py", line 195, in updatePower
allDevices['power'] = smartThings.updatePower()
NameError: global name 'allDevices' is not defined
Exception in thread Thread-8:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 760, in run
self.function(*self.args, **self.kwargs)
File "/etc/pydashie/repeated_timer.py", line 16, in _run
self.function(*self.args, **self.kwargs)
File "/etc/pydashie/dashie_sampler.py", line 37, in _sample
data = self.sample()
File "/etc/pydashie/smartthings_samplers.py", line 170, in sample
zp_st.updateMode()
File "/etc/pydashie/zp_pydashie_interface.py", line 228, in updateMode
allDevices['mode'] = smartThings.updateMode()
NameError: global name 'allDevices' is not defined
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1836, in __call__
return self.wsgi_app(environ, start_response)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1820, in wsgi_app
response = self.make_response(self.handle_exception(e))
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1403, in handle_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1817, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1477, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1381, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1475, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1461, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/etc/pydashie/main.py", line 318, in javascripts
import coffeescript
ImportError: No module named coffeescript