#Alexa Media not working
1 messages · Page 1 of 1 (latest)
Hi @royal jay,
Are you sure HA can find that URL? I doubt it... Maybe...
Also you sure it's not https?
it's not whether HA can find the URL, but whether it's publicly accessible from the Internet
i think i put that file on HA
wait
no i mean if i go to file editor and then to the folder WWW i do see the file in there
not sure what that means, its just a simple mp3 no?
is that a problem?
is that URL accessible by Amazon's servers?
or is it just a local IP?
Alexa devices are not local media players
i am not sure what that means, sorry, i literally just took the mp3 file and then draged it and add it in the WWW folder
That IP is an internet domain IP, not a local domain one. Are you telling us your home URL. VERY bad idea...
thats it
wait what, i am confused what did i do now
is it? D:
Well I cannot talk to that ip address. If that is the IP address of your local Home Assistant, as it faces the internet, I suggest you go up and delete that number...
Who's is it? It's still up there, BTW...
In your first message.
In that...
ok
ok so, i have put the file in the WWW folder, how can i tell alexa to play that audio?
i thought that ip/link was to get to the file.
no, hold
It's in the docs, trying to find it, but stuff in www is available under a different name, and you can share other paths as well.
www should be seen as /local I think.
Look in the docs at the homeassistant.yaml file.
can i find it with file editor?
That's the doc.
I manually add my paths like that, but I think if you don't do that stuff, the www folder is mapped to /local/
Try it
To play media from a media source via an action, use the uri scheme media-source://media_source/<media_dir>/<path>. Default media_dir is local.
this?
The file is in www folder, right. Then /local/filename as the path.
without local/www/filname?
Just try things, you'll find it.
she says: sorry direct streaming is not supported
its blocked by amazon not alexa media player or music assistant
You can't play local media to echoes
It has to be a source from the internet or skills
Yeah, I just noticed the point was missed
mh i see, so what would i need to do
should i like put that file on a yt video and then say to alexa to play the yt video?
does that work?
anyone? D:
This is the reason for the Alexa Media Player custom integration. It makes media player entities out of echo devices that appear in HA, but it doesn't change how they work with media, so they can't use the TTS integrations. The custom integration lets you use the notify service instead of TTS, and that uses the usual alexa voice. So you can still get them to say what you want, @royal jay but using a different service. The integration has had many issues and a rough time lately, breaking often.
Google Home speakers are basically chromecasts which can play local media, and they show up in HA as media_players. So TTS works there.
You'll want to check the docs for that integration so see what services you can make use of. I've never used it much other than to test installation issues. When I first used the Alexa Media Player integration many years ago it felt like a hack dependent on Amazon never making any changes on their end, so I stayed away from it.
but i dont have any google home speakers :/
thats why i am trying with alexa
I was explaning the difference
These are all uses for echoes that Amazon doesn't support. You'll have to work within the custom integration and refer to the docs to achieve certain things, like playing music: https://github.com/alandtse/alexa_media_player/wiki#play-music