New SmartThings integration (2023)
Russ last edited by Russ
As you may have noticed, SmartThings discontinued all Groovy based integrations, so the old TRIGGERcmd integration stopped working.
Now there's a new TRIGGERcmd SmartThings integration. Follow these instructions to set it up:
- Login at https://smartthings.developer.samsung.com/workspace/projects
- Click the NEW PROJECT button
- Click CONTINUE under Device Integration
- Click CONTINUE under SmartThings Cloud Connector
- Name the project and click CREATE PROJECT
- Click REGISTER APP
- Click WebHook Endpoint
- Enter this for the Target URL: https://www.triggercmd.com/oauth/st
- Copy your Client ID (it starts with st-...) from your profile page under "SmartThings Device Cloud Credentials Client ID" and paste it into the Client ID field.
- Choose a random secret and paste that into both the Client Secret field AND the "SmartThings Device Cloud Credentials Client Secret" field on your profile page.
- Fill in Authorization URI with: https://www.triggercmd.com/oauth/authorize
- Fill in Token URI with: https://www.triggercmd.com/oauth/token
- Fill in Alert Notification Email with your own email address.
- When it looks like this, click NEXT:
- Fill in the App Display Name and upload this image and click SAVE.
- Copy and paste these values into the SmartThings App Credentials Client ID and SmartThings App Credentials Client Secret fields on your profile page before you click GO TO PROJECT OVERVIEW
- Click DEPLOY TO TEST
- Open the SmartThings app on your phone.
- Go to the Dashboard>Settings>About SmartThings
- Press “About SmartThings” for 5 seconds.
- Now press “Developer Mode” to enable it.
- Close and open the SmartThings app.
- Tap the + in the upper-right, then tap Add device.
- Scroll down to the bottom and tap My Testing Devices
- Tap TRIGGERcmd
- Log into TRIGGERcmd (if necessary)
- Tap Allow
- You're done!
It will create a virtual switch for each command with the Voice field filled in, just like the Alexa and Google Assistant integrations.
Please note, if you've linked SmartThings to Alexa or Google Assistant it will create an Alexa device for each SmartThings device, so you will get two devices for each command if you also have TRIGGERcmd linked directly to Alexa or Google Assistant.
If you're going to use this SmartThings integration, you'll want to unlink TRIGGERcmd from Alexa and Google Assistant to avoid the duplicate Alexa or Google devices.
It should work like this:
TRIGGERcmd -> SmartThings -> Alexa / Google Assistant