How to Make a Garage Door Opener with a Belkin WeMo Maker Part 2

Continuing from Part 1, let’s make our WeMo Maker garage door opener smart by integrating it with IFTTT, Stringify, and Workflow.

We need to connect some things to make the garage door smart and make it easy to execute things from our device. Here is how the process is going to work:

Needed

  • Create Applets in IFTTT that will tell Workflow to cause the garage door to open or shut.
  • Create workflows in Workflow that will fire off the garage door open/shut Applet in IFTTT.
  • Create an Action in Launch Center Pro that will run the Garage Door Open/Shut workflow in Workflow.

Optional

  • Create Flows in Stringify to set variables that tell us whether or not the garage is open or shut.
  • Create Applets in IFTTT that will tell Stringify to set the garage door state to open or shut.

We’ve got some things to do, but I think it’s worth it. I like the convenience of all of this. Later on, you can use the same things we set up here to add additional variable states to your home, like whether or not your Nest state is Home or Away, which can be used to close the garage door if it sees that no one is home and that the garage is open.

Workflow

Let’s set up a workflow that we can use to trigger an applet in IFTTT that then triggers WeMo to momentarily turn on the Maker that controls the garage door. We’ll set up a new workflow called Garage and set it to trigger an IFTTT applet. Set the name of the trigger to Garage. We’ll use the name of the trigger when we set up the applet in IFTTT.

Workflow 1

IFTTT

In IFTTT create a new applet using Workflow and WeMo. If a workflow called Garage, then turn WeMo Garage relay on momentarily.

IFTTT 1
IFTTT 2
IFTTT 3

Launch Center Pro

In Launch Center Pro we are going to create a new action that links to Workflow. You can name the action whatever you want and set the icon to whatever you want. The important thing here is the URL. It has to be just right. The URL needs to be set to the following: workflow://x-callback-url/run-workflow?name=Garage&x-source={{Launch Center Pro}}&x-success={{launch://}}

LCP 1

What will happen is when you run the action in Launch Center Pro, if Workflow can successfully complete the workflow, it will jump you back to the Launch Center Pro app.

Optional Additions

Stringify

The Stringify portion is optional, but here it is. This is the part where you can get fancy with variables and tracking the states of things in your home. We’ll start with the ability to track whether the garage door is open or shut, and you can expand from there on your own.

What we will do now is create a flow that will set a variable called garagestate to open when an IFTTT applet is run. I know in my screenshots it says we are setting an existing variable, but you can select new variable and once it is created Strigify will make it available elsewhere and it becomes existing.

Stringify 1
Stringify 2
Stringify 3

Create another flow in Stringify similar to this one, but call it Set GarageState Shut and set garagestate top shut.

IFTTT

Now go to IFTTT and create two new applets that are set off by your Garage Door WeMo Maker. When the WeMo state is not triggered then the garagestate will be set to shut. When the WeMo state is triggered then the garagestate will be set to open.

IFTTT 4

Smart Things

Now you have a garage door that is smart. Since you can track the state of the door, you can use that to cause certain actions to trigger. An example of one that I have set up is that if the garage door is open at 10 pm, it will attempt to close itself. I do this with a flow in Stringify that will trigger an IFTTT applet that turns on the Garage Door Maker momentarily. Another example that I use is that if my Nest says that no one is home (another variable I track called neststate, like garagestate) and the garage door state is open, it will attempt to close itself. These come in handy when the kids forget to close the door when they are done playing for the evening.

Hopefully you find this helpful in your own smart things endeavors.