Echo Devices (Alexa) as Media Player - Testers Needed

I assume thats on an actual echo dot?

It works for me if I send to an actual amazon device, but not if I send to a sonos beam/sonos device that has alexa built in…

Or maybe you have a sonos?

Not sure if its a config issue or a bug.

  1. I have 4 echos setup on my amazon account
  2. I have a household setup with my wife in it
  3. Home assistant (alexa_media) only knows about my amazon account
  4. If i have an automation that sends a push to one of my echos, it will send it correctly to the alexa app on my phone; however my wife does not receive it (i want her to)
  5. I added my wifes amazon account to the home assistant config for alexa_media
  6. Run the automation again, and now we both get the push notification, but we both get it twice

Odd behavior

(Note: This is an awesome custom component that is at the heart of my home automation system. thank you!!! The Push notification capability is going to push my automation’s over the edge!)

I have a sonos playbar, it is not compatible. At least not the TTS section, and probably wont be.

As far as music though. I have a dot setup to play its music by default on my sonos using the alexa app. So when I use this component to play music on that dot, it does play on the sonos.

Of course, I could just play the music on my sonos anyway, so not sure how much of a time saver it is.

hey all sorry for maybe silly question but cannot access the github link for alexa.py.

Any help appreciated

from a fork but worked

Thanks. Please use the wiki. No one will see your post in a few days.

The component sends the notify command to the specified Echo device. That device will then push the notice to any connected accounts as defined by Amazon. You may want to confirm by doing a push using an Alexa app routine to see if you get the double push. If you don’t, then we may need debugging on alexapy to determine why. Probably makes sense to handle it with a DM or a GitHub issue.

That is an older version v0.10.1 which will no longer receive support. Proper instructions for the latest version v1.2.3 here.

2 Likes

After the latest Hassio update I keep getting the following:

Invalid config

The following components and platforms could not be set up:
- alexa_media

Please check config

Did something change?

This is my log:

Setup failed for alexa_media: Component not found.

9:09 AM setup.py (ERROR)

Unable to find component alexa_media

9:09 AM loader.py (ERROR)

super old post, but the ecobee 4 is on sale today, so I had a quick question, Does this in fact work with the ecobee 4. I’m just looking specifically for the notify/tts component part, not worried about the music

Is there a way to pause a playing alexa?

 - service: media_player.state
     data:
       entity_id: media_player.bedroom
       state: paused

Would this work?

Yes, the ecobee 4 works with notify and tts.

Depends. What version of alexa_media do you have? We’re at 1.2.3. Please verify your installation with the instructions here.

Yes, the service. media_player.media_play_pause

1 Like

i am receiving this error in hassio on rpi rasbianstrech

19-04-05 02:06:33 INFO (MainThread) [hassio.addons.git] Load add-on /data/addons/git/9ff8aed5 repository
19-04-05 02:06:33 WARNING (MainThread) [hassio.addons.data] Can’t read /data/addons/git/9ff8aed5/alexa-api/config.json: required key not provided @ data[‘arch’]. Got None

This doesn’t look like an alexa_media issue as we do not use alexa-api. Are you using the built in Alexa component?

this was due to addon whose github link was added in my addon

this was https://github.com/keatontaylor/hassio-addons
i removed it and it had gone.

That hasn’t been maintained for a while. @keatontaylor may say otherwise, but I don’t think it works anymore or will receive any attention. Use the custom_component install instructions.

If you’re an Apple Music subscriber and Echo owner in the UK you may be interested to know that from today you can now (finally!) use Apple Music as a service on your Echo devices. I’ve tested it in this awesome component and it works by adding Apple Music to the media content type;

media_content_type: 'APPLE_MUSIC'

I’m presuming the same is true for my cousins across the pond who have been able to add Apple Music to Echo devices for some months now.

Hopefully this will arrive in other countries soon too.

Did you get a notification from amazon that this service is available now?

Kind of. I got an email this morning as I have subscribed to the regular Echo newsletter but I have been checking the Alexa settings every morning as soon as I wake up so that’s where I first noticed it. I’ve been waiting for this for a long time!

So it is a setting? I thought it is a skill.

The menu item where you could see which music service to choose came under the ‘Settings’ menu item in the app; this was the most obvious way to check for me. But yes, it then presents itself as a skill which you enable and then log in to.

1 Like