Echo Devices (Alexa) as Media Player - Testers Needed

Hello guys,

This morning I get the captcha from alexa media player and I can’t get over this…I entered like 50 time the text from image but nothing, tried enter, confirm (to reset) but nothing.
How to get over this?

Thanks.

if i try to update to 2.5.10-2.5.07 it wont start, using 2.5.6 it works, i tryde removing it from hacks,removed it from config and integration. i also remove the created file in config folder.
rebooted and installed 2.5.10- rebooted-went to integration and click on alexa media player and it only blinks nothing else is happening. anyone know what is wrong and how to fix it?

Help with payload for service.
I’m just starting by using the
“notify.alexa_media”
service under developer’s tools but can’t seem to find the correct syntax for the payload without getting an error.
This is my latest attempt (tried it on one line as well):
{
“entity_id”: “media_player.mrs_white”,
“message”: “Help me please”
}
and the resultant error is:
extra keys not allowed @ data[‘entity_id’]
What am I doing wrong please?

Haing the same issue, never get an email or sms. What do you mean by cleared my devices on Amazon website?

Thanks!

your missing the data type add

“data”:{“type”:“tts”},

like this

{
"target":"media_player.mrs_white" ,
"data":{"type":"tts"},
"message": "Help me please"
}

see https://github.com/custom-components/alexa_media_player/wiki/Notification-Component

if you go to the amazon website and log in to your account (just your general account), at the side of the search bar you will see

“Account & Lists”

click on that and select

“Manage your content and Devices”,

here you will see all the devices that are connected to your account.

I removed everything in here except from my echo devices.

in HA i deleted the .pickle file and rebooted HA.

on doing this when I had to do the captch that was all I done, no follow up authentication needed.

and if you want to you can re-login to your amazon apps ( I had to log in to my alexa apps on our phones).

hope that helps, I have no idea why it works but before I tried this I noticed that I had more options to recieve my authorization on than I recognised so I was going in to clean up. I also thought that removing the pickle might reset my authentication request (I never made the link that the two might help together), reset and wow… it worked…

hope that helps you

1 Like

Perfect!
Thank you so much.
If only I had found that wiki page first I would have been OK.
Off to have a play now, thanks again.

Bonjour, de quel fichiers parler vous?
Pour ma part, pas possible d’avoir mes routines ni même de détecter de nouveaux appareils,
Pouvez vous m’expliquer la procédure?
merci beaucoup

Worked for me, thank you. I cleared out my non-Echo devices and added them back in. Needed to do that anyway so I could rename them appropriately for my tablet and my phone.

I did not delete my .pickle file (not sure where it would be).

I uncommented the config for the alexa_media: in my configuration.yaml and restarted HASS.

When I brought up the configure for the new integration I got a “broken picture” for captcha. Tried it on my phone and got the same thing. Typed in “123456” and submitted and then (obviously it failed) I got a captcha picture and was able to pass that. No 2FA code was required.

That was an old post regarding manually installing the component. It no longer applies to current instructions. Have you followed the instructions in the wiki? Installation and Configuration · alandtse/alexa_media_player Wiki · GitHub

Merci pour votre réponse, oui j’ai bien suivi le wiki mais je n’arrive pas à ajouter mes routines

I had to enable two factor authentication to get it to work.

Have you tried it in Developer Tools/Services? For example, create a routine in the Alexa app named Goodnight. The following works for me:

image

If it doesn’t work, does anything regarding this Alexa component work for you?

1 Like

Oui j’ai fait comme vous dites mais sa ne fonctionne pas,et maintenant je n’ai plus le service media_player. Play_media
Sinon j’ai uniquement mes appareils echo qui sont visibles, il se sont mis automatiquement à l’installation de alexia média player
Merci pour votre aide. Je débute avec HA.

When I use notify.alexa_media nothing happens, but when I specifically target a device it works…
Does anybody have a similir issue?

not working:

action:
    - service: notify.alexa_media
      data:
        target: 
          - media_player.alexa_media_echo_dot_wohnzimmer
        data:
          type: tts
        message: "Hey, turn off the TV..."

working:

action:
    - service: notify.alexa_media_echo_dot_wohnzimmer
      data:
        target: 
          - media_player.alexa_media_echo_dot_wohnzimmer
        data:
          type: tts
        message: "Hey, turn off the TV..."

In my logs I found:

Setup of sensor platform alexa_media is taking over 10 seconds.
18:50:27 – Sensor (WARNING)
Setup of switch platform alexa_media is taking over 10 seconds.
18:50:27 – Schalter (WARNING)

The media_player names don’t normally start with alexa_media, at least mine don’t. So it would probably be this:

action:
  - service: notify.alexa_media
    data:
      target: 
        - media_player.echo_dot_wohnzimmer
      data:
        type: tts
      message: "Hey, turn off the TV..."

Alternatively, I believe you can use the friendly name as the target. So that may be something like:

action:
  - service: notify.alexa_media
    data:
      target: 
        - Echo Dot Wohnzimmer
      data:
        type: tts
      message: "Hey, turn off the TV..."
1 Like

That was my mistake. Thanks. Feeling kinda dumb now :wink:

Does anyone know of a way or if it’s possible to set an alarm on an echo device from within HA?

I looked at the docs and didn’t see any examples there.

I was using this wait_template with my google home device:

wait_template: "{{ is_state('media_player.home', 'idle') }}"

And all was working as expected. Now i want to use that template with one of my echo devices and used this template:

wait_template: "{{ is_state('media_player.echo_show_5', 'idle') }}"

But i noticed the echo devices doesn’t go to idle state as it remains always in standby state so the template doesn’t work.

How to change that template to have the automation working again ?

I have been looking for this for a month. You´re a genius. Tks!!

1 Like