TRIGGERcmd
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    New SmartThings integration (2023)

    Announcements
    smartthings
    3
    10
    304
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Russ
      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:

      1. Login at https://smartthings.developer.samsung.com/workspace/projects
      2. Click the NEW PROJECT button e4281bcb-94d3-4975-a9e8-0de6f92e0a0b-image.png
      3. Click CONTINUE under Device Integration
        3ba2fac5-0a76-48e4-b1de-3717b183163c-image.png
      4. Click CONTINUE under SmartThings Cloud Connector
        73f02a48-0ed5-4732-b1b4-2bf9479a0379-image.png
      5. Name the project and click CREATE PROJECT
        0f481223-6ee4-4118-9630-516069e79bec-image.png
      6. Click REGISTER APP
        6e6af170-2669-48e3-aa1e-307519a2b7ce-image.png
      7. Click WebHook Endpoint
        3bfe740c-4d9c-40ab-94ac-ae91267bda66-image.png
      8. Enter this for the Target URL: https://www.triggercmd.com/oauth/st
        fe7c2a73-99bf-420e-a887-bbb183e08332-image.png
      9. 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.
      10. 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.
      11. Fill in Authorization URI with: https://www.triggercmd.com/oauth/authorize
      12. Fill in Token URI with: https://www.triggercmd.com/oauth/token
      13. Fill in Alert Notification Email with your own email address.
      14. When it looks like this, click NEXT:
        a20b96d0-2aa0-4c5a-b130-b5b2c2862530-image.png
      15. Fill in the App Display Name and upload this image and click SAVE.
        cb6e92e3-fc35-4575-93fa-665152b62679-image.png
      16. 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
        f427a972-0202-4011-b0a7-2ceb94cd6f4e-image.png
      17. Click DEPLOY TO TEST
        d97c72d3-fc52-45b7-a30a-c4e83770183e-image.png
      18. Open the SmartThings app on your phone.
      19. Go to the Dashboard>Settings>About SmartThings
      20. Press “About SmartThings” for 5 seconds.
      21. Now press “Developer Mode” to enable it.
      22. Close and open the SmartThings app.
      23. Tap the + in the upper-right, then tap Add device.
      24. Scroll down to the bottom and tap My Testing Devices
      25. Tap TRIGGERcmd
      26. Log into TRIGGERcmd (if necessary)
      27. Tap Allow
      28. 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

      Russell VanderMey

      D 1 Reply Last reply Reply Quote 0
      • Referenced by  Russ Russ 
      • Referenced by  Russ Russ 
      • Referenced by  Russ Russ 
      • Referenced by  Russ Russ 
      • Referenced by  D David Hess 
      • Pinned by  Russ Russ 
      • D
        djsweeneyiii @Russ last edited by

        @Russ

        With the new Smartthings Integration (2023), I have found that the device type in Google Home is set to Light when linked to Smartthings. In GH I am able to change the Device Type when GH is linked to TRIGGERcmd but with the GH-ST link I am not and have to accept the default which then GH groups as a Light.

        Connected through: SmartThings
        Manufacturer: TRIGGERcmd
        Name from SmartThings: Stair Light
        Device type: Light

        Connected through: TRIGGERcmd Smart Home
        Manufacturer: TRIGGERcmd
        Name from TRIGGERcmd Smart Home: Stair Light
        Device type: Switch

        I'm not sure which method of integration works best for me, ST or GH. I may have a special case, not all of my Tcmd devices are lights. Since GH defaults ST-Tcmd Device Types to Light it groups them into lights. I now have duplicates one identified as a Switch (GH-Tcmd) the other as a Light (ST-Tcmd). The reason for the ST-Tcmd is that I use ActionTiles.com which allows me to create display panels using only ST devices. So if I want Tcmd devices in my ActionTiles panels I have to integrate Tcmd with ST.

        @Russ said in TriggerCMD Commands are assigned device type "light"?

        Russ 1 Reply Last reply Reply Quote 0
        • Russ
          Russ @djsweeneyiii last edited by

          @djsweeneyiii, I'm familiar with ActionTiles. I always meant to setup a tablet with my ActionTiles panel but never did (yet).

          What problem would you have if you un-linked TRIGGERcmd from GH and just used the ST devices with device type Light?

          I could see if there's a way to make the ST devices switches in GH instead of lights if that would help.

          Russell VanderMey

          D 1 Reply Last reply Reply Quote 0
          • D
            djsweeneyiii @Russ last edited by

            @Russ Not all of my Tcmd devices are Lights, I have several devices that are switches. Everything from ST-Tcmd is defined as a light so my switches get grouped with the GH lights. When I execute a GH voice command for lights it will also execute my switches.
            This is a similar issue @Rancor had.

            I don't know if GH-Tcmd devices will show up in ActionTiles because the devices do not show in ST.

            D 1 Reply Last reply Reply Quote 0
            • D
              djsweeneyiii @djsweeneyiii last edited by

              @Russ I am slowly moving away from my Tcmd-X10 system. The New ST integration has prolonged my efforts, since the integration works so well. The only issue is that I cannot get the X10-switch status if I manually operate the switch. Operating the switch via Voice commands or ActionTiles reflects the actual state of the X10 switch.

              Russ 1 Reply Last reply Reply Quote 0
              • Russ
                Russ @djsweeneyiii last edited by

                @djsweeneyiii, I see, so it sounds like it would be better if the ST devices were switches instead of lights, or even better if you could configure some as lights and some as switches like you can with the GH TRIGGERcmd devices.

                Russell VanderMey

                D 1 Reply Last reply Reply Quote 0
                • D
                  djsweeneyiii @Russ last edited by

                  @Russ Yes. It looks like GH will default Switch Device Type to Lights; Light(Switch), but I am able to override this type in GH.

                  1 Reply Last reply Reply Quote 0
                  • G
                    Garcia last edited by

                    @Russ said in New SmartThings integration (2023):

                    https://www.triggercmd.com/oauth/token

                    Hello,

                    I am new in TRIGGERcmd, and need some clarification.
                    I did the install TRIGGERcmd on IFTTT and works perfectly.
                    Now Id like to integrate it in Smartthings. I did install it according to your recommendation, and update my Profile as well as smartthing in developer mode. When adding a device, I can see the option "Mytesting devices", and then "My setup APP" and "Mydevices" but when clicking on the Devices, I see only the 2 basic app: Calculator , Notepad, and none of my own app.

                    any ideas ?

                    Thanks

                    Eric

                    Russ 1 Reply Last reply Reply Quote 0
                    • Russ
                      Russ @Garcia last edited by Russ

                      @Garcia, do you see only Calculator and Notepad listed on this Smart Home Voice Commands page too? If so, you probably haven't given your other commands a voice word yet, so you won't see them in SmartThing either.

                      88f870a6-844e-40a6-86fd-1ffe5b5dde19-image.png

                      If you fill that Voice field in, your commands should show up because the SmartThings integration uses the same logic as the Alexa and Google Assistant integrations for choosing which devices to create.

                      Russell VanderMey

                      G 1 Reply Last reply Reply Quote 0
                      • G
                        Garcia @Russ last edited by

                        @Russ Thanks a lot. It works now.

                        1 Reply Last reply Reply Quote 1
                        • First post
                          Last post