andrewshilliday / garage-door-controller

Software to monitor and control garage doors via a raspberry pi
MIT License
327 stars 132 forks source link

Alexa #39

Open morejava opened 7 years ago

morejava commented 7 years ago

Any way to connect this wirelessly to alexa with a trigger word to open/close garage door?

h3smith commented 7 years ago

I used AWS IoT + Alexa.

Alexa skill "[Open|Close] garage door" Sends to AWS Lambda function AWS Lambda sends to SNS topic SNS sends to AWS IoT MQTT topic (Lambda can also push MQTT as well) Device receives MQTT message and performs the action

morejava commented 7 years ago

Thanks h3smith! I'm unfamiliar with some of the processes in your suggestion. Could you elaborate?

drunet commented 7 years ago

same here, would love to see the associated language to integrate with Alexa!

h3smith commented 7 years ago

I'll throw up a gist over the holiday weekend - if I don't by next Sunday please @ me!

morejava commented 7 years ago

Looking forward to it! Thanks for your help!

zbowman commented 7 years ago

Also interested in Alexa integration.

tgdibello commented 7 years ago

Interested in Alexa here too. Everything worked perfectly, thank you!

morejava commented 7 years ago

@tgdibello. Can you please elaborate how you made this work? I need some more detail with the step by steps on this process. NOOB here. Thanks!

On Sun, Nov 27, 2016 at 9:43 PM, tgdibello notifications@github.com wrote:

Interested in Alexa here too. Everything worked perfectly, thank you!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/andrewshilliday/garage-door-controller/issues/39#issuecomment-263177176, or mute the thread https://github.com/notifications/unsubscribe-auth/ARfX3xWRUofFFb3WuN_dL7e9h04HuVVLks5rCk3mgaJpZM4KuF7_ .

-- ​​ Andy

tgdibello commented 7 years ago

What are you having trouble with?

On Nov 27, 2016, at 10:46 PM, Andy notifications@github.com wrote:

@tgdibello. Can you please elaborate how you made this work? I need some more detail with the step by steps on this process. NOOB here. Thanks!

On Sun, Nov 27, 2016 at 9:43 PM, tgdibello notifications@github.com wrote:

Interested in Alexa here too. Everything worked perfectly, thank you!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/andrewshilliday/garage-door-controller/issues/39#issuecomment-263177176, or mute the thread https://github.com/notifications/unsubscribe-auth/ARfX3xWRUofFFb3WuN_dL7e9h04HuVVLks5rCk3mgaJpZM4KuF7_ .

-- ​​ Andy — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

zbowman commented 7 years ago

@tgdibello @h3smith Could either of you post a brief tutorial of the steps and methods you used to get Alexa to function with your garage controller? Did you create your own private Alexa skill for your use or is it publicly available?

morejava commented 7 years ago

I really don't even know where to start with this. Thanks for direction.

On Mon, Nov 28, 2016, 10:51 AM zbowman notifications@github.com wrote:

@tgdibello https://github.com/tgdibello @h3smith https://github.com/h3smith Could either of you post a brief tutorial of the steps and methods you used to get Alexa to function with your garage controller? Did you create your own private Alexa skill for your use or is it publicly available?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/andrewshilliday/garage-door-controller/issues/39#issuecomment-263325252, or mute the thread https://github.com/notifications/unsubscribe-auth/ARfX3y7pqwKxyWJPehQ4UDFe0pmeyhBMks5rCwacgaJpZM4KuF7_ .

tgdibello commented 7 years ago

I'm sorry, I haven't finished the Alexa setup yet. My comment was about the original app. I'll be working on the Alexa setup very soon, and will share as I learn.

On Mon, Nov 28, 2016 at 12:37 PM, Andy notifications@github.com wrote:

I really don't even know where to start with this. Thanks for direction.

On Mon, Nov 28, 2016, 10:51 AM zbowman notifications@github.com wrote:

@tgdibello https://github.com/tgdibello @h3smith https://github.com/h3smith Could either of you post a brief tutorial of the steps and methods you used to get Alexa to function with your garage controller? Did you create your own private Alexa skill for your use or is it publicly available?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/andrewshilliday/garage-door-controller/issues/39# issuecomment-263325252, or mute the thread https://github.com/notifications/unsubscribe-auth/ ARfX3y7pqwKxyWJPehQ4UDFe0pmeyhBMks5rCwacgaJpZM4KuF7_ .

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/andrewshilliday/garage-door-controller/issues/39#issuecomment-263338497, or mute the thread https://github.com/notifications/unsubscribe-auth/AXGEdGnJXh7GJ5yrXChbr6FMGQLIRvoCks5rCxFSgaJpZM4KuF7_ .

h3smith commented 7 years ago

@zbowman @morejava @drunet I've thrown something up here: https://github.com/h3smith/aws-iot-alexa

I am away on holiday since last week - I'll upload the Lambda code and Raspberry Pi code on how to do the hard work when I get back tomorrow. Apologies for the delay.

morejava commented 7 years ago

Thanks Harold!

On Tue, Nov 29, 2016, 1:31 PM Harold Smith III notifications@github.com wrote:

@zbowman https://github.com/zbowman @morejava https://github.com/morejava @drunet https://github.com/drunet I've thrown something up here: https://github.com/h3smith/aws-iot-alexa

I am away on holiday since last week - I'll upload the Lambda code and Raspberry Pi code on how to do the hard work when I get back tomorrow. Apologies for the delay.

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/andrewshilliday/garage-door-controller/issues/39#issuecomment-263673387, or mute the thread https://github.com/notifications/unsubscribe-auth/ARfX3yurPBd6AfT9bKUylTB98wlW_GJBks5rDH2fgaJpZM4KuF7_ .

zbowman commented 7 years ago

This has been off my radar for the past year. Only just now having to rebuild my pi and noticing some of the changes that have happened with this project since I first started using it. Have built some demo skills for work when Alexa first launched. Will do what I can to help.

tgdibello commented 7 years ago

Thanks guys! I am pretty good with AWS, but not so great with coding. A working example will go a long way.

zbowman commented 7 years ago

Thanks @h3smith, I was able to setup all of the AWS functions but haven't made it to the pi portion of the setup. Could you add the MQTT / pi portion to https://github.com/h3smith/aws-iot-alexa ?

boogy886 commented 7 years ago

Just adding a comment to show my interest as well. @h3smith thank you for what you've provided already, and the rest of the steps would be greatly appreciated.

h3smith commented 7 years ago

@boogy886 @zbowman i pushed to the repo - apologies for the delay - work has been crazy! please just tag me on that repo so I don't clog up Andrews :)

andrewshilliday commented 7 years ago

I'm a bit late to the party but just to chime in on this: Firstly, can Alexa respond to automation commands that aren't explicitly open and close (or turn on/turn off)? The reason I ask is that except under specific circumstances, we don't know whether pushing the garage door button will open the garage or shut it. So if we were to use Alexa, a preferred trigger would be something like "Alexa toggle the garage" or something like that.

Secondly, I was thinking of improving the degree to which the garage door controller is integrated with OpenHab. This allows for a more integrated interface with some of the other home automation stuff I have. If I go that route, then in theory I (we) could make use of the Alexa/OpenHab integration that is already in place. I'll look into it.

Poncherelly commented 5 years ago

Just wanted to kick the box to see if I could wake anything / anyone up on this thread :). I found this https://www.instructables.com/id/Control-Raspberry-Pi-GPIO-With-Amazon-Echo-and-Pyt/ as a generic option but it would be great if an add on step could be included in this project.

Thanks in advance.