Time to cook: 120min
This recipe is an example of how you can retrofit a garage door which is equipped with an electric motor. This way your garage door becomes a connected garage door!
A Fibaro Smart Implant
Aeon Z-wave stick
Execute the Smart HUB recipe
Execute The Using Z-Wave device recipe
The Building Plan
Retrofitting the garage door
To control the garage door, a Fibaro Smart Implant z-wave device is used as a retrofit device on the garage door unit. This device is ideal for retrofitting existing devices in the home and connecting it to our systems-of-systems architecture.
The Fibaro Smart Implant hosts 2 outputs which we can use as a ‘dry contact’. We use one of them to interface with the hardware of the garage door. a wiring diagram is given below.
The picture below comes from the manual of my garage door. It shows the schematics of the electric motor and how everything is connected.
The electronic sheme tells us that the indoor button to open and close the garage door is wired to terminal 2 and 3. The description says it’s a potential free NO contact. This is what we need to connect the output of the Smart Implant. Further we need to provide power to the Smart Implant. Something between 9 and 30V DC. On the schematics we can see that we can shunt this from terminals 15 and 16.
To monitor the state of the garage door, we can retrofit a magnetic switch on a moving part such a s the door or the motor on the slider to detect whether the door is open or closed. The magnetic switch can be wired on the input (between IN1 and GND) of the Smart Implant, so we can also detect when the door opens or closes.
Including the Fibaro Smart Implant
Next we need to Include the Fibaro Smart Implant with the Z-wave controller. (see recipe connecting Z-wave devices). When the device is discovered and added, the Smart Implant shows up as a ‘Thing’ in the smart HUB.
The Smart Implant ‘Thing’ includes the following channels.
The Switch channel is used to actuate the garage door. The Input 1 provides us with the garage door state.
You can control the garage door from within openHAB paperUI. Go to Control in the left menu and you will find an overview of all your ‘Things’ for which you have channels. For the Z-wave Smart Implant described above the UI looks as follows.
This interface is nice for testing out your devices and a first impression. In this Cookbook you will find other ways to build user interfaces or use for example a virtual key lock to control your garage door!