This guide assumes a functioning Zwave garage door opener configured with Smartthings. As of this writing Alexa does not support opening and closing garage doors natively. So, some sorcery is required.
Just create a routine, say, "Open garage door" and configure it open your garage door.
Just create a routine, say, "Close garage door" and configure it open your garage door.
We first create 1 virtual switches, via the Smartthings IDE. Lets call it the Virtual Garage Door Opener.
We create a smart app instance, of Switch Activates Home Phrase, via the Smartthings app:
Pick switch, Virtual Garage Door Opener When it is ON, select the routine: Open garage door When it is OFF, select the routine: Close garage door
At this point, your virtual switch controls your garage door. When it is turned on, the garage door is opened. When it is turned off, the garage door is closed.
There is one subtle issue. When the garage door is manually opened the virtual switch is out of sync. For this we use CoRE pistons.
- Install one CoRE piston, When garage door is opened, turn on Virtual Garage Door Opener switch.
- Install one CoRE piston, When garage door is closed, turn off Virtual Garage Door Opener switch.
Create a group called 'Garage' in Alexa Add the Virtual Garage Door Opener Switch to this group Now, when you say, "Alexa, turn on garage", the garage will open. And when you say, "Alexa turn off garage", the garage will close.
At this point you should be set.