Alexa not saying voice reply
-
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. -
@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))
-
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 -
@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.
-
-