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

    TriggerCMD skill working, but not directly

    General Discussion
    5
    22
    1.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.
    • Lucas RibeiroL
      Lucas Ribeiro
      last edited by Lucas Ribeiro

      I'm also in trouble with alexa, if i use the routine with the command she doesn't say anything and the command doesn't execute, if i try to execute the direct command "turn on suspend" by alexa, she says "sorry it seems there are some error, to control the suspend, try to disable and activate the skill " , I use the TRIGGERcmd Smart Home skill and it worked well, in the last days the problem started, I'm from Brazil

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

        @Lucas-Ribeiro, one thing you can try to troubleshoot is change your voice word, and change it back. That causes Alexa to delete and recreate the Smart Home switch device associated with that command.

        If you tell me the exact time you have the problem, I can look through the logs for clues about what went wrong.

        Russell VanderMey

        Lucas RibeiroL 1 Reply Last reply Reply Quote 0
        • Lucas RibeiroL
          Lucas Ribeiro @Russ
          last edited by

          @Russ I reinstalled it on my Windows and disabled and activate the skill back in and it's working. If it stop, I'll be back here to inform you, thank you.

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

            @Lucas-Ribeiro thank you.

            Russell VanderMey

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

              @Russ Alexa is working perfectly, she returns saying that the command was executed, but nothing happens ... Even if you execute the command manually by clicking on the Routine play

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

                @rafaelramon, does it work if you click the Trigger button on the website?

                Also, is under View Runs, does it say, "Trigger sent from Alexa Smart Home"?

                Russell VanderMey

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

                  @Russ said in TriggerCMD skill working, but not directly:

                  Trigger sent from Alexa Smart Home

                  When executing the command on the website or in the GUI command, the action is executed, the problem is in the communication between Alexa and Trigger, and it happened overnight without any action by me.
                  I have already changed the name of the Alexa call, I have already uninstalled the "Alexa Smart Home Trigger" and installed it again, I have reconfigured everything, but nothing solved the problem;
                  When clicking on an action managed by Alexa, she returns saying that the routine was executed but nothing happens.

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

                    @rafaelramon, that helps.

                    This is the flow:
                    Alexa Routine -> Alexa TRIGGERcmd Smart Home device -> TRIGGERcmd server -> TRIGGERcmd agent -> command

                    You just confirmed these parts work fine: TRIGGERcmd server -> TRIGGERcmd agent -> command

                    Before we work on the Alexa Routine part, we need to make sure this part works:
                    Alexa TRIGGERcmd Smart Home virtual device -> TRIGGERcmd server

                    If you go to https://alexa.amazon.com, under Smart Home, Devices, do you see the device for the command you want to run?

                    They look like this:
                    f7843fca-269d-4e0e-9a9c-55274dd79fb3-image.png

                    Even if you do see it, you should try clicking Remove All, then Discover to re-discover your commands.
                    972ad99e-e03c-447a-a81a-f682bc8b050c-image.png

                    One possible reason for the problem is you might have two commands with the same voice word that are conflicting. Please check that.

                    One way to troubleshoot is backup your commands with a copy/paste from the Text Command Editor to another file, then delete all of your commands except the one you're trying to work on. That way you'll know it's not an issue with two commands conflicting.

                    Russell VanderMey

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

                      @Russ Accessing the page, I see all the devices, exactly as they should.
                      I don't have a command with the same voice, but when doing the test and deleting the routine and also in the Trigger GUI and redoing the command again.
                      What happened was strange, since I didn't make any changes, it just stopped working.
                      So, I think the solution is to erase everything and redo it ... Thank you.

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

                        @rafaelramon, one thing you could try is to delete your computer from your account then close and open the agent. It will prompt you again for your token. When you enter the token it will recreate your computer with all of your commands.

                        Maybe that would fix the Alexa issue because it would recreate your Alexa devices.

                        Russell VanderMey

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

                          @Russ this solved my problem, all the rules were working again. thanks for your attention and patience.

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

                            @rafaelramon, awesome. I still wonder what happened though.

                            Russell VanderMey

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

                              This post is deleted!
                              1 Reply Last reply Reply Quote 0
                              • P
                                PedroMartins
                                last edited by

                                I was facing the same problem, but solved while writing this:

                                If I use the old skill and say "ask trigger CMD to run terço" it works perfect, also works from pressing "trigger" in the website.
                                If I use the new skill and say "turn on terço" it doesn't.

                                What have I tried:

                                • Disabling and enabling the skills.
                                • Deleting and adding the command again.
                                • Removing and discovering the comands again in Alexa.
                                • Removing and re-installing the triggercmdagent.
                                • Changing voice command.

                                Useful info:

                                • Only happens to that command, all the other works fine.
                                • This command is a bash script that open a few chrome pages depending on week day.
                                • I'm using Linux (PopOS 20.04).
                                • I'm using it in portuguese.

                                Then I decide to try changing the Trigger name. I used "batata" (potato in portuguese) and it worked, then I tried "Terço" again and it didn't, then I tried "Terco", it worked. Apparently it is a problem with "ç" in the trigger name (in the voice command is working well). Since english don't have that, it's understandable. It's not a big thing or really a problem, just wanted to inform so if anyone is having the same problem, try that.

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