Echo Devices (Alexa) as Media Player - Testers Needed

I received an update notification from Alexa Media Player in my Home Assistant. I believe it is with these changes. I just updated and the integration was re-established.

The update didn’t solve it. Alexa Media Player integration stopped working again and ECHO devices are unavailable in Home Assistant. I deleted the integration and try to re-authenticate and the validation on the Amazon website doesn’t finish.

Just a note that the latest update seems to have fixed this strange problem. Volume changes on an echo are now reflected in HA within a second or so, like they used to be. Yay :slight_smile:

Thanks for the amazing work!!!

2 Likes

I can confirm that. Just tested.

Having all kinds of issues so I uninstalled AMP and removed from my HACS repository. When trying to reinstall, it states that HA 2021.12 is required. That is not available yet. Any suggestions on what I am doing wrong?

Same here, I had to roll back to v3.10.13

That’s a HACS bug.

You need to install 3.10.12 for any version of HA below 2021.12. 3.10.14 requires 2021.12.
If HACS won’t let you install because you’ve completely removed, then you’ll have to manually install a release.

EDIT: I went ahead and turned the 3.10.14 to a pre-release. This should avoid the HACS bug for now.

Thanks, I rolled back to a previous version and was able to get it reinstalled.

The reason I was trying reinstall was because none of my echos will play from Home Assistant if “standby” is the state. I have to wake them via a voice command and only then can I control from Home Assistant. Is this a known issue and something that I can overcome?

The media player UI may become stale after a certain period and then play/pause won’t resume what was there before. Essentially, the media player actually changes to nothing loaded to play so that’s why play/pause don’t work anymore. There is no state change for our component to catch though. That appears to be an Amazon limitation. However, if you issue a media_play command it should start working.

I have a Sengled bluetooth bulb that added by Alexa, is it possible to expose this bulb to home assistant? I looked the devices for this integration, only see echo dot and firetv, this bulb is not there.

most likely you cant control it directly.
but you can create an input booleand that sends 2 commands to alexa.
alexa, turn bulb off
alexa, turn buld on

1 Like

Did you do these steps? It is experimental so no guarantees it will work

Although this may only be for devices that are connected directly using Zigbee

1 Like

thx for pointing that part out.
didnt know that that was already there.

I am trying to find the attribute that will tell me if an Echo device is on-line but have been able to locate it. Can someone post the name? I assume it is attached to an entity?

Thanks!

Thanks. Do you have any example code I am referencing too?

Thanks. I enabled this option and rebooted HA, the bluetooth bulb is not showing up in HA. I think this doesn’t work for my case.

nope, because i dont use a recent HA :wink:
but i know that the mediaplayer has a service that you can use to send commands to alexa.
and you can connect services to booleans.

1 Like

It’s the custom command. Home · alandtse/alexa_media_player Wiki · GitHub probably tied to an input boolean. How to make a input Boolean switch? - #7 by SteveDinn. One difference is we won’t have a value sensor for state, but you can probably set it manually depending on the last command.

2 Likes

Just reporting back that my bluetooth light connected via alexa/echo dot is now available in HASS.

When I tested 9 days ago (rebooted HA) the light was not there. Today I am trying to use the custom command way and trying to add an input boolean, and surprisingly found the entity is already there! Not sure why, I did have a few more reboots since 9 days ago though.

seems like my announcement to more than one echo isn’t working. Not sure when it started. It will announce to first echo, but not second. Here is my code.

alias: Garage Door opened
description: ''
trigger:
  - platform: device
    device_id: 6d2fe2ea6e1b466a9f09f75f2df390d1
    domain: cover
    entity_id: cover.garage_door
    type: opened
condition: []
action:
  - data:
      data:
        type: announce
      message: The Garage Door just opened.
      target:
        - media_player.twilight_zone
        - media_player.office_dot
      title: Attention
    service: notify.alexa_media
mode: single