Garage Door Opener Remote Web-interface With Esp8266




Watch video in step 4!

I've been looking for a solution to open my automatic garage door for family and trusted friends when im not home, without having to hide a remote outside in the flowerpot. My first thought was to buy a remote keypad, but i just couldn't pay 50USD for something that ugly. Take a look at it and you'll probably feel the same.

So since i bought this nodemcu (esp8266 devboard) that I've been trying out blinking leds and what not, it might as well be put to good use. Fortunately, I got three remotes delivered for my garage door opener, but I only use one on a daily basis, so one of those could be used for this task.

This is a very simple DIY-hack and i belive most beginners will get a good result.

Step 1: Materials

Things you need to make this web-interface remote control. I buy most my electronics from aliexpress, even if shipping takes some time i use it mainly because of the pricing.

1. nodeMCU (or any other ESP8266 board)

2. 5v Relay

3. Remote for your automatic garage door

4. Prototype PCB (Size of your choosing)

5. Dupont wires

6. Micro USB Power Supply

Step 2: Schematics

I tried Fritzing (PCB and schematics-software) for the first time, it's surprisingly easy to use. But it didn't have any remote module to use so i added a button instead to simulate what we're doing. Since we're actually just bypassing the button on the remote that sets of the 433mhz signal.

The garage door remote usually operates with 12v, but gets the job done with 5v as well. Nodemcu is powered by a microUSB 5v and steps it down to 3,3v for the esp8266. By accessing pin VIN we can still get 5v out to supply power to the 5v Relay and the garage door remote.

Step 3: Flashing Your NodeMCU

There are many good tutorials on how to flash your nodeMCU, I recommend this tutorial made by user TheElectromania.

Instructables webeditor couldn't handle the code so please use this link to get the code:

What this code does..

  1. Connection to your home WLAN and waits for web-request
  2. Upon connection displays a link/button
  3. When pushed, sets pin 5 HIGH for 1 second - which makes the relay to open and enables the remote control to transmit it's pre-programmed signal.

Step 4: Final Step

Have it as is or put it in a junctionbox of some kind. I used a regular EU junctionbox for 220v electrical connections.



  • Colors of the Rainbow Contest

    Colors of the Rainbow Contest
  • IoT Challenge

    IoT Challenge
  • Arduino Contest 2019

    Arduino Contest 2019

13 Discussions


7 months ago

Instead of using one of the remote, could it be wired directly to the wire for the push button inside garage? I have only two remotes and they are expensive...

I can confirm that it is possible :)


7 months ago on Step 4


Looks amazing, trying this weekend. Is it possible to open from my Android phone Aldo?

1 reply

Reply 7 months ago

Eh not Aldo... Also... Autocorrect


Question 1 year ago on Step 3

Thanks so much for your project. I am getting the following error and no pin voltage change:
ny anslutning
GET / HTTP/1.1
Not a valid url.
Client disonnected.

Please help

1 answer

Answer 1 year ago

Figured it out...
you must invoke wirelessly
Thanks anyway!


2 years ago

Nice. Is there a reason you didn't try connecting it with the physical button inside the garage instead? It seems as though you could use the built-in power source (with appropriate voltage conversion) to run the board. Also, you don't have to dedicate a wireless door opener to the project. Those things are expensive!

I like the concept, though. When cars are left outside the garage, I hate to leave the opener in them. But then I forget to put it back in and it's annoying to not have it. I will update if I am able to get the wired application to work!

3 replies

Reply 2 years ago

Hi S0dyP0p! Yes I have my reasons. There's no support to add any other input/output to the motor as many other motors do have. Second, I'd void my 2yr guarantee if i open the chassi of the motor. Third is that if i mess up in there, i'd loose 220USD.

The remote costs 16USD, it's a fair price considering what i would have got for 50USD as i wrote in my intro. And the remote I used was included with the motor.


Reply 2 years ago

Makes sense. It sounds like your system works differently than mine. I've got a hard wired button run with telephone-type wire from the motor to a location near the door into the house. Looking at your video, yours looks detached from the house so it makes sense you don't have a physical button.

You've got my wheels turning about tapping in to that (probably) 12V button for a built-in installation in my situation. An old car charger should do the conversion for me, and no need to run separate USB power. Thanks!


Reply 2 years ago

In my opinion your solution is best practice, since you don't have any other error sources as your WLAN router, nocemcu, PSU or interference. But we work with what we got :)


Awesome project. You should think about entering it into the Internet of Things contest.