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

Alexa invocation and SmartThings switch questions

General Discussion
5
19
8.6k
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.
  • N
    Nate Hales @Russ
    last edited by Nate Hales Oct 12, 2017, 1:36 AM Oct 12, 2017, 1:34 AM

    @Russ .... I vote to be able to get rid of the computer name "DS" at least for the default computer. .. Alexa, turn on Kodi
    Alexa, turn off Kodi

    Maybe only add the computer name f people have more than one computer. I bet 99% of us only use one main computer.

    R 1 Reply Last reply Oct 12, 2017, 1:36 AM Reply Quote 0
    • R
      Russ @Nate Hales
      last edited by Oct 12, 2017, 1:36 AM

      @Nate-Hales, I think you're right. I'll work on it.

      Russell VanderMey

      N 2 Replies Last reply Oct 12, 2017, 1:36 AM Reply Quote 0
      • N
        Nate Hales @Russ
        last edited by Oct 12, 2017, 1:36 AM

        @Russ If trigger does not force the Default computer name into the name of the smartthings switch ... then my Alexa would throw the smartthings switch no problem. 🙂

        1 Reply Last reply Reply Quote 0
        • ?
          A Former User
          last edited by Oct 12, 2017, 1:41 AM

          This rocks! I am totally launching games like this. "Alexa, Turn on Rocket League". It will also be great for when I rage quit "ALEXA, TURN OFF ROCKET LEAGUE!"

          N 1 Reply Last reply Oct 12, 2017, 2:04 AM Reply Quote 0
          • N
            Nate Hales @A Former User
            last edited by Oct 12, 2017, 2:04 AM

            @Matthew-Cole hahah

            1 Reply Last reply Reply Quote 0
            • N
              Nate Hales @Russ
              last edited by Oct 12, 2017, 3:55 AM

              @Russ STOP CODING!! IT WORKS HOW I WANT ALREADY 🙂 @Neflhiem will like this as well because he can now just speak the name of the switch (without saying anything before it) https://www.triggercmd.com/user/computer/list <--- In here:
              0_1507780399709_russ.png
              I just deleted my computer name (made it blank) and the voice name blank (I had to put one in space-bar to allow it to save) .

              R 1 Reply Last reply Oct 12, 2017, 11:32 AM Reply Quote 0
              • N
                Nate Hales
                last edited by Oct 12, 2017, 5:09 AM

                What am I doing wrong? I am trying to make a .bat file to turn on and off my x-10 lamps... I kinda have no clue how to set up parameters... I just tried to copy you. 🙂 0_1507784819049_Param.jpg

                R 1 Reply Last reply Oct 12, 2017, 11:28 AM Reply Quote 0
                • R
                  Russ @Nate Hales
                  last edited by Russ Oct 12, 2017, 11:36 PM Oct 12, 2017, 11:28 AM

                  @Nate-Hales, your batch file needs == where you have Front Room Lamps

                  if "%1"=="on" curl http://.....%%22A6%%20off%%22
                  if "%1"=="off" curl http://.....%%22A6%%20off%%22
                  

                  Sorry I was lazy and didn't want to type your full URL but I think you know what I mean. The double % signs are to "escape" your % signs so the batch file parser doesn't think %2 is your second parameter.

                  Russell VanderMey

                  1 Reply Last reply Reply Quote 0
                  • R
                    Russ @Nate Hales
                    last edited by Russ Oct 12, 2017, 11:34 AM Oct 12, 2017, 11:32 AM

                    @Nate-Hales, I see what you mean, but there are people with multiple computers (like me) who need to have a actual computer names (not space) to distinguish them.

                    I think I like your original idea - to leave the computer name out of the virtual switch name if it's your default computer.

                    I'm glad you have a work-around in the meantime. I might not have time to finish this change until this weekend. We'll see. I'm eager to get it done.

                    Russell VanderMey

                    1 Reply Last reply Reply Quote 0
                    • ?
                      A Former User
                      last edited by Oct 12, 2017, 11:40 AM

                      wow... well i know what ill be doing tonight when i get in! this looks great @Russ ! Im not good with command line stuff but this looks simple enough to figure out. With all the conversation here it looks like i can pretty much set up everything to work perfectly.. So glad i dropped in to figure this out.. You rock.

                      R 1 Reply Last reply Oct 13, 2017, 12:09 AM Reply Quote 0
                      • R
                        Russ @A Former User
                        last edited by Russ Oct 13, 2017, 12:13 AM Oct 13, 2017, 12:09 AM

                        Thanks @Neflhiem!

                        BTW, now the virtual SmartThings switches for your default computer are named without your computer name. The switches for your non-default computer still have the computer name prefix.

                        Next I'd like to make it so if you only have one computer, then it's automatically your default computer. I should have done that a long time ago.

                        Russell VanderMey

                        1 Reply Last reply Reply Quote 0
                        • ?
                          A Former User
                          last edited by Oct 13, 2017, 6:23 PM

                          Got it up and running. Man.. this is friggin perfect. Seriously.. perfect.

                          R 1 Reply Last reply Oct 14, 2017, 7:16 PM Reply Quote 0
                          • R
                            Russ @A Former User
                            last edited by Oct 14, 2017, 7:16 PM

                            @Neflhiem, I'm glad you got it working. I like how it turned out too. Thanks again for your questions - I wouldn't have thought to implement this if you hadn't asked.

                            Russell VanderMey

                            1 Reply Last reply Reply Quote 0
                            • R Russ referenced this topic on Jan 14, 2023, 1:21 AM
                            16 out of 19
                            • First post
                              16/19
                              Last post