open-dash / open-dash-diy

Node.js Open-Dash DIY Solution for internal use only, no external hosting.
GNU Affero General Public License v3.0
16 stars 8 forks source link

Adding Devices #1

Closed thehands1 closed 7 years ago

thehands1 commented 7 years ago

I am getting an error when I click on Get Devices from Smartthings. TypeError: devices.devices.sort is not a function at app.get (C:\open-dash-diy-master\app\controllers\dashboards.js:35:45) at Layer.handle [as handle_request] (C:\open-dash-diy-master\node_modules\express\lib\router\layer.js:95:5) at next (C:\open-dash-diy-master\node_modules\express\lib\router\route.js:131:13)

Oauth2 seems to be OK since it did connect with ST and show me all of my devices when I connected with ST. I then clicked on the Get Devices from Smartthings button and I see this error in the console. I also don't see the weather information at the top of the screen as well.

pstuart commented 7 years ago

think I have fixed this now. Let me know if you get past this issue.