#Can’t get Alexa to play local mp3 on echo

1 messages · Page 1 of 1 (latest)

potent panther
#

I am trying to get Alexa to play a mp3 on my echo and I can get it to play some amazing default sounds but not a mp3 hosted on my ha server. I know the link to the mp3 is correct because when I access via my browser it brings up the media player and I can listen to it.

When I try to play the mp3 it says it’s having trouble accessing my Simon says skill right now::


alias: Test2
action: notify.alexa_media_echo_dot_5th_gen
data:
  message: "<audio src='http://192.168.50.4:8123/local/sounds/alarm-101soundboards.mp3'/>"
  data:
    type: tts


crystal crystal
#

Does it show somewhere in the docs that you can do that?

buoyant mirage
#

i looked into it a while back but didn't actually do it but i remember a few things. its in documentation somewhere:

it needs to be https with a working certificate
also note that it needs to be 48kbps

crystal crystal
#

If it's like GH, it needs to be externally accessible. I couldn't find anything about it in the AMP docs

buoyant mirage
#

theres some other restrictions lower down too but its all there anyway

#

your not "sending the file" your telling the amazon server where to access the file you want to play and it downloads it and sends it to the alexa device

potent panther
#

My mp3 is set to the proper specifications and I am hosting it externally via Amazon s3 bucket which is publicly available but still get the error. Does anyone have the snippet of code that I can fill in with the link and my media player to try? I’ve tried dozens of examples but they all give the same result.