#Alexa connected devices
1 messages · Page 1 of 1 (latest)
You mean the offical "Alexa Devices" integration? It stopped working for me 4 days ago. No idea how I can fix it...
amazon seems to have shut down part of their API which provided access to echo connected devices. this broke both Alexa Devices and Alexa Media Player (AMP). AMP was "fixed" by no longer accessing that particular API, which makes them work for announcements and such, but "devices connected via echo" do not work
i also have a couple of AQMs and at this point i'm just going to get something else that's locally accessible. i doubt those APIs will be back (just IMO)
@sly bane Alexa Media Player (which can be downloaded via HACS) does work for announcements and playing media on your echo devices
Amazon has confirmed that all Alexa skills are unavailable for thousands of users right now. Myself included. 😦 And here I thought I broke my HA/Alexa integration!
Maybe because it’s unofficial lol
Just to clarify, AMP is not part of HACs. It's a custom integration. HACs is a downloader for custom integrations and they can all be installed without using HACs.
fixed my statement
Hello @hollow veldt could you give some source of your statement about Amazon shutting down their API?
I am currently facing the issue everyone is facing on adding the Alexa devices integration:
2025-07-11 15:06:52.580 ERROR (MainThread) [homeassistant.components.alexa_devices] Unexpected error fetching REDACTED EMAIL data
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 382, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/alexa_devices/coordinator.py", line 54, in _async_update_data
return await self.api.get_devices_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aioamazondevices/api.py", line 809, in get_devices_data
entity_ids_list = await self._get_devices_ids()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aioamazondevices/api.py", line 580, in _get_devices_ids
_, raw_resp = await self._session_request(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<3 lines>...
)
^
File "/usr/local/lib/python3.13/site-packages/aioamazondevices/api.py", line 407, in _session_request
f"Request failed: {HTTPStatus(resp.status).phrase}"
~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/enum.py", line 726, in __call__
return cls.__new__(cls, value)
~~~~~~~~~~~^^^^^^^^^^^^
File "/usr/local/lib/python3.13/enum.py", line 1201, in __new__
raise ve_exc
ValueError: 299 is not a valid HTTPStatus
This goes on an endless loop and I keep getting secondary OTP codes from Amazon via SMS, which tells me the integration keeps trying to log in.
I just got a new Echo Dot so I would like to know if I should just send it back right away, as it will be useless for me unless this integration is working.
Here's the debug log for @viral jetty in case they need it
@wraith bison this is a well know issue since 1 week because Amazon shutted down one endpoint that we use. New library has a fix already
Oh, thank you for confirming this. Anything I can do other than patiently waiting? :)
You can manually upgrade if you know how to proceed, or wait for .2
wait for .2 of what?
Home assistant
2025.07.2 of HA. The monthly releases (i .e. 2025.07) usually are available the first Wednesday of the month, the patches (i.e 2025.07.1, 2025.07.2, etc.) usually are available subsequent Fridays. .2 is a little late.
Edit: you might already know this, but added for anyone who doesn’t.
Having same issue... any idea when 0.2 will be released?
I have AMP (updated to latest 5.7.2) and HA (updated to latest 2025.07.1) -- and AMP is no longer working -- I tried "reauthenticating" and that didn't help.
So whatever "fix" was done either hasn't been released publicly or is still broken
I am not getting temperature or illuminance sensors, but everything else works
@viral jetty should it work? My Echo Dot has got both of them
Log says there is a permanent warning and sensors are skipped. Right ?
2025-07-14 20:25:38.672 WARNING (MainThread) [aioamazondevices] Sensors data not available [/api/phoenix error 'Miscellaneous Persistent Warning'], skipping
Yes
yea phoenix api was shut down
It included all other controls too right?
Or just sensors?
If it weren't useful I'd send back this Echo knowing this, now I need a new sensor for my bedroom
:(
it looks like the folks working on AMP have figured out an alternative way to get the connected devices data, going by what's on their github
so i wouldn't chuck them just yet
We already have a draft for the new queries, we got them from inspecting Alexa Mobile App new endpoints
We are polishing the last things to make them reliable and then we will update the library
I say we as James (jameson_uk) joined me on the effort to get a feature complete and stable library
Thanks for all the work to both. The announce and speak notifiers work well. I created scripts to prompt for a message and then send it to the target device(s). I think I can promote myself from “new to HA” to “knows enough to be dangerous.” 😁
Now if I could just get my Amazon thermostat in HA (without using homebridge).
Getting devices linked to Alexa in HA is currently low priority
We are actively working on:
- stabilize integration for all countries
- re-introduce sensors via graphQL
After that we will add 2 new set of features (hopefully):
- timers/schedules/alarms
- real time websocket updates for media player
Added an official roadmap: https://github.com/chemelli74/aioamazondevices?tab=readme-ov-file#roadmap
I appreciate all the work chemelli
OK, I read that sensor data is from graphQL
I REALLY appreciate the work now
considering how absurdly annoying working with graphQL is
We need to switch both calls ( phoenix and phoenix/state ) to graphQL
a PR is nearly ready if you want to test: https://github.com/chemelli74/aioamazondevices/pull/370
Thank you, I will wait patiently
I don't want to mess with my HA instance
I worked too many hours on it and I'm scared of it now
Hey @viral jetty , let. me know if you need another set of logs regarding https://github.com/home-assistant/core/issues/148777 . I'm also from aus experiencing same symptoms. thanks for your help and support!
Australia seems hard to fix, all the tests we did didn't worked fully
Maybe I can add you to a group here on discord and you can help testing a few variants
Yeah sure, happy to help if I can
Hey @viral jetty , reaching out from: https://github.com/home-assistant/core/issues/149467
Hey Chemelli74, I have my Discord access now. Dabbler68 on Github, and just posted an update on #148777. Thanks for the effort you put into this.
Hey @viral jetty all of the Sensors are Unavailable, Temperature for example, should this already work?
Or is this part of "re-introduce sensors via graphQL" in the future?
Hi @viral jetty I’m having the same issue. Amazon.com.au
API countryOfResidence:
API marketPlaceDomainName:
API marketPlaceLocale:
are all Australia
Can I add you to a group where we are discussing how to proceed ?
Hi @viral jetty , I wrote on https://community.home-assistant.io/t/alexa-devices-we-need-your-help/913288/30?u=gnoupi, so in case you want to reach out to me or add me to a group, here I am 🙂
Hi, can I add you to a group here with other users ?
In the mean time fix your country with https://www.home-assistant.io/integrations/alexa_devices/#troubleshooting
Yes you can add me
Country is good (well, it's FR), kindle location was done much earlier, before other countries had digital libraries, so all the books and purchases are on .com and I'm not going to change that because if anything goes wrong with that, my wife will kill me. She specifically asked me to not change any setting with that.
I’m sorry but as far as I know the API works only if all is aligned
Hm, surprising that the kindle location would influence that, but I understand
I did manage to make it work through the Alexa-media-player extension installed through hacs, but I know they rely on more hacky way to deal with things
We can try to find a more “relaxed” way but should be reliable for all users.
Which url did you use in Alexa media player ?
Hm I don't remember it asking for a url/domain, but looking at the (obfuscated) config files for the integration I see amazon.com
I recently moved my HA from core to a container and hacs is a bit of a mess at the moment so I can't be more precise until I fix that, sorry
We can make a raw try but not now as I don’t have my pc with me at the beach 🏖️
I spent part of my day yesterday trying to figure out why my hacs integrations were not working. Looks like my "HA installed as container on Termux on an android tablet via a method that emulates the concept of a docker installation with proot and other trickery (now packaged as one easy method with https://github.com/George-Seven/Termux-Udocker)" works much better than my previous fighting with core and dependencies..... but apparently pip dependencies in those conditions are messed up and end up being symlinks to temporary locations that are not accessible....
All this to say I thought about digging around in the alexa integration files to see if i can force and bypass my way in, but I have my dose of fixing it up for this weekend 😛
@viral jetty i have the same issue, do you have a solution for ES?
I'm also trying to configure it in Node Red, but without success.
Spain works for a lot of users so I would check your account settings
Did you read all troubleshooting in the docs ?
i'll re-read them again
@viral jetty So I modified quickly the api.py to force the market to amazon.com despite putting FR as country code, and it actually matched the return check, and gave me a list of entities 😄
Then that's not enough because the entities are all borked. So clearly something else needs to be adjusted. Not sure why it would return the list but not their properties, though. Have to debug that properly later.
…ok market is used only for the check, not for further calls, so all I did was bypassing the check. Ah well
The check is there because without it you pass login but then speak and announce won’t work 😉
@viral jetty Ok so I logged in again on my previous instance with alexa_media_player, using amazon.com, and it worked. No other setting was involved.
So I went back to this integration and set it up with USA, and this time it worked. The weird thing is that I did try it earlier with USA, and always got unknown error. But everytime I tried was not the first attempt after reboot, so maybe there is something in that? The configuration wizard does seem to behave weirdly after an error, though I did not try too hard to reproduce that.
So it seems to be working, at least from trying to notify the "speak" entities here and there.
So it raises the question, isn't the marketPlaceDomainName the "one true domain", in this case? Because my account is still associated to FR, yet it seems to work perfectly this way. Or is it yet another edge case?
Bonus point, if we rely on alexa.amazon.{CC}, I think there might be need to check which countries are actually available. Because for example https://alexa.amazon.pl/api/users/me does not respond despite having https://amazon.pl as a proper store page.
{CC} ?
Country code ?
If you take a look at const.py there are some documented cases where it’s not “linear” but for the majority of the countries it is
ah indeed, I see that. Guess "pl" is probably going to be another "AMAZON_DE_OVERRIDE". After all the first storefront for Poland was the DE with a language option, so it would make sense.
I don't actually have a proper pl account to check that, though 😅
Hey @viral jetty
I have same issue https://github.com/home-assistant/core/issues/149467
If you want to test something, feel free to contact me
Ho @jade portal are you from Portugal ?
If so can you edit library files ? I want you to set some values in const.py to test
Yes, I am from Portugal.
I can edit files and test, if you want we can make a call to test and tshoot
I’m on the beach with only my phone
No problem, when u are available tell me what files to edit
So edit cons.py from the library
Add a section for “pt” using alla Spain settings
Show it here and once ok restart and report back
Thx for your time testing
this is the file, right?
Nope
Is from the library, you are looking from integration and not the right one anyway
“pip show aioamazondevices”
Will show you the path
Yes exactly
ok but there are no definitions of Spain
i config PT inside "DOMAIN_BY_ISO3166_COUNTRY" or outside?
Sorry for the late answer but for some reason I don’t get notifications anymore
You should add “pt” node and specify all settings as if it was Spain:
- domain
- openid.assoc_handle
- market
I add PT like this
when I try login, said "Invalid authentication"
all login parameters are correct
File "/usr/src/homeassistant/homeassistant/components/alexa_devices/config_flow.py", line 34, in async_step_user
data = await client.login_mode_interactive(user_input[CONF_CODE])
File "/usr/local/lib/python3.13/site-packages/aioamazondevices/api.py", line 741, in login_mode_interactive
login_method, login_url = self._get_request_from_soup(login_soup)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aioamazondevices/api.py", line 287, in _get_request_from_soup
raise TypeError("Unable to extract form data from response")
With only a extract of the debug log is not easy to get the exact error and place
Sorry but I am very newbie
Can you please explain how to tshoot?
I am available for a call
I’m at the beach so will be in 1 week
No problem
As of 2025.8.0 I no longer have the ‘Everywhere’ speaker group in my Alexa Devices. Has this been removed?
I was having a problem in that HA seemed to be doing everything right but announcements weren’t coming out the Alexa devices. I removed the integration, did the update to 2025.8, reboot, then re added the integration which correctly added all my echo dot and FireTV devices, but ‘Everywhere’ never reappeared.
Any ideas where it’s gone, anyone?
How is everywhere created ? From Alexa mobile app ? From echo dots or other like Sonos devices ?
I honestly don’t know. It was there previously, I didn’t have to create it, so I don’t know what is responsible for it. I was hoping to get some insight from other users more knowledgeable than me.
Your work on this integration, @viral jetty has been phenomenal and it has made my HA experience so much better, I’m not sure if this is a bug or just a different situation from previous installs.
I’ll keep exploring and see if I can figure out what’s changed. In the meantime I’ve worked around by modifying my automations to notify each echo dot individually instead of the everywhere group.
Create a group via Alexa mobile app, restart the integration and you will have a e tity to notify the group 😉
Continuing to be an absolute rockstar, thanks for that. (I hoped to never have to use the Alexa app again, it is terrible; but needs must as the devil drives!)
In assuming everyone else is having the issue of entities missing? Came back a few days ago and now disappeared again?
It depends on country and how many requests Amazon receives
We have a new method to get them but still under testing
Please be patient
No problem, you are doing amazing work and I for one appreciate the work and effort you and others are putting in so we can enjoy the integration.
Thank you bud
Hey! I'm in Australia and have the same issue as all the other Aussies. I'm keen to help in whatever way I can!
It’s hard for AU as we have half of the users working and half not
Which error do you get ?
Two things:
- did you change the main country for the account? (Check again the values the api page gives you, to confirm what you have currently)
- if you have still Amazon.com in the api, maybe do a quick test of setting USA as country? Ideally as first try, so maybe restart HA and add with USA as first try. Mind you I’m not a maintainer, it’s just curiosity stemming from my own experience
yes please
Unfortunately we have a limit of 10 people per group 😭
Need to create a channel in a server instead
Hi @sharp jay
If I am seeing correctly, yes, the country of the account is correct.
I tested it with the US, but I got the message “invalid authentication.”
Please join discussion at https://discord.com/channels/1404882710979285033/1404882711604367432
No access
"You do not have access to this link
This link is for a server or channel to which you do not have access."
Sorry wrong link, here it is: https://discord.gg/5e8JkYkX
Another similarly titled thread? I clicked but it says invalid or expired.
Made a dedicated server to bypass 10 members group limit
I invited you
and will post here the join url a well: https://discord.gg/QYzkfdFw