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

Conversational Alexa skill not working with Alexa routine

General Discussion
2
4
260
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.
  • M
    Mateo Fernandez
    last edited by Mateo Fernandez Apr 16, 2024, 4:11 PM Apr 16, 2024, 4:09 PM

    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"
    }`

    R 1 Reply Last reply Apr 16, 2024, 9:27 PM Reply Quote 0
    • R
      Russ @Mateo Fernandez
      last edited by Russ Apr 16, 2024, 9:28 PM Apr 16, 2024, 9:27 PM

      @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

      M 1 Reply Last reply Apr 17, 2024, 10:40 PM Reply Quote 0
      • M
        Mateo Fernandez @Russ
        last edited by Apr 17, 2024, 10:40 PM

        @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.

        R 1 Reply Last reply Apr 18, 2024, 12:13 PM Reply Quote 0
        • R
          Russ @Mateo Fernandez
          last edited by Apr 18, 2024, 12:13 PM

          @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
          2 out of 4
          • First post
            2/4
            Last post