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

Alexa not saying voice reply

General Discussion
3
4
633
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.
  • D
    Dave Johnson
    last edited by Nov 7, 2020, 8:46 AM

    Hi @Russ,

    I'm trying to get alexa to pronounce a voice reply after she executes a command, not having much luck:)

    I've got the following command on my raspberry pi:

    {"trigger":"Heating","command":"/home/pi/triggercmd/heating.sh","ground":"background","voice":"heating","voiceReply":"{{result}}","allowParams": "true"}

    I've updated my heating.sh script to run sendresult.sh and return an appropriate result, and I can see the result has been sent successfully in the triggercmd run list. The result is sent well within the 5 second limit.

    Alexa doesn't say anything though after executing the command.

    Any ideas?

    Cheers,
    Dave.

    R 1 Reply Last reply Nov 7, 2020, 5:11 PM Reply Quote 0
    • R
      Russ @Dave Johnson
      last edited by Russ Nov 7, 2020, 5:11 PM Nov 7, 2020, 5:11 PM

      @Dave-Johnson, please confirm you're using the original Alexa skill, not the Smart Home version.

      I just tested it using this skill by saying, Alexa, ask TRIGGERcmd to run result.

      And I heard Alexa say, "result is 19."

      This is my command entry:

       {
        "trigger": "result",
        "command": "python d:\\result.py",
        "offCommand": "",
        "ground": "foreground",
        "voice": "result",
        "voiceReply": "result is {{result}}",
        "allowParams": "false"
       },
      

      This is my python script:

      import os
      result = 'Nineteen'
      sts = os.system(os.environ['USERPROFILE'] + "\\.TRIGGERcmdData\\SendResult.bat "+str(result))
      

      Russell VanderMey

      1 Reply Last reply Reply Quote 0
      • D
        Dave Johnson
        last edited by Nov 7, 2020, 7:50 PM

        Thanks for the reply Russ. I'm using the smart home version, I take it voice replies aren't supported by this?
        I'll give the other version a go!
        Cheers,
        Dave

        R 1 Reply Last reply Nov 7, 2020, 9:47 PM Reply Quote 0
        • R
          Russ @Dave Johnson
          last edited by Nov 7, 2020, 9:47 PM

          @Dave-Johnson, that's correct - the Smart Home version does a better job of matching what you say with your commands because Amazon has a list of your commands ahead of time, but unfortunately it can't support that Voice Reply feature.

          Russell VanderMey

          1 Reply Last reply Reply Quote 0
          • R Russ referenced this topic on Jul 13, 2022, 5:18 PM
          • R Red Sufi referenced this topic on May 25, 2023, 8:51 AM
          1 out of 4
          • First post
            1/4
            Last post