First post alert! Lol go easy on me.
Decided that all the over the counter “smart” garage door opener systems cost too much so I made my own for cheap. I’ll list what I did below along with links to everything. This setup is for 2 garage doors that use contact switches to operate. Remember to UNPLUG your Garage door before you start connecting everything!
Door sensor or garage door tilt sensor. I picked up some IRIS door sensors for cheap and used those.
ESP8266 Development Board NodeMCU Lua V3 WiFi with CH340G USB and Base Shield
12 V plug for esp8266 board
Female to female pin jumpers
22 gauage security wire cable
Some kind of enclosed container to house it all in and some sticky mounts or a way to secure the boards.
Putting it all together:
- Door open/close sensor. I used a IRIS door sensor on a hinge to show the garage door open/closed. See video at the bottom.
install the konnected smartapp into smartthings following this link.
put the nodemcu onto the base lining up both wifi antennas (the squiggly lines at the bottom of each). Plug in a micro usb cable that does data transfer into the nodemcu and into your computer.
Once the device is powered up, you will need to flash it with the konnected flashing software. Follow the instructions in this link. (you can download everything before hand)
After the flash is complete, connect it to wifi. Connect to the nodemcu via wifi. The SSID will look something like konnected_XXXXX.
Once connected to the device, in a browser, go to 192.168.4.1. Select your wifi device and enter the password and save.
Go into smartthings and open the konnected smartapp. click on add a konnected device - start discovery. Once the device is discovered add it and rename it to whatever you want. I named it garage opener.
I configured the settings as the following:
Pin D1 - Momentary Switch
Name - Garage 1 relay
Pin D2 - Momentary Switch
Name - Garage 2 relay
Pin D8 - Beep/Blink Switch
Name - Garage Buzzer
Go to your devices page and in the settings of the new relay’s you just made, turn on low level trigger.
Mount everything so you can get all the wires in and attach the garage door leads and power.
- Important! connect everything before supplying power to the base board and also unplug power for the garage door as well.
10. Connecting everything together
- Starting from the relay to the base board
- Relay 1:
JD-VCC to 5v power
GND to GND
- Relay 2:
VCC to 5v power
GND to GND
IN1 to D1
IN2 to D2
- Buzzer + to D8 and GND
With the garage door opener powered off, connect wire from the garage door terminals to the relay in COM1 and NO1
Power everything back on and in the smartthings app, click the push on the relay you created and it should open the garage door.
- you can then set up the virtual garage door opener smart app following this link.
- You can also see this link for more info. Its where I got the idea from. I also have his wired alarm system conversion and its working great!
See my video showing it in action.