D4VEW557
(David Wilkinson)
May 11, 2019, 8:43pm
1
Hi all,
I have Alexa connected via the home assistant cloud and I can control my lights, switches etc
but I can not get Alexa connected as a media player.
I have installed the files as per Keaton Taylor’s GitHub page and inserted
alexa_media:
accounts:
- email: !secret amazon_user
password: !secret amazon_password
url: amazon.com
into my config.yaml but all I get is a config error
Configuration invalidCHECK CONFIG
Integration not found: alexa_media
Is there some thing I am missing?
Thanks in advance.
Lots of things missing.
Before we begin…
This forum is not a helpdesk
The people here don’t work for Home Assistant, that’s an open source project. We are volunteering our free time to help others. Not all topics may get an answer, never mind one that helps you solve your problem.
[image]
This also isn’t a general home automation forum, this is a forum for Home Assistant and things related to it. Any question about Home Assistant, and about using things with Home Assistant, is welcome here. We can’t help you with e…
What version of Home Assistant, type of install, & install platform?
What version of the Media Player files? How exactly did you install them? The instructions have varied over time.
I have it working with Hassio & version 0.92.2 with media player version 1.2.5.
D4VEW557
(David Wilkinson)
May 11, 2019, 9:16pm
3
I am using Hassio 0.92.2 on a PI.
I created a file call custom_components then in that file, a file called Alexa_media.
I then put files callled
_init_.py
const.py
media_player.py
notify.py
and copied the raw data from the corresponding GitHub files.
I don’t know where to find the media player version, could you please advise.
Thanks
Those files need to be in a folder names alexa_media
. Notice the lowercase a.
D4VEW557
(David Wilkinson)
May 11, 2019, 10:18pm
5
I have the files named as follows
Does that look correct?
No
Grab the new version. There were some changes made for 0.92
I have manfest.json
& services.yaml
files too.
D4VEW557
(David Wilkinson)
May 11, 2019, 10:33pm
7
Do these two other files go in the alexa_media file with the others?
Thanks
Yes but to be safe, download the latest version from here.
D4VEW557
(David Wilkinson)
May 11, 2019, 10:41pm
9
Ok thanks. I have copied the files from the link
It now looks like this
Does that look better
My __init__.py
file is only 1KB not 25 KB.
After successfully starting there will be a folder named __pycache__
created too.
Dixey
May 11, 2019, 10:57pm
11
dunno if it’s just formatting here but the __init__.py
file should have TWO underscores before and after the init part.
D4VEW557
(David Wilkinson)
May 11, 2019, 11:00pm
12
I don’t know why it is a different size, I have not changed it in any way.
it looks like this now
Which is good news, but I still get a config error.
What did you put in the config.yaml file?
Thanks
Dixey
May 11, 2019, 11:04pm
13
alexa_media:
accounts:
- email: !secret amazon_email
password: !secret amazon_password
url: amazon.com
nothing more needed if you are U.S.
D4VEW557
(David Wilkinson)
May 11, 2019, 11:11pm
14
I’ll give it a try, but I am in the UK so could it require something different?
D4VEW557
(David Wilkinson)
May 11, 2019, 11:22pm
16
well all looked good no config errors, so I restarted HA and then got this notification
The link doesn’t work
Dixey
May 11, 2019, 11:39pm
17
Yer talking to a damn Yank. You will need advice from your side of the pond now.
D4VEW557
(David Wilkinson)
May 11, 2019, 11:41pm
18
Thanks for the help so far. It must be close to working surely.
You could try `amazon.co.uk ’. Here is the “official” support thread.
Hi , what I meant i to get the last message spoken to an alexa device .
ex ; if I say ‘’ alexa turn on tv’’ to the bedroom alexa? then, i would get ‘‘turn on tv’’ as a string into home assistant. So I could make rules ‘’ if the string ‘‘on tv’’ is set on the alexa bedrrom. Then turn on the bedroom tv[Capture]
D4VEW557
(David Wilkinson)
May 11, 2019, 11:56pm
20
I think you have cracked it.
I now have the captcha coming up but as I’m a fool I have entered the wrong email in the config file.
Corrected it now just waiting for a restart.
1 Like