Echo Devices (Alexa) as Media Player - Testers Needed

If they were previously discovered they may show up as an entity unless you delete them. You’d need to look at your startup logs otherwise to debug the filters. Please make sure you’ve reviewed the wiki on how to name devices for exclusion or inclusion.

Could this be added in the future? The Fire TV Cube pauses the content if you call Alexa.

If it’s in the Alexa app, then perhaps we can figure it out. However, Fire TV Cube is owned by Amazon so they have access to things we don’t.

1 Like

is it possible to tell alexa to connect to bluetooth speakers?
i didn’t see any instructions for this.

https://www.amazon.com/gp/help/customer/display.html?nodeId=GG8S76D3BYTGC424&ref_=d6k_applink_bb_marketplace

Yes

thanks found it.
is this the way?

His answer, “yes”, is a hyperlink.

Hey, were you able to get this to work? Trying to accomplish the same thing and seem to have hits the same road block you have. Thanks.

With the latest release I’ve finally set up lokalise for alexa media player. This means if you would like to add some translations to the config flow, you can do it by joining our translation team. Please see the Translation page for details.

Well enough for my needs:

card:
  entities:
    - entity: sensor.kitchen_echo_next_timer
    - entity: sensor.lounge_echo_next_timer
    - entity: sensor.dot_next_timer
  type: entities
conditions:
  - entity: sensor.kitchen_echo_next_timer
    state_not: unavailable
  - entity: sensor.lounge_echo_next_timer
    state: unavailable
  - entity: sensor.dot_next_timer
    state: unavailable
type: conditional

I never came back to it but it really only works with the Kitchen timer (which is the main one I use). I should tidy it up but the main point is that using a conditional card you can swing it.

According to https://github.com/custom-components/alexa_media_player/wiki#known-available-sounds, the echo device can play listed sounds, are there any other sounds can be played and where to find it? is it possible to setup play my own mp3 sound?

Thanks.

mp3

1 Like

Hi all!

I’ve been enjoying this custom component for months now. It really elevate my automations (also impresses the visitors).

One of the most useful integrations I have now is that Alexa is calling every echo devices whenever someone left the freezer door opened in the basement. We lost frozen food some time ago because, well, it wasn’t frozen anymore due to kids getting pop-sicles and leaving the door wide opened.

One major downside I experiment is the casual CAPTCHA login issue. I understand the need to authenticate back but I wish I could be alerted the moment it happens.

Is it possible with HA to trigger an automation when a persistent notification is created and contains some keywords? I’m sure someone thought of it before but I can’t find documentation on it. That way I could send a mobile notification the moment I need to enter the CAPTCHA information and get this resolved quicker.

Any help is appreciated. Thanks!

I agree totally. I’m using alexa very intensively (tell the travel time and route to work in the morning, warning for open windows when outside temperature is lower than 15, acknowledging speech orders etc, giving information according to several questions etc.)
But suddenly, without warning, there is an issue, often during the night, and alexa announce doesn’t work. This is annoying because there is no indication and in result the reliability is not given.
The worst situation is, that my wife is angry when missing important information , worst case - believe me :wink:
So I need any indication, that an error appered or something similar which could reduce announce abibility.
Maybe this issue is not related to alexa media alone. It is more or less a general request. But alexa is most important because an error does not appear like a cover which doesn’t work. It happens only in background.

when this happens, will there be error log entry in logfile? if so we can try to monitor the logfile itself.

Yes, there are errors in log file before. But I doesn’t have it available. Long time ago I asked if it is possible to monitor defined error log entries

A workaround is to use a HA automation that periodically launches an Alexa routine that turns on a HA input boolean. Then have the automation monitor the state of the input boolean and send you a notification that the routine failed if the boolean’s state doesn’t change like it would if the Alexa component is working as it should.

Or perhaps have an automation to monitor one of the attributes of one of your Amazon Echoes. When the capcha is needed, does the media_player 's availability attribute show as false or unavailable? Or maybe the media_player’s state is unavailable instead of standby?

1 Like

I’m going to expose an event alexa_media_player/relogin_required for this in the next release . It’s not something I can really test since I don’t control Amazon servers and when they decide to reset your cookies. While I’ll document the event name in the wiki before release, others will have to document the automations in the wiki.

For those who want to play with it, it’s currently a staged PR. I provide no help on playing with PRs (other then bug reports), so only do it if you know what you’re doing. The PR contains some other bug fixes and also some changes to availability/assumed_state reporting.

EDIT: It’s live in 2.9.0. Events page here. I’ll rely on someone to make a working automation.

3 Likes

I’m recently getting lots of 2FA login requests in HA. Several times yesterday. Anybody having the same issue?