# \[APP\]\[Pro\] Alexa - Control your Amazon devices from Homey

**URL:** <https://community.homey.app/t/app-pro-alexa-control-your-amazon-devices-from-homey/8356>\
**Category:** Apps\
**Created:** [January 31, 2019, 8:04am UTC](https://community.homey.app/t/app-pro-alexa-control-your-amazon-devices-from-homey/8356 "2019-01-31T08:04:01Z")\
**Posts on this page:** 20\
**Page:** 93

<div class="post-metadata">

**Author:** ![Jamie](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jamie/32/5274_2.png) [@Jamie](https://community.homey.app/u/Jamie)\
**Post date:** [July 11, 2024, 10:17am UTC](https://community.homey.app/t/app-pro-alexa-control-your-amazon-devices-from-homey/8356/1873 "2024-07-11T10:17:46Z")

</div>

Thanks @DarrenJ I appreciate the update. I don’t have the disconnect issues others have so it can be a bit of a black box.

---

<div class="post-metadata">

**Author:** ![DarrenJ](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/darrenj/32/79161_2.png) [@DarrenJ](https://community.homey.app/u/DarrenJ)\
**Post date:** [July 12, 2024, 2:49am UTC](https://community.homey.app/t/app-pro-alexa-control-your-amazon-devices-from-homey/8356/1874 "2024-07-12T02:49:47Z")

</div>

Sorry just discovered another disconnect

---

<div class="post-metadata">

**Author:** ![KristofSzirmay](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kristofszirmay/32/104037_2.png) [@KristofSzirmay](https://community.homey.app/u/KristofSzirmay)\
**Post date:** [July 12, 2024, 10:17am UTC](https://community.homey.app/t/app-pro-alexa-control-your-amazon-devices-from-homey/8356/1875 "2024-07-12T10:17:25Z")

</div>

With the test version, I have no difference.  
I can only add devices if I go North America (I am here in Hungary), but okay. Otherwise connection timeout and does not find the wall swtiches under “smart plug”, it finds only my 3 Alexa Shows.

I added the switches, clicked the one room’s where I am sitting… nothing happens… and after 1 minute, it switched up. Okay, I clicked again, sitting here for 5 minutes and it is still on.  
So it is still not usable for me ☹ (after 2 more minutes it switched off itself, but in Homey dashboard it shows ON)

---

<div class="post-metadata">

**Author:** ![Jamie](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jamie/32/5274_2.png) [@Jamie](https://community.homey.app/u/Jamie)\
**Post date:** [July 12, 2024, 12:20pm UTC](https://community.homey.app/t/app-pro-alexa-control-your-amazon-devices-from-homey/8356/1876 "2024-07-12T12:20:39Z")

</div>

> [@Jamie](#):
>
> So it _Looks_ like amazon have added some sort of rate limiting to the devices endpoint.
> 
> But it is affecting both looking for new devices as well as attempting to control them, which makes me think something else is going on here. It is possible they changed their API and ill have to hunt down the new one which is … time consuming :
> 
> new devices
> 
> ```auto
> 2024-06-21T13:26:13.214Z [log] [App] Alexa-Remote: No authentication check needed (time elapsed 201029)
> 2024-06-21T13:26:13.214Z [log] [App] Alexa-Remote: Sending Request with {"host":"na-api-alexa.amazon.com","path":"/api/phoenix?includeRelationships=true","method":"GET","timeout":30000,"headers":{}}
> 2024-06-21T13:26:13.540Z [log] [App] Alexa-Remote: Response: {"message":"Too many requests. Try again in some time."}
> 2024-06-21T13:26:13.541Z [log] [App] Alexa-Remote: rate exceeded response ... Retrying once in 57416ms
> 
> ```
> 
> control a diffuser
> 
> ```auto
> 17189767558 [trace] [Bedroom Diffuser] [execute] ✓
> 2024-06-21T13:32:35.761Z [log] [App] Alexa-Remote: No authentication check needed (time elapsed 583576)
> 2024-06-21T13:32:35.762Z [log] [App] Alexa-Remote: Sending Request with {"host":"na-api-alexa.amazon.com","path":"/api/phoenix/state","method":"PUT","timeout":10000,"headers":{}}}
> 2024-06-21T13:32:36.066Z [log] [App] Alexa-Remote: Response: {"message":"Too many requests. Try again in some time."}
> 2024-06-21T13:32:36.067Z [log] [App] Alexa-Remote: rate exceeded response ... Retrying once in 32667ms
> 
> ```
> 
> I don’t know anyone else who is doing what I did here, but I wrote it many years ago now, so perhaps someone else now is? SO if you find someone else with this feature let me know and perhaps they have solved what is going on here already.

Did you see this?

---

<div class="post-metadata">

**Author:** ![Andy\_Henderson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/andy_henderson/32/80642_2.png) [@Andy\_Henderson](https://community.homey.app/u/Andy_Henderson)\
**Post date:** [July 12, 2024, 12:54pm UTC](https://community.homey.app/t/app-pro-alexa-control-your-amazon-devices-from-homey/8356/1877 "2024-07-12T12:54:27Z")

</div>

It looks like we’re not the only ones [suffering from this problem](https://github.com/joeyhage/homebridge-alexa-smarthome/issues/129).

tldr: the HomeBridge dev came up with a fix to a ‘429’ error by sending a blank user agent, but there are subsequent reports of the ‘rate exceeded response’ error we’re seeing. They’re suggesting Amazon has intentionally or unintentionally poisoned the API.

Maybe randomising the user agent or adopting something user-specific as part of the UA? Just guessing.

---

<div class="post-metadata">

**Author:** ![Jamie](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jamie/32/5274_2.png) [@Jamie](https://community.homey.app/u/Jamie)\
**Post date:** [July 13, 2024, 10:16am UTC](https://community.homey.app/t/app-pro-alexa-control-your-amazon-devices-from-homey/8356/1878 "2024-07-13T10:16:28Z")

</div>

@Andy_Henderson thank you thats a really great thread with some information ill im hopefull after having a quick look that ill release a fix tonight.

Looks like amazon are specifically targeting apps like mine to stop them, if that is the case this may become a game of wack-a-mole and amazon has a lot more resources than me and my hour of spare time each week.

---

<div class="post-metadata">

**Author:** ![Andy\_Henderson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/andy_henderson/32/80642_2.png) [@Andy\_Henderson](https://community.homey.app/u/Andy_Henderson)\
**Post date:** [July 13, 2024, 10:43am UTC](https://community.homey.app/t/app-pro-alexa-control-your-amazon-devices-from-homey/8356/1879 "2024-07-13T10:43:15Z")

</div>

Best of luck!

FWIW I’m an advocate of [Hanlon’s razor](https://en.wikipedia.org/wiki/Hanlon%27s_razor): “Never attribute to malice that which is adequately explained by stupidity.”

Andy

---

<div class="post-metadata">

**Author:** ![Tom\_Laget](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tom_laget/32/79384_2.png) [@Tom\_Laget](https://community.homey.app/u/Tom_Laget)\
**Post date:** [July 14, 2024, 10:01am UTC](https://community.homey.app/t/app-pro-alexa-control-your-amazon-devices-from-homey/8356/1880 "2024-07-14T10:01:15Z")

</div>

The app is working fine. @HS64 problem sounds like the one I have from time to time with not beeing able to log into any of the Amazon servers. That is an Amazon problem and I solved it by trying over several days and suddenly all OK

---

<div class="post-metadata">

**Author:** ![Jamie](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jamie/32/5274_2.png) [@Jamie](https://community.homey.app/u/Jamie)\
**Post date:** [July 15, 2024, 11:43am UTC](https://community.homey.app/t/app-pro-alexa-control-your-amazon-devices-from-homey/8356/1881 "2024-07-15T11:43:10Z")

</div>

A new version has been released which fixes the smart device connections!

> **[Amazon Alexa](https://homey.app/en-us/app/com.amazon.alexa/Amazon-Alexa/)**
>
> Control your amazon devices from Homey.

I have submitted it to be reviewed by athom and it will roll out automatically.

---

<div class="post-metadata">

**Author:** ![staeff](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/staeff/32/79712_2.png) [@staeff](https://community.homey.app/u/staeff)\
**Post date:** [July 15, 2024, 12:55pm UTC](https://community.homey.app/t/app-pro-alexa-control-your-amazon-devices-from-homey/8356/1882 "2024-07-15T12:55:35Z")

</div>

Just out of interest, what was your fix for this?

---

<div class="post-metadata">

**Author:** ![Pierre\_V](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pierre_v/32/16433_2.png) [@Pierre\_V](https://community.homey.app/u/Pierre_V)\
**Post date:** [July 15, 2024, 1:57pm UTC](https://community.homey.app/t/app-pro-alexa-control-your-amazon-devices-from-homey/8356/1883 "2024-07-15T13:57:20Z")

</div>

Hello, thanks for you app.  
I want to buy an Echo Spot 2024, is you app support it ?

Thanks

---

<div class="post-metadata">

**Author:** ![Jamie](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jamie/32/5274_2.png) [@Jamie](https://community.homey.app/u/Jamie)\
**Post date:** [July 15, 2024, 2:41pm UTC](https://community.homey.app/t/app-pro-alexa-control-your-amazon-devices-from-homey/8356/1884 "2024-07-15T14:41:26Z")

</div>

@staeff when making a request I send through certain headers, for example when you visit ANY website, the sever is sent (in the header) information such as what web “browser” your using. Its called an agent header, I was sending through this information when I made requests on the their old apps API end point, but amazon had started blocking any request using my agent.

So I changed the request header, the issue is never the the ‘code’ that needs to change - I changed a single word … its figuring out whats going on and this app is not a very high priority for me, I really don’t have much spare time. @Andy_Henderson doing the leg work and finding others having the same issue was really the key that fixed this, I just read the thread and applied it to my code. My one device which is connected directly to alexa (a diffuser) started working again.

* * *

@Pierre_V - No, I dont own that device

---

<div class="post-metadata">

**Author:** ![Pierre\_V](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pierre_v/32/16433_2.png) [@Pierre\_V](https://community.homey.app/u/Pierre_V)\
**Post date:** [July 15, 2024, 2:46pm UTC](https://community.homey.app/t/app-pro-alexa-control-your-amazon-devices-from-homey/8356/1885 "2024-07-15T14:46:57Z")

</div>

If you want I may can help you to integrate it

---

<div class="post-metadata">

**Author:** ![staeff](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/staeff/32/79712_2.png) [@staeff](https://community.homey.app/u/staeff)\
**Post date:** [July 15, 2024, 3:01pm UTC](https://community.homey.app/t/app-pro-alexa-control-your-amazon-devices-from-homey/8356/1886 "2024-07-15T15:01:39Z")

</div>

Thanks for the explanation, I didn’t need it as dumbed down 😃 I was interested if you did set the UserAgent to be empty/some other fixed value or if you now use some randomly generated string as one of the replies in the mentioned github issue was suggesting?

I absolutely get that you have better things to do in your life then to maintain this app, but exactly because of this I was wondering why you do not make it open source? I’m sure you are a good guy but still being able to verify the code would also give me a better feeling when entering my Amazon credentials somewhere 😉

---

<div class="post-metadata">

**Author:** ![Kaoh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kaoh/32/9283_2.png) [@Kaoh](https://community.homey.app/u/Kaoh)\
**Post date:** [July 15, 2024, 3:24pm UTC](https://community.homey.app/t/app-pro-alexa-control-your-amazon-devices-from-homey/8356/1887 "2024-07-15T15:24:05Z")

</div>

And that shows how we as homey app developers need support by the community of these apps. Contribute in these ways, provide usefull testing results and help figure out what happens in certain use cases is very valuable

---

<div class="post-metadata">

**Author:** ![Jamie](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jamie/32/5274_2.png) [@Jamie](https://community.homey.app/u/Jamie)\
**Post date:** [July 15, 2024, 3:35pm UTC](https://community.homey.app/t/app-pro-alexa-control-your-amazon-devices-from-homey/8356/1888 "2024-07-15T15:35:15Z")

</div>

All code and apps are reviewed by Athom for that reason.

Regarding security my advice would be if you don’t feel comfortable then don’t do it.

As to why it doesn’t have an open source licence - that’s because a private repo, so as far as I’m aware it can’t use an open source licence.

---

<div class="post-metadata">

**Author:** ![staeff](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/staeff/32/79712_2.png) [@staeff](https://community.homey.app/u/staeff)\
**Post date:** [July 15, 2024, 4:05pm UTC](https://community.homey.app/t/app-pro-alexa-control-your-amazon-devices-from-homey/8356/1889 "2024-07-15T16:05:38Z")

</div>

> As to why it doesn’t have an open source licence - that’s because a private repo, so as far as I’m aware it can’t use an open source licence.

My suggestion was less to what license you should choose (though homebridge-alexa-smarthome and alexa-remote2 both use MIT for example). Please be as restrictive as you want in relation how people are allowed to (re)use your code. But making the code/repository public and allowing people to contribute can potentially allow you to free up more of your time and help the community to add support for their unsupported devices.

---

<div class="post-metadata">

**Author:** ![KristofSzirmay](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kristofszirmay/32/104037_2.png) [@KristofSzirmay](https://community.homey.app/u/KristofSzirmay)\
**Post date:** [July 15, 2024, 4:23pm UTC](https://community.homey.app/t/app-pro-alexa-control-your-amazon-devices-from-homey/8356/1890 "2024-07-15T16:23:18Z")

</div>

I just installed, finally I could choose EU server with success, and it seems to work as well.  
Thank you!

---

<div class="post-metadata">

**Author:** ![Chris\_M](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/chris_m/32/81900_2.png) [@Chris\_M](https://community.homey.app/u/Chris_M)\
**Post date:** [July 17, 2024, 1:10pm UTC](https://community.homey.app/t/app-pro-alexa-control-your-amazon-devices-from-homey/8356/1891 "2024-07-17T13:10:31Z")

</div>

Hi,

Unfortunately, I am not able to integrate my Echo. After I log in to my Amazon account, I always get this error message, regardless of the device.

Am I doing something wrong, what could it be, especially when I read that other users (previous post) don’t seem to have any problems…

Thanks 🙂

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/d/4dd9b220da2762153a7317e4b2bcf31b47941c63.jpeg)

---

<div class="post-metadata">

**Author:** ![Kaoh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kaoh/32/9283_2.png) [@Kaoh](https://community.homey.app/u/Kaoh)\
**Post date:** [July 17, 2024, 2:45pm UTC](https://community.homey.app/t/app-pro-alexa-control-your-amazon-devices-from-homey/8356/1892 "2024-07-17T14:45:29Z")

</div>

@Chris_M did you try the above resolution?

> [@\[APP\]\[Pro\] Amazon - Alexa](https://community.homey.app/t/app-pro-amazon-alexa/8356/1805):
>

[Previous page](https://community.homey.app/t/app-pro-alexa-control-your-amazon-devices-from-homey/8356.md?page=92)

[Next page](https://community.homey.app/t/app-pro-alexa-control-your-amazon-devices-from-homey/8356.md?page=94)
