otaviojr / node-red-contrib-smartthings

Allows you to control your devices and get their status using NodeRed
MIT License
32 stars 16 forks source link

Unable to retrieve devices from Smartthings #11

Closed xraken closed 4 years ago

xraken commented 4 years ago

I followed the install instructions but when I try to set up the first node with the SmartThings token I don't know if it is working. I expected the "Device" drop-down to populate with the devices discovered from SmartThings (of that particular type) but it keeps saying "Loading" and it never populates. Not sure what I could be doing wrong. Are there any logs that I can look at?

Also, I have the node red instance running locally on a raspberry pi, when I get to the webhook set up on the Smartthings app should I specify port 1880 or is it just "http://192.168.1.155/smartthings/webhook" ? If the port is defaulted to 80, how can I change it ot a non-default port (I'm using 80 for something else)?

Thanks

burtonjk commented 4 years ago

You will need to deploy a node before it populates your Smartthings in the dropdown.

You need to specify the port, eg: http://192.168.1.155:1880/smartthings/webhook

Hope this helps

xraken commented 4 years ago

Got it working, thanks!

mane-wt commented 4 years ago

Thanx, that was the solution for me too!