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

    Conversational Alexa skill not working with Alexa routine

    Scheduled Pinned Locked Moved General Discussion
    4 Posts 2 Posters 923 Views 1 Watching
    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.
    • Mateo FernandezM Offline
      Mateo Fernandez
      last edited by Mateo Fernandez

      I'm trying to execute a command that runs a python script on my pc, the skill is working fine the {{result}} of the script is correct
      But it seems that the only way to run the command with triggercCMD is saying all the phrase "Ejecuta Comando" then alexa ask for the specific trigger name

      I have enabled the "Trigger Command" conversational skill, "Ejecuta Comando" in spanish.

      Is there a way to set up a routine so i can only say one phrase. This is how I made the skill:
      7d464157-07a6-44a4-a12e-fd70b57b5d22-Imagen de WhatsApp 2024-04-16 a las 13.04.46_0764d383.jpg

      When I say the routine activation phrase "Alexa, sube saldo" Alexa turns on the blue light for a second and turns off without activating the skill.

      This is the triggerCMD command:
      `` {
      "trigger": "saldo",
      "command": "python C:\Users\Mateo\Desktop\test\alexaSube\src\workChromeH.py",
      "offCommand": "",
      "ground": "foreground",
      "voice": "saldo",
      "voiceReply": "El saldo de tu sube es {{result}} pesos",
      "allowParams": "false"
      }`

      RussR 1 Reply Last reply Reply Quote 0
      • RussR Offline
        Russ @Mateo Fernandez
        last edited by Russ

        @Mateo-Fernandez, will you please try changing the action to this?

        Alexa, pedirle Ejecuta Comando ejecuta saldo.

        I think it might need to be in Spanish, unless you already know you're able to say to your Echo Dot, "Alexa, ask trigger C M D to run saldo" and it works.

        Russell VanderMey

        Mateo FernandezM 1 Reply Last reply Reply Quote 0
        • Mateo FernandezM Offline
          Mateo Fernandez @Russ
          last edited by

          @Russ Thanks thats it, now its working with the routine in spanish.

          One last question, when running the python script I return the result to Alexa via SendResult.bat file. the problem is sometimes the scripts takes longer than 4 seconds to sent the result and Alexa says "no result"

          I suppose the only solution for this is make the script faster?

          More context: The script is a web scrapping that uses Selenium to search for a value in a website, this value should be sent to Alexa as the result.

          RussR 1 Reply Last reply Reply Quote 0
          • RussR Offline
            Russ @Mateo Fernandez
            last edited by

            @Mateo-Fernandez, yes, unfortunately you'll need to make it faster. Alexa only gives a few seconds before a reply must be returned to Alexa, so TRIGGERcmd has to impose the same time limit.

            Russell VanderMey

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post