-
Hi there, thanks for all the work on this! So, I have everything setup and (mostly) working. I can easily ask Alexa to say something with:
She performs the TTS and speaks in her own voice. Wonderful.
However, when I target the Alexa Media Player device with:
Alexa ends up saying: "Sorry, I'm having trouble accessing your Simon Says NA skill right now." Logs indicate things are OK from the HA side:
The only diff in the posts requests is the A couple caveats.. 1) That URL is not publicly accessible, but it does have a valid SSL certificate. 2) It is accessible on the local network since I am using DNSMASQ. 3) I verified the file exists and is accessible by the Alexa device on that URL (used the Silk browser). I feel like I am missing a config somewhere. However, looking at these, I couldn't tell what I am missing: I'm using latest HA and AMP versions. Am I doing this wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Okay, so I verified the audio files meets the requirements: https://developer.amazon.com/en-US/docs/alexa/alexa-presentation-language/apla-audio.html#audio-input-requirements Checking on: https://developer.amazon.com/en-US/docs/alexa/alexa-presentation-language/apla-audio.html#url-requirements I meet the first 2 (it is not a self-signed certificate, I just temporarily exposed HA to the internet, got a LetsEncrypt cert, then closed it back off -- I use VPN for outside access). But, I checked and my default NGINX proxy does not seem to be adding the CORS header. Checking on that now. Edit: nope, the header didn't help. Edit: Interesting. The audio file must be accessible to the public internet (i.e. Amazon servers), not just the Alexa device. Poking HA back through my firewall temporarily got it working. I'll need to figure out a better solution in the future to get this working. Might setup a VPN-connected serverless component to expose just that folder publicly. |
Beta Was this translation helpful? Give feedback.
Okay, so I verified the audio files meets the requirements: https://developer.amazon.com/en-US/docs/alexa/alexa-presentation-language/apla-audio.html#audio-input-requirements
Checking on: https://developer.amazon.com/en-US/docs/alexa/alexa-presentation-language/apla-audio.html#url-requirements
I meet the first 2 (it is not a self-signed certificate, I just temporarily exposed HA to the internet, got a LetsEncrypt cert, then closed it back off -- I use VPN for outside access). But, I checked and my default NGINX proxy does not seem to be adding the CORS header. Checking on that now.
Edit: nope, the header didn't help.
Edit: Interesting. The audio file must be accessible to the public inter…