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

    Multiple voice commands

    Example Commands
    3
    7
    493
    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.
    • MauroM
      Mauro
      last edited by

      How do I create multiple ways to activate a voice command? For example, I created a macro to open a work page using the verb (open), but I would also like to use the verb (start). I was instructed to put a comma between the words, but it didn't work. Here's the command I want to change: open email, open my email, open gmail, gmail, open my personal email

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

        @Mauro, I suggest you create a routine for each of your phrases. Routines let you you can say anything you want, for example, I say "Alexa, open sesame" to run routine that runs the command on my Raspberry Pi that opens my garage door. Both Google Assistant and Alexa allow you to create routines.

        This is my Alexa routine to open my garage door via the TRIGGERcmd Smart Home skill:

        Alexa_Routine_Open_Sesame.jpg

        Russell VanderMey

        Steve LeeS 1 Reply Last reply Reply Quote 0
        • MauroM
          Mauro
          last edited by

          I have 125 trigger commands, it would be a very difficult situation for me to add them one by one. Do you have any suggestions to make this quest less costly?

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

            @Mauro, the "Voice" field for each command only supports one word (or phrase) for that command. A comma in that field will not allow you to say multiple things.

            18fc116e-d0be-4225-8d23-6b40df7fd340-image.png

            If you want to be able to say both of these:

            • Alexa, turn on email
            • Alexa, turn on gmail

            ... you'll need to create two command entries, one with voice = email, and the other with voice = gmail.

            To make that easier you could use the Text Command Editor to copy your command entry and just change the word "email" to "gmail" in the 2nd command entry, like this:

             {
              "trigger": "Open Email",
              "command": "open https://gmail.com",
              "ground": "foreground",
              "voice": "email"
             },
             {
              "trigger": "Open Gmail",
              "command": "open https://gmail.com",
              "ground": "foreground",
              "voice": "gmail"
             },
            

            Russell VanderMey

            1 Reply Last reply Reply Quote 0
            • MauroM
              Mauro
              last edited by

              About voice detection, is it better to create a routine in alexa instead of using triggercmd's voice recognition? Or is the trigger's voice recognition facility parameter the same as Alexa's?

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

                @Mauro, it's the same - TRIGGERcmd uses Alexa for voice recognition.

                There is a difference between the TRIGGERcmd Smart Home skill and the conversational skills in how well Alexa recognizes what you say. That's why I generally recommend the Smart Home skill - it tells Alexa what you might say based on the voice words you specified for computer and command (or just command if it's your default computer), so it only has to find one of those. That's why the conversational skills sometimes say, "could not find a command with voice word X..." In those cases Alexa sent what it thought you said to the TRIGGERcmd server, and it didn't match anything on the server. I hope that makes sense.

                Russell VanderMey

                1 Reply Last reply Reply Quote 0
                • Steve LeeS
                  Steve Lee @Russ
                  last edited by

                  @Russ I've been thinking of using alexa routines, to simplify my command collection. As far as I can see they can't take parameters though, so you need to create multiple similar named routines. 😞

                  Also, as pointed out its a million clicks as they only provide a gui interface, not a nice text based one. Thank goodness TRIGGERcmd has a text file! 😀

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