MCPcopy
hub / github.com/alandtse/alexa_media_player

github.com/alandtse/alexa_media_player @v5.15.6 sqlite

repository ↗ · DeepWiki ↗ · release v5.15.6 ↗
669 symbols 2,311 edges 30 files 602 documented · 90%
README

Validate semantic_release hacs_badge GitHub all releases GitHub release (latest by SemVer)

Alexa Media Player Custom Component for homeassistant

What This Is:

This is a custom component to allow control of Amazon Alexa devices in Home Assistant using the unofficial Alexa API. Please note this mimics the Alexa app but Amazon may cut off access at anytime.

Originally inspired and created by Keaton Taylor

What It Does:

Allows for control of Amazon Echo products as home assistant media devices with the following features:

  • Play/Pause/Stop
  • Next/Previous (Track)
  • Volume
  • Retrieval for displaying in home assistant of:
  • Song Title
  • Artists Name
  • Album Name
  • Album Image

Installation and Configuration

Please see the wiki.

Further Documentation

Please see the wiki

Changelog

Please reference the release history.

How to Help

While it'd be nice to have more developers, you can contribute without knowing how to code. You can file bugs/feature requests, help answer questions here and on the HA forums, or you can help with other tasks like translations and updating the wiki.

Translations

We are now on Lokalise. If you're a native speaker, please join the team. See Translations page for more details.

Documentation

The wiki is a group effort to document how to use the component and other useful automations. Don't worry about making mistakes as we can revert using the history.

License

Apache-2.0. By providing a contribution, you agree the contribution is licensed under Apache-2.0. This is required for Home Assistant contributions.

Core symbols most depended-on inside this repo

get
called by 523
custom_components/alexa_media/metrics.py
get
called by 78
custom_components/alexa_media/config_flow.py
safe_get
called by 69
custom_components/alexa_media/helpers.py
has_capability
called by 20
custom_components/alexa_media/alexa_entity.py
add_devices
called by 17
custom_components/alexa_media/helpers.py
is_http2_enabled
called by 17
custom_components/alexa_media/helpers.py
async_send_message
called by 16
custom_components/alexa_media/notify.py
is_local
called by 15
custom_components/alexa_media/alexa_entity.py

Shape

Method 401
Function 197
Class 71

Languages

Python100%

Modules by API surface

custom_components/alexa_media/media_player.py75 symbols
custom_components/alexa_media/sensor.py51 symbols
custom_components/alexa_media/__init__.py51 symbols
tests/test_alarm_control_panel.py45 symbols
custom_components/alexa_media/switch.py44 symbols
tests/test_alexa_entity.py38 symbols
tests/test_helpers.py35 symbols
custom_components/alexa_media/alexa_entity.py34 symbols
tests/test_notify.py29 symbols
custom_components/alexa_media/config_flow.py29 symbols
tests/test_sensor_snooze.py25 symbols
custom_components/alexa_media/light.py25 symbols

For agents

$ claude mcp add alexa_media_player \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact