alandtse / alexa_media_player

This is a custom component to allow control of Amazon Alexa devices in Home Assistant using the unofficial Alexa API.
Apache License 2.0
1.52k stars 289 forks source link

High bandwidth usage incoming from Amazon servers #707

Closed snicker closed 4 years ago

snicker commented 4 years ago

I recently updated my Ubiquiti EdgeMAX router to enable traffic analysis and was quite surprised to see that HA was several gigabytes of incoming data each day. I decided to chase this down today and found that 90% of traffic is incoming from these two IP addresses:

52.26.216.60 Amazon.com, Inc. (AS16509) | ec2-52-26-216-60.us-west-2.compute.amazonaws.com 34.215.231.14 Amazon.com, Inc. (AS16509) | ec2-34-215-231-14.us-west-2.compute.amazonaws.com

I just updated to the latest version of Alexa Media Player moments before submitting this issue.

I don't seem to have any other integrations or applications running on this machine that could be making this much contact to Amazon's servers.

Is there any way to curtail this bandwidth usage? Is this a function of the number of Amazon devices in my household?

System details

Logs Here's a snip from the Darkstat output running on the same machine has HA for only a few minutes image

snicker commented 4 years ago

Update: I've recorded nearly 1.15Gb of incoming data in 75 minutes

alandtse commented 4 years ago

Disable alexa_media and see if it persists. The data downloaded should not be this much.

snicker commented 4 years ago

Yep, not AMP... my apologies for not investigating a little further. off to bang my head on a new wall

snicker commented 4 years ago

FYI, this was my own Zwift component, 🤦, sorry @alandtse

alandtse commented 4 years ago

No biggie. Glad you figured it out.