@gazzaman2k
New PR submitted that should resolve lxml. Finally got myself a hassio install for testing.
@phantomdarkness: I added a dependency requirement for simplejson that may resolve this for you if you’re on hassio. If you’re not, there’s probably a little more logging before that point that will help zero in.
It should be where you typically would log in to Amazon. I’ve found that if your’e out of region, you may get less functionality out of your devices (i.e., TTS may not be available).
I think I see what you mean, when I try I get a verbal error from alexa saying “sorry text to speech can only be called with the media player alexa tts service”
That specific error is because this media_player cannot play media (e.g., mp3s) from other sources. Amazon has not opened up the API to send media directly to the echo yet. You get the specific message about TTS because the most common use case is if you use the TTS option in the media_player details UI, it will create a mp3 file and pipe it to the alexa media_player.
The TTS I was referring to was using the service media_player.alexa_tts
2018-08-07 12:04:00 ERROR (MainThread) [homeassistant.requirements] Not initializing media_player.alexa because could not install requirement lxml==4.2.3
2018-08-07 12:04:00 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform media_player.alexa: Could not install all requirements.
To fix the library issues with lxml and beautifulsoup4 you need to modify the requirements. The requirements document within alexa.py are older than the one already installed in newest ha 0.75.2
I added the exttra files and added the automation and finally added the two entries to my media group, however I don’t get it up as a card in my front end, is there any other extra steps needed to make this work?
2018-08-07 17:50:28 ERROR (SyncWorker_6) [custom_components.media_player.alexa] Error loading pickled cookie to /config/alexa_media.pickle: An exception of type FileNotFoundError occurred. Arguments: (2, 'No such file or directory')