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

SmartThings integration - flip a virtual switch to run a command

Instructions
14
38
19.1k
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.
  • P
    putefabio
    last edited by Mar 7, 2019, 9:41 PM

    hello guys can you please give me some help

    i have triggercmd installed in my pc so i can open kodi, but i have a 32bit version so thats why (i suppose) i dont have the option to parse a cmd so the smartthings switch knows when its on or off.

    that beeing said when i press the switch it open kodi but it stays on (green), then if i close but manually it stays green forever, if i flip it again it goes off but it opens kodi, cause im not using the script.

    well what i want is, can i switch the smartthings switch to a switch that doesnt stay on, it just pushes and goes back to initial state?

    thanks in advance

    R 1 Reply Last reply Mar 7, 2019, 10:48 PM Reply Quote 0
    • R
      Russ @putefabio
      last edited by Russ Mar 8, 2019, 10:49 PM Mar 7, 2019, 10:48 PM

      @putefabio, checkout this post:

      https://www.triggercmd.com/forum/topic/86/actiontiles-tile-with-triggercmd-bookmark-url/14

      It says you can make a small modification to the SmartThings code to make it so the switch goes back off after you flip it on.

      Russell VanderMey

      1 Reply Last reply Reply Quote 0
      • P
        putefabio
        last edited by Mar 7, 2019, 11:08 PM

        thanks a lot for a so quick awnser, that did the trick 🙂

        1 Reply Last reply Reply Quote 0
        • R
          Russ
          last edited by Russ Apr 26, 2020, 9:16 PM Apr 26, 2020, 9:15 PM

          @TigoleBitties, I just tried it and it's working for me. Can you verify your phone has Internet access?

          Also, you installed both the SmartApp and the Device Handler, correct?

          Russell VanderMey

          1 Reply Last reply Reply Quote 0
          • G
            George Hatzisymeon
            last edited by Sep 3, 2020, 5:24 PM

            I am getting an Error saving unnamed page when I click Done on last page.
            Also I am using an account from Google, how shall I skip entering the credentials as you propose?

            R 1 Reply Last reply Sep 3, 2020, 9:12 PM Reply Quote 0
            • R
              Russ @George Hatzisymeon
              last edited by Sep 3, 2020, 9:12 PM

              @George-Hatzisymeon, you mentioned you're using an account from Google. If you do that, then before you can log SmartThings into your TRIGGERcmd account you also need to set your password in your profile in your TRIGGERcmd account. To get to your profile, click your name in the upper-right.

              You installed the device handler and SmartApp, correct?

              Here's a video showing the process: https://www.youtube.com/watch?v=dq-loAiKAgo

              If you still get that error, please post a screenshot. It might help me understand what's happening.

              Russell VanderMey

              1 Reply Last reply Reply Quote 0
              • I
                ipaivaip
                last edited by Feb 25, 2021, 2:11 PM

                @Russ said in SmartThings integration - flip a virtual switch to run a command:

                Handler

                It works like a charm!
                I have just follow the instructions, and had it immediately working. Still good at 2021

                1 Reply Last reply Reply Quote 1
                • R
                  rkstormer
                  last edited by Aug 20, 2021, 2:55 PM

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • R Russ referenced this topic on Aug 8, 2022, 12:15 PM
                  • G
                    George Hatzisymeon
                    last edited by Jan 12, 2023, 5:49 PM

                    It is a couple of days now that the Smart Things automation has stopped to function, I have visited my account in the smartthings site and the UI has completely changed, after I open the triggerCMD app I am getting an error saying:

                    ERROR: Something went wrong. Please try to install the SmartApp again.

                    I think something changed in the Samsung site and triggerCMD looks like is uncompatible, is there any way to fix this? I have tried to reinstall the app but there is no way to install a new app using their new UI.

                    Do you have any idea what is going on?

                    Thanks!

                    1 Reply Last reply Reply Quote 0
                    • G
                      George Hatzisymeon @Russ
                      last edited by Jan 12, 2023, 7:45 PM

                      @Russ It turns out Smartthings has discontinued Groovy apps accrding to this post here. I was using TriggerCMD in conjuction with smart things are you willing to support the new integration mechanisms? Do you have a timeline for this?

                      R 1 Reply Last reply Jan 12, 2023, 10:52 PM Reply Quote 0
                      • R
                        Russ @George Hatzisymeon
                        last edited by Russ Jan 14, 2023, 1:20 AM Jan 12, 2023, 10:52 PM

                        @George-Hatzisymeon, I was worried this day would come. I actually created an integration while ago in anticipation of the Groovy app cutoff. It works great but Samsung won't won't approve it because I don't sell any hardware.

                        I considered selling a hardware device, but when I asked them about it, they said my users would only be able to use SmartThings to work with that hardware, so that wouldn't help.

                        I'm working on a new method that won't require SmartThings approval.

                        I'll post here again when I have it working. I'm hoping by this weekend.

                        EDIT: I just finished the new SmartThings integration. Please try it and let me know if it works for you.

                        Russell VanderMey

                        G 1 Reply Last reply Jan 15, 2023, 7:30 PM Reply Quote 0
                        • R Russ referenced this topic on Jan 12, 2023, 10:53 PM
                        • G
                          George Hatzisymeon @Russ
                          last edited by George Hatzisymeon Jan 15, 2023, 7:31 PM Jan 15, 2023, 7:30 PM

                          @Russ I have successfully followed the instructions for the new integrations but at the final step I was not able to see my triggers as virtual switches. Instead I could only see one switch with the name "edit" and nothing else.

                          In the previous integration I was able to select the triggers that I wanted to be mapped as virtual switches, what is the situation now? why dont I see my triggers in the smart things integration?

                          Thanks!

                          R 1 Reply Last reply Jan 16, 2023, 1:27 PM Reply Quote 0
                          • R
                            Russ @George Hatzisymeon
                            last edited by Russ Jan 16, 2023, 1:28 PM Jan 16, 2023, 1:27 PM

                            @George-Hatzisymeon thanks for trying it and letting me know it's not working. Will you please send me a screenshot of the Smart things values on your profile page and on the Smart things cloud integration page? I might be able to see the problem.

                            Or it's possible it's working but you only have the voice field filled in for your "edit" command. That's what determines which triggers show up as devices now. It uses the same logic as the TRIGGERcmd SmartHome Alexa skill and Google Action. If that's the problem, just fill in the voice field on each command you want to show up as a device in SmartThings.

                            If you send screenshots here that have your secrets, just change them after. Make sure you re-sync up the profile page info with the info in your SmartThings account too of course.

                            You could also direct message me your screenshots.

                            Thank you for your patience. I'm sure we can make this work.

                            Russell VanderMey

                            G 1 Reply Last reply Jan 17, 2023, 11:40 PM Reply Quote 0
                            • G
                              George Hatzisymeon @Russ
                              last edited by George Hatzisymeon Jan 17, 2023, 11:41 PM Jan 17, 2023, 11:40 PM

                              @Russ It works fine what I had to do was to add text to the voice node in the XML configuration file of triggercmd and resync with the app. In previous integration it would show all commands in the smart things app now it picks only those with a voice tag.

                              That is fine! Thanks everything now works as before…

                              R 1 Reply Last reply Jan 18, 2023, 2:42 AM Reply Quote 1
                              • R
                                Russ @George Hatzisymeon
                                last edited by Jan 18, 2023, 2:42 AM

                                @George-Hatzisymeon, awesome. Thanks for testing it.

                                Russell VanderMey

                                1 Reply Last reply Reply Quote 0
                                • JTJ
                                  JT
                                  last edited by Jan 29, 2023, 6:11 AM

                                  @Russ thanks for coming up with a solution so quickly. I followed your instructions and I am up and running again! 👍

                                  1 Reply Last reply Reply Quote 1
                                  • R Russ referenced this topic on Mar 30, 2024, 6:22 PM
                                  • First post
                                    Last post