Nevermind - I finally figured it out.
And what was the problem? In case someone else has the same problem.
Per the instructions, you just click confirm and it’ll get a new captcha.
I love this component. Have you ever considered supporting my media (https://www.mymediaalexa.com/)? It is a $5 a year service that allows you to stream your local itunes media to alexa. Songs played this way do not show up in the homeassistant component. It does provide a local webpage which could be scraped to know what song is playing. I play most of my media this way now.
I’m setting up a Xiaomi Magic Cube to start different media playing on one of my Echo Dots - some Spotify playlists, I Heart Radio stations, and Sirius XM stations. The Spotify automations work great.
When I start I Heart Radio or Sirius XM, the station starts playing, but the player remains in standby mode and I have no controls until I use voice with Alexa to pause and then play. Then the artwork shows and the controls start working
Am I missing something, or is this just the way it works? Is there something I need to add to my automations? An example is below.
I run Hassio on an Ubuntu host; I’m on HA 0.99.3 and the latest version of Alexa Media Player (2.3.2) via HACS.
alias: Cube 6001
trigger:
platform: event
event_type: deconz_event
event_data:
id: mi_magic_cube
event: 6001
action:
- service: media_player.volume_set
data:
entity_id:
- media_player.family_room_dot
volume_level: 0.3
- service: media_player.play_media
data:
entity_id: media_player.family_room_dot
media_content_id: "The Blend"
media_content_type: "SIRIUSXM”
Thanks for any help!
if everyone (possible only in Germany) has per now (HACS v2.3.2) problems with control the Echo devices (Echo 2.Gen, Echo Show 1.Gen, Echo Spot 1. Gen, Echo Show 5) over the AlexaMedia Player an status update problems, then take a look at the following issu and the quickfix from @Dielee. for me this works an all Play/Pause Stateupdate Problems are fixt for TuneIN an Amazon Music
No. Does it report properly in the Alexa mobile or web App? If it requires scraping a separate service, we probably wouldn’t bother as there’s enough complexity scraping from Alexa. Since you’re paying them, you have some power to ask them to make it work in the native Alexa app.
Also realistically, I’m not using the service so wouldn’t plan to pay to have access to try to implement or support it if it breaks. If someone wants to put in a pull request and maintain that feature I’m not opposed to including it.
It depends. If you’re connected through websockets (you can tell because the logs will mention polling has been disabled), there’s a bug right now where Amazon apparently isn’t pushing state changes through websockets everywhere (apparently Germany has lost it and maybe the UK). We’re trying to implement fallback functionality to address this use case, but it’s a balancing act to avoid slamming Amazon’s servers and getting your account throttled and being accurate. There’s a fix staged that may help; @northpower25 mentioned an earlier fix that is less sophisticated and will be replaced in the next version.
If you don’t have websockets, then the fallback polling mechanism will only start polling a media_player if HA knows you’ve started interacting with it and it’s detected it’s playing. That happens only if you use the component to interact with it. If you used another app, we wouldn’t know so can’t start polling.
I am using websockets. I am in the US. I can control the volume but have no play/pause ability (and no album art) when using I Heart Radio and Sirius XM. I’ll wait for the staged fix to see if that helps.
Edited to add: Thank you for your help, and for all your work on this great integration!
Oh check if the Alexa app is displaying info for those integrations. That’s the litmus test for what we can provide.
If I look at my Activity in the Alexa app I see those stations in there. Is that what you mean? I hear them playing. I just can’t control the play/pause with the Alexa media player in HA. I have to verbally tell my Echo Dot to pause, and then the media player in HA comes out of standby mode and works.
I noticed that in routines now you can invoke a skill to start. The one I’m interested in is the my Chevy skill. With this skill I could start my car, lock or unlock my doors. But this still requires a command and pin. Because this is not really using tts but using “Simon says” is it still not possible to use that functionality? Ie; state a pin?
Does anyone have a working example of a TTS script with random phrases please? I can’t seem to get the formatting correct.
On the hour, says “it’s XXX and everything goes fine” followed by a random phrase
- alias: 'Tutto va bene'
trigger:
platform: time_pattern
minutes: 0
seconds: 3
condition:
condition: time
after: '10:30:00'
before: '23:02:00'
action:
- service: notify.alexa_media
data_template:
data:
type: announce
target:
- media_player.echo_salotto
message: >
"<lang xml:lang='it-IT'> <voice name='Giorgio'>
Sono le {{now().strftime("%H")}}, e tutto va bene, ",
{{ [
" almeno fino a prova contraria..",
" almeno qui dentro, e di fuori ci frega il giusto..."
" per quanto risulta agli atti..",
" e speriamo continui..",
" secondo uso e costume..",
" ma ci avreste mai creduto?",
" ovviamente..",
" salvo errori ed omissioni..",
" e così sia..",
" per ora..",
" ma attenzione..",
" ma con molta attenzione..",
" e con ottime previsioni..",
" ma proprio bene..",
" come sono obbligato per contratto a dire..",
" e tra un'altra ora andrà ancora meglio..",
" e ti pare poco..",
" e buonanotte al secchio!!",
" ...con la supercàzzola come fosse antàni..",
" allineati perfettamente alle previsioni istat..",
" almeno credo...",
" ...èeene..., ...èeeene..., ...èeeeene....",
" ",
" "
] | random }},
"</voice> </lang>"
No, it shows up in “Home” but not “Now Playing”. I’ll ask if them if possible to implement.
Hi all,
I am just wondering if it is possible to invoke the echo to say multiple things?
I am basically trying to get my echo when I walk into the kitchen for the first time to say “good morning” with a customised message (this works a treat and only on first activation as planned) and then I would like it to read my calendar for the day followed by the weather. The problem is I cannot see a way of the echo knowing when one sequence is finished to call the next?
I am using node red if that helps
mb
Is there a trick to getting routines to work? I am trying to follow the automation example, but it doesn’t seem to be working. If I change media_content_type
to AMAZON_MUSIC the echo responds, so I know that it is communicating properly, but I can’t get the routine
to work. Here is my config
recently_played:
alias: "Recently Played"
sequence:
- service: media_player.play_media
data:
entity_id: media_player.tim_s_echo_dot
media_content_id: recently_played
media_content_type: routine
Whats the reason for these messages in log?
Error setting up entry ###my login#### - amazon.de for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 190, 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!
This message appears for sensor, switch, alarm_control_panel and media_player
No issues in functionality.
Using latest version with version 0.100 home assistant and the min media page . There seems to be slight problem with setting the volume.
Previously I could use the slider bar to adjust volume . Now when ever I try change volume it immediately goes back down to 0 . As a result my notifications aren’t that loud anymore lol
Does it happen to the regular media player? Is it muted?
Can someone spot my typo please? Going a bit bonkers.
This works under v2.3.3:
This script does not:
alias: 'Echo Notify Test to Office'
sequence:
- service: notify.alexa_media
data:
target:
- media_player.office
data:
type: tts
message: "This is a TTS test message to Office using notify alexa media!"