¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Crestron - SmartThings Integration Code is Now on Github


 

I took a shot at writing some basic instructions to help people get started. ?Since you just went through this I'd greatly appreciate it if you could review it and make sure it makes sense and follows what you were required to do.

Thanks

Jay

Basic Steps to Install the SmartThings Crestron API and Get it Working

?

1) Add a port forward to your router for the SmartThings Interface and point it to your processor

?

2) Go to the SmartThings Web Site (www.smartthings.com)

?

3) Scroll to the bottom of the page and click on "Developers"

?

4) Login using your SmartThings username and password

?

5) Validate that your location and hub are shown

?

6) Click on My SmartApps and add a new smartapp using the provided groovy code

?

7) Make sure you insert your routers public IP address (typically your mycrestron.com url) and the port you forwarded in step 1 into the goovy code

?

8) Save the code and then publish it "For Me"

?

9) Press the App Settings button at the top of the screen

?

10) Toward the bottom of the page click on OAuth

?

11) Enable OAuth and copy down your Client ID and Secret ID

?

12)? Following the code in the example program add the SmartThings Receiver module to your program with the clientID and Secret ID from step 11 as parameters and the port from step 1 as a 3rd parameter.? Load the program to your processor

?

13) Pulse the Startup Signal and then Pulse the Authenticate Signal.?

?

14) Copy the url from the event log to your browser and use the displayed page to authorize your Crestron processor to access your devices

?

15) Using the SmartThings App on your phone, Goto the marketplace and then select SmartApps.?

?

16) Scroll to the bottom of the screen and select My Apps.

?

17) You should see the CrestronAPI Smart App Listed.? Click on it and use the displayed screen to enable your devices to send updates when your devices change state through the SmartApp

?

18) Pulse the Print_Device_List signal on the Crestron SmartThings Receiver Module.?

?

19) Use the device ID's that are added to the error log to add SmartThings modules to your program to control your devices.? The device ID's need to be added as parameters to these modules.

?

20) You should now be able to control your SmartThings devices through your Crestron program and the outputs of the modules should reflect the state of the devices.??


------ Original Message ------
From: "Jay Basen" <jay.m.basen@...>
Sent: 1/18/2017 1:04:43 PM
Subject: Re: [Crestron] Re: Crestron - SmartThings Integration Code is Now on Github

God to hear it. As I said the process is convoluted and needs to be documented?

Thanks?

Jay


On Jan 18, 2017, at 11:18 AM, rlf79cm@... [Crestron] <Crestron@...> wrote:

?

Got it - I hadn't published my SmartApp which was causing the error.? Thanks for your help!

Join [email protected] to automatically receive all group messages.