PSA: Alexa Media Player v4.13.3 breaks all versions of Home Assistant

I don’t want to steal from the ongoing conversation but this all sounds like it would work for me as well. I already have an input boolean in HA that turns on when I start the washing machine and off when it finishes (based on power monitoring).

If I simply expose those to the alexa app, I could have alexa announce the washer is done?

Most of my alexa media player usage is fairly straightforward like that so it would be great to switch it over to the alexa app and not have to worry about AMP working.

Just make a routine in alexa and choose the input boolean as the when smarthome item. When off → announce off.

Thanks. Much easier. Funny how we can overcomplicate things at times.

This thread has gotten so far off the OT and spawned so many off-topic spurs… I just have one question (I don’t have the patience to read through 100 mostly off-topic posts to find out).

Is it safe to install Alexa Media Player V4.13.5 ?

If yes, then say so and close this thread before someone asks, “What is Alexa”?


You mean this version, running on my prod HAOS rig right now? :wink:

Then this thread should be closed.
A pinned thread is not the place to introduce new subjects.

No because people could still update to the bad version, which this thread is about. Notice how the thread only mentions 4.13.3? This info is only about that version.

3 Likes

Hoping to get some clarification if my issue is related to what’s been going on here. I have a low blood sugar alter that sends a tts to my echo dot that’s been working great for months. 2 days ago it stopped working and I get the error in the picture below. Is this related to what’s been going on here, if so is there a way to fix this? I desperately need this to work as it wakes my wife up when her blood sugar is low and I am not home.

I am running:
HA core 2024.10.3
Supervisor 2021.10.2
Amp 4.13.5

Thank God for home assistant, the home assistant form, and the brilliant home assistant users. If it wasn’t for you the home assistant dummies wouldn’t have a chance. I have been fighting with my home assistant. It has been shutting down minutes after bringing it up in the UI and totally shutting down. And having to reboot to have a minute or two to figure out what is wrong. I have been reinstalling 180 meg backups trying to fix the problem to no avail. Guess I should’ve got on the forum first. I read this first message, rebooted my home assistant, went in and stopped Alexa media player and everything seems to be okay. Thanks for home assistant and all of its users. You make it possible for us home assistant dummies to be able to use it.
Thanks again
Dennis

2 Likes

Since then, there’s been an update issued which fixes this issue (4.13.4) - personally I’m running 4.13.6 with no issues.

1 Like

thx for sharing. Im checking this site every time before installing new AMP

I just updated HA after about 8 months of sitting on any updates due to some of the depricated features effecting my automations. So updated today and oddly a couple unrelated things broke. Including this. I’m seeing this in the logs:

2024-11-09 17:33:41.252 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry [email protected] - amazon.com for alexa_media
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 635, in __async_setup_with_context
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/alexa_media/__init__.py", line 333, in async_setup_entry
    await login.login(cookies=await login.load_cookie())
  File "/usr/local/lib/python3.12/site-packages/alexapy/helpers.py", line 137, in wrapper
    return await func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/alexapy/alexalogin.py", line 701, in login
    self._site = await self._process_page(await post_resp.text(), site)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/alexapy/alexalogin.py", line 1460, in _process_page
    error_message += list_item.find("span").string
TypeError: can only concatenate str (not "NoneType") to str

Thoughts?

I had similar issues a couple months ago. I resolved it by deleting my /config/.storage/alexa.media(email blah blah).pickle file and then reauthenticating with Amazon in my Alexa Media Player Integration.

Had this after update as well. Deleteted, restarted, re-downloaded integration, re-added. Working. Here in DE first time after months and tries with several HA-udaptes.

BTW: Had another alexypy directory somewhere (whyever). Deleted it before the procedure above as well.