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

    Alexa not saying voice reply

    General Discussion
    3
    4
    390
    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

      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.

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

        @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

          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

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

            @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
            • RussR Russ referenced this topic on
            • Red SufiR Red Sufi referenced this topic on
            • First post
              Last post