Thanks so much for this. Very cool. I have not done any automations yet, but have been able to start music from amazon, Spotify, etc. As well as TTS using json and the UI.
I have a quick question before I really dig deep and start setting up some more advanced scripts, automations, etc.
What is the likelihood that amazon will make changes that shut this down? I know that anything can happen at any time, but I mean is this doing anything really significant that would be a major issue with Amazon?
Hello @Corey_Maxim … I don’t. I’ve restarted the sh_it out of my HA instance. Not once the captcha intervened. First time (and only) when I had to input the captcha code, was 2 days ago, when I initiallised the container. Since then, niente, nada, zero … I have HA 0.75.2, running in a Docker container, on a Synology box. Ask me what I did. Come on, ask me ! …
I’ve read through this really looong thread a I just need to clarity something…
If I’m running a non-hassio version of HA in docker do I still need to install the alexa-api docker container to get this to work or just follow the instructions in post #1 above (with the crossed out reference to docker)?
If I still need to run the alexa-api container then which IP address do i need to put in for the host? the IP for the HA docker container, the IP for the alexa-api docker container or the real host machine IP?
I have added component 8.1 have entered capture once on initial boot have rebooted several times and never been prompted for captcha again so this is working as expected. I go to the list of media players and I can see my echo’s listed but they all have the state unavailable. Has anyone else encountered this what did you need to do to resolve?
***I changed my url to .com.au and they now show up
Working great for me on hass.io 0.75.1. Luckily got hold of a couple of echo dots recently in the amazon prime day sale for next to nothing so can now put them to good use. Many thanks for all the hard work so far!
ok updated to 0.75.2 (hassio) and tried the updated PR (8.1 version) receiving this error at startup: 2018-08-07 22:58:48 ERROR (SyncWorker_9) [custom_components.media_player.alexa] Error loading pickled cookie to /config/alexa_media.pickle: An exception of type FileNotFoundError occurred. Arguments:
UPDATE: I thought for sure it would fail … but it worked!
I checked firefox just after posting my error and feeling defeated … the captcha showed up and i was able to configure…now all devices appear … testing for functionality now…this is cool … it works!
I did notice that attempting to type into the entity interface results in an alexa (speaking) error that text must be called thru the alexa tts service…
Typing in this box calls “GOOGLE TTS” it should call alexa media player TTS … should be a quick fix but need to go to bed
In the PR hopper. In my tests you can just turn on 2FA and if you have a valid cookie it’ll still log on. It will also ask Amazon to remember the device so it should only ask the first time.
I’m running the 8.1 version but I’m getting this error:
[custom_components.media_player.alexa] Error loading pickled cookie to /config/alexa_media.pickle: An exception of type EOFError occurred. Arguments:
('Ran out of input',)
I have created a script based on Alexa TTS that I use to pass dynamic content to make announcements. Is there a way to know when a TTS message has completed or when the script has completed so I can use a wait template before sending the next TTS message?