These are chat archives for auchter/haaska

3rd
May 2016
geekalot
@geekalot
May 03 2016 00:30
I was hoping to get some additional assistance setting haaska up. I have everything configured properly, or at least running make test returns a positive response. I have the skill available and enabled on my Alexa app but when I go to rediscover devices nothing from Home Assistant shows up.
Michael Auchter
@auchter
May 03 2016 00:50
Hm, about the only thing I could think of that might cause that is if the Lambda skill's event source isn't setup correctly
@geekalot If you go to the haaska function in the Lambda Management Console, and go to the Event Sources tab, what do you see?
geekalot
@geekalot
May 03 2016 00:52
Event source ARN State Details
Alexa Smart Home - Enabled Application Id: haaska
Sorry, that did not format well.
Event Source is Alexa Smart Home
Michael Auchter
@auchter
May 03 2016 00:53
No worries, I got the idea
geekalot
@geekalot
May 03 2016 00:53
ARN is blank
Michael Auchter
@auchter
May 03 2016 00:53
That's fine, I assume the details column shows your application ID?
geekalot
@geekalot
May 03 2016 00:54
Yeah, Application Id: haaska
Michael Auchter
@auchter
May 03 2016 00:54
Ah, that's probably an issue
It should probably look like: Application Id: amzn1.ask.skill.<UUID>
geekalot
@geekalot
May 03 2016 00:55
Where would I find that?
In step 6 you get that information
And then used in the creation of a lambda skill in step 6 again
geekalot
@geekalot
May 03 2016 00:56
Thank you. Let me check that.
Sorry, I am new to this. Should I delete my Lamda function and recreate it?
Michael Auchter
@auchter
May 03 2016 00:59
You should just be able to delete that event source, and add a new one
geekalot
@geekalot
May 03 2016 01:00
Ah, that was easy.
OK, so I changed that
Now discovery found my items.
Michael Auchter
@auchter
May 03 2016 01:00
Excellent!
geekalot
@geekalot
May 03 2016 01:00
I can't thank you enough for the assistant.
Michael Auchter
@auchter
May 03 2016 01:01
No problem, glad this worked out. You're the first one to talk in here ;)
geekalot
@geekalot
May 03 2016 01:01
I am honored. HAHA
Any place I can make a donation either to you or in your honor? I am really appreciative of the assistance and the software
Michael Auchter
@auchter
May 03 2016 01:03
That's really not necessary, haaska's really just some trivial glue for Home Assistant, and I'm happy to help people out
But I appreciate the thought
geekalot
@geekalot
May 03 2016 01:04
Cool cool. I am all set. The Echo is controlling my lights. Thanks again. Have an excellent evening.
brusc
@brusc
May 03 2016 01:29

Sweet! Glad to see this page becoming active. @auchter, I made a YouTube video for how to install Haaska on Home Assistant. Do you have any thoughts or suggestions? Happy to change things and help drive traffic to your github/home assistant! Haaska is sweet! Thanks for all your help making it happen.

https://www.youtube.com/watch?v=zZuwQ9spPkQ

joemcmonagle
@joemcmonagle
May 03 2016 01:43
@brusc Thanks for making the video! I just finished setting up haaska a few days ago after banging my head against the wall for like a day making stupid mistakes, I finally got it. These video would have made it waaaaaaaay easier. Also I've been following your channel for a little while. Really enjoying the content!
Michael Auchter
@auchter
May 03 2016 02:27
@brusc Nice video! I'll add a link to it on the README, since I'm sure it'll be helpful as an additional reference for people to cross-check against. The walk-through is better thought-out than the ordering in the README (I should really fix that, and not rely so much on Amazon's documentation)
One minor comment: the sudo in "sudo nano config.json" is unnecessary
Also, I guess I don't actually document how to get setup with the AWS CLI, but it's really slick. When I make changes to haaska, I just type "make deploy" and "make test", and it uploads everything and runs a basic test without having to use the AWS web interface
joemcmonagle
@joemcmonagle
May 03 2016 02:34
@auchter When you mentioned the CLI in the README to run a make test I ended up using Amazon's documentation to get it going, but it was pretty useful
http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html
When I said I was making mistakes, I did mean exactly that. The documentation is all correct, but you're right sometimes it's a bit hard to swap back and forth between the Amazon documentation. Especially when you have a dummy like me that thinks they don't need to read the instructions carefully the first time
Michael
@hartmms
May 03 2016 02:36
@auchter @joemcmonagle I had the same problem when setting it up.
Michael Auchter
@auchter
May 03 2016 02:36
Yeah, I wasn't quite sure what the right balance was for the documentation. I kind of wanted to avoid duplicating Amazon's documentation too much
Michael
@hartmms
May 03 2016 02:36
I made mistakes also. I had "turned off my brain" and was following the README only. I had to do a 2nd pass through both setup guides to get it right
duplication of documentation is always bad
it gets out of sync easily
Michael Auchter
@auchter
May 03 2016 02:37
Yeah, that's my fear.
Michael
@hartmms
May 03 2016 02:37
oh hell
I just did this in the window "s/date/sync" and it instead did the operation and not print what I typed
!!!
Michael Auchter
@auchter
May 03 2016 02:38
I've heard tell of that working
woo, it does
Michael
@hartmms
May 03 2016 02:38
that is so damn slick
Michael Auchter
@auchter
May 03 2016 02:39
I kinda feel dirty editing history like that. It's like rebasing a public branch...
Michael
@hartmms
May 03 2016 02:39
meh. 2nd edits of what was said are always good
:)
we never rebase @ work and our merge history is truly bedhead
brusc
@brusc
May 03 2016 02:40

@auchter, sweet! Hope it helps some people! Preciate all the work you put into Haaska! It works great.

Also, I use sudo way too much. I'm definitely not a linux guy so I struggle with not running root on everything. :P If you have any more ideas or thoughts, let me know! I'm happy to collab if anyone has ideas. I don't do a ton of coding so making videos is my way to help expand the community. Cheers!

Michael Auchter
@auchter
May 03 2016 02:45
Yeah, the sudo habit can be a tough one to break for sure. I don't know whether to blame Microsoft for getting permissions so wrong for so long, or XKCD for making the existence of sudo common knowledge ;)
brusc
@brusc
May 03 2016 02:47
Haha, true enough!
Michael
@hartmms
May 03 2016 02:55
We should lobby for Amazon to change the wake word to sudo. Sudo, turn on the den light!
S/add/add/
Michael Auchter
@auchter
May 03 2016 02:59
We might need some way to elevate privilege in the future: https://twitter.com/internetofshit/status/725350266187423744
brusc
@brusc
May 03 2016 03:18
Lololol. :laughing:
Michael
@hartmms
May 03 2016 03:41
open the garage door, Alexa
joemcmonagle
@joemcmonagle
May 03 2016 03:55
Alexa, sudo open the garage door?
Michael
@hartmms
May 03 2016 03:56
ok
zgreatone
@zgreatone
May 03 2016 07:16
thanks
just got it setup