Echo Devices (Alexa) as Media Player - Testers Needed

I got question to do the captcha again. After that i recieve 4 errors:

HA Version: 0.102.4
Alexa Add-On Version: 2.3.6

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 192, in async_setup
    hass, self
  File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 60, in async_setup_entry
    return await hass.data[DOMAIN].async_setup_entry(entry)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 151, in async_setup_entry
    raise ValueError("Config entry has already been setup!")
ValueError: Config entry has already been setup

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 192, in async_setup
    hass, self
  File "/usr/src/homeassistant/homeassistant/components/switch/__init__.py", line 79, in async_setup_entry
    return await hass.data[DOMAIN].async_setup_entry(entry)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 151, in async_setup_entry
    raise ValueError("Config entry has already been setup!")
ValueError: Config entry has already been setup

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 192, in async_setup
    hass, self
  File "/usr/src/homeassistant/homeassistant/components/alarm_control_panel/__init__.py", line 74, in async_setup_entry
    return await hass.data[DOMAIN].async_setup_entry(entry)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 151, in async_setup_entry
    raise ValueError("Config entry has already been setup!")
ValueError: Config entry has already been setup

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 192, in async_setup
    hass, self
  File "/usr/src/homeassistant/homeassistant/components/media_player/__init__.py", line 340, in async_setup_entry
    return await hass.data[DOMAIN].async_setup_entry(entry)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 151, in async_setup_entry
    raise ValueError("Config entry has already been setup!")
ValueError: Config entry has already been setup

No. Not yet.

No, Amazon doesn’t allow local playback. If you can find a skill that lets you then perhaps this would work.

What version are you running? This is an old bug.

It’s been a while since I’ve seen it but people have had success playing local files using a plex instance. I’m not doing it, but I believe the reason that worked is that plex and alexa can work together to play local files somehow. Search this thread, you may have some success. of course if you’re not running plex, or don’t care too, then feel free to ignore this comment. :slight_smile:

1 Like

I’m trying to remove this integration but getting the following error:

Platform error: notify - Integration ‘alexa_media’ not found.

I’m Hass.io, 103.0 installed as custom component. I’ve removed every reference I can find but still can’t get this error to go away and it’s causing Home Assistant to not allow me to reboot as it gives a config error.

Check your configuration.yaml under notify:

Literally just realized that and came here to say I’m an idiot… thank you!

Anyone else having trouble with TTS? Says “Failed to call service media_player/alexa_tts. Services not found.”

Home Assistant 0.103.2
Alexa Media Player (via HACS) Installed: v2.3.6

Did you implement the service like this?:

   - service: notify.alexa_media
     data:
        target: 
          - media_player.unten
        data:
          type: announce or tts
        message: 'Text'

That works here

So I have

- service: notify.alexa_media
  data:
        target: 
          media_player.jeff_s_2nd_sonos_one
        data:
          type: tts
        message: "Someone Is At The Front Door" 

My error log says - Error while executing automation automation.doorbell_automation_send_front_door_camera_image_notification_to_jeff. Service not found for call_service at pos 3: Unable to find service notify/alexa_media

It doesn’t work in the automations or if I type something in the TTS box.

Have you added the notify component to your configuration.yaml? It’s a separate entry from the main alexa media component.

notify:
  - platform: alexa_media
    name: alexa_media

For a long time everything appeared to be working fine.

Today updated HA to version Home Assistant 0.103.2
and added HACS (Home Assistant Community Store) Version: 0.19.0

I have the same entries as before in my configuration.yaml file.

I am getting the following error when starting HA.

Invalid config
The following components and platforms could not be set up:
alexa_media.media_player
Please check your config.

2019-12-20 19:55:43 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform alexa_media.media_player: Platform not found (cannot import name ‘MEDIA_PLAYER_SCHEMA’ from ‘homeassistant.components.media_player’ (/usr/src/homeassistant/homeassistant/components/media_player/init.py)).

Under media players see:
Entity not available:
Entity not available: media_player.echo_dot_1
Entity not available: media_player.ics_echo1

What have I done wrong here?

This is a very old error. What version of alexa_media are you using?

Having the notification abilities alone is worth more than anything else this can do as a media player. I use this to send announcements when our mail gets delivered via motion sensor. The chime and “This is an alert letting you know the mailbox has been opened” is just amazing!

So instead of coming here with yet another issue, I come to say thank you and to encourage others to use this wonderful integration! It was super easy to set up too.

But I digress. I wish there was more we could do with Fire TV as far as turning TVs off and on.

Initially installed V2.3.6 from here using the ZIP file.

Then went to using HACS and removing V2.3.6 and installing it again.

I do not see the Alexa media player in the HACS section of integrations.

Note here not using HASSIO rather just Home Assistant in Docker.

Did I make a mistake of installing HACS on my build?

Replying to my own thread.

Shut down HA here.

Deleted the
1 - alexa_media sub directory and
2 - configuration yaml entry and
3 - pickle file.

Restarted HA and went to HACS and added the Alexa Media Player Integration and configured login and

All is well now. Sorry to make a fuss.

Thank you for a great application for HA and Happy Holidays to you and your family!!!

Is it possible to stop a skill from HA with Alexa Media Player?

I have a skill that sounds an alarm, I activate it with a routine with Alexa Media Player but I don’t know how to stop it, the only way is with a voice command

The skill is:
https://www.amazon.es/dp/B081NXJTZZ/

When you open it automatically an alarm sounds

There’s an action in the Alexa app’s routine builder to stop audio. Does that work?

I lost TTS service, not sure if it was after updating to 103.4 or updating the custom component to 2.3.6.
I get a service not found error.

*went back to 2.3.4 and it’s working again

1 Like

seems to have lost tts and announcements this morning. media status updates but cant control playback either
no errors in the logs either

This morning alexa didn’t work anymore. No announce, no tts. (2.3.6)
No errors in log.

Updated to 103.4 - no change
A rollback did not work :frowning:

The interesting thing is: It is not possible to setup timers or reminders.
Maybe amazon has a general problem with their servers?
Simple Infoquestions are working
It was a server problem in Germany.
Everything’s working again

1 Like