Echo Devices (Alexa) as Media Player - Testers Needed

Moved recently, so I’m rebuilding my HA config. Went to add Alexa Media Player and I see a lot has changed!

I’m having issues with the setup though. First few steps are fine, but then it asks me to enter email or sms, and on hitting confirm I get this error-

“Failed to call service configurator/configure. expected string or bytes-like object”

Please open an issue and also turn on debugging for alexapy so we can see where it’s breaking.

Alternatively if you just want it working, you can try using an older version to generate the cookie.

Just a heads up. Using Hass.io on version 0.97.2 I was unable to get it working doing a manual install of 2.0.0 until I rolled back and installed 1.4.1 of alexa_media custom component.

This morning I am getting a notification that I need to sign on to my amazon acct. When I do, I get a message from Amazon to enter a code in my PW field (2FA?)…but then I can’t get back to the logon screen to enter it…

Yes, I can click on the notification again but amazon immediately tells me my pw is incorrect before I can enter that code. Apparently as of today, they want me to log in once with my PW and then once with a code they send me. I can’t enter that code.

I rebooted everything…didn’t help.

Need a solution or I can’t use my echos…

Just to assure you that you are not alone… you are not alone.

It’s broken for me as well as of today. Can’t seem to reconfigure either

I rolled back to v1.4.1 and everything is back working again for my alexa media players.

1 Like

How do you roll back? I use this to make important announcements so I really need to get it working again soon.

Also using 2FA; had to remove the .pickle file before the login process would work again.

I’ve been on v1.4.1 for at least a couple of weeks now. All was working until 9:53Am CDT today. Since that moment I get a notification; “Click button to configure Alexa Media Player - Begin - [email protected]
I click configure, a window pops up with “Please hit confirm to begin login attempt.” and nothing happens.
All Echo media.player entities are gone.

2 Likes

I’ve just updated to v2.0 using HACS on my VENV install and so far so good. :slight_smile:

No more errors in my log on start up either, thanks.

I just did a manual upgrade to v2.0, deleted my .pickle, reloaded, entered Captcha when prompted (had to do it twice for some reason) and… I’m back.
Thanks!

Same exact situation I’m in right now. Where do I find the .pickle file?

/config directory. It’s a . (dot) file so it’s kinda hidden. Just do an rm *.pickle from the command line and that will take care of it.

I’ll assume you can do an ssh to your HA server. If so:
ssh [email protected]
cd /config
rm *.pickle
hassio ha restart

Be careful with that advice.

There may be other .pickle files that it will also remove. I know that I had a feedparser set up at one time and it used a pickle file in the config directory too.

Hello

Can you do this on the dots please? I have announcemnets working perfectly but would like to play a local file like I can on a sonos

  sequence:
    - service: media_player.play_media
      data:
        entity_id: media_player.livingroom_dot
        media_content_id: xxxxx
        media_content_type: "music"

Unless something has recently changed then you can’t play local files on an Echo.

thanks, I didn’t think so the notify will have to do.

All - appears Amazon rolled out the last bits of code allowing announcements to even be on the ole fireTV sticks.

More on connection problems:

When I boot HA, I get a notification to sign on to amazon. When I click on it, a window opens and immediately closes…I open the notification again and I get a capcha that says

“To better protect your account, please re-enter your password and then enter the characters as they are shown in the image below”.

when I enter my pw followed immediately by the captcha I get an error; if I just enter the capcha, the window closes, but the notification is still there…I open it, enter the captcha again and get a message flashing about not finding a string or something like that.

This was working…I made no changes, but suddently I am in this condition where I can’t sign on to my account.