ESP8266 Garage Door Opener Standalone Web Server

Difficulty: Star LitStar LitStar LitStar LitStar Unlit (4/5)

ESP8266 WiFi Garage Door Opener - Render


This is a bit different then my other “Smart Home” projects since it uses an ESP8266-12F to host a standalone web server. That means you don’t need to install any of that fancy stuff like HAP-NodeJS or a MQTT Broker. Using the HC-SR04 Sonar Range Finder it can detect how far away your garage door is, or if it doesn’t detect it at all to determine whether it is open or closed. There is a Thermistor connected with a Resistor to make a voltage divider to calculate the temperature. During startup the ESP connects to your network and will get your local time if your network has internet and you set the proper timezone in the Arduino Sketch.

ESP8266 WiFi Garage Door Opener - FrontTo power it there are a couple of options. If you are using a 5V Power Supply then all you will be needing is the LM1117 3.3V Linear Voltage Regulator to step down the voltage for the ESP8266, this is the most efficient option in this build. If you don’t have a 5V Power Supply you can use anything from about 6V to 12V with the addition of the LM7805 5V Linear Regulator, my design allows for both options with a jumper to disable the 5V Regulator if required.

ESP8266 WiFi Garage Door Opener - TopESP8266 WiFi Garage Door Opener - BottomYou will need to use 5V Relay Board or something similar to connect two wires from the unit to almost any garage door opener’s wall mounted switch, or directly to the motor itself. Then simply enter the address that can be configured in the Arduino Sketch, mine was garage-home.local and the web page with the controller will show up. Solder everything up with some good solder and some 22 AWG Hook-up Wirehook up wires. You will also need a variety of Electrolytic Capacitors, Ceramic Capacitors, LEDS, Resistors, Header Pins, Transistors, etc. that some people might have already on hand or salvaged from some old electronics. You can download my model from Thingiverse and I may design a board in Eagle if there is enough interest for those who either etch your own boards, or would like to just send it away to a board shop to get made by there preferred board manufacturer.

ESP8266 Garage Door Opener Web Server PageNow if everything went well you should be able to open up any web browser on your network and enter the address that was set up during programming, by default it is set to garage-home.local. A controller should show up on a webpage displaying things like run time, temperature, and door status. Here is where you also setup the threshold distance for the HC-SR04 Sonar Range Finder to calibrate the distances. Once everything is tuned all you have to do is push the large open / close button on the remote and your door should operate over WiFi.

Parts List

If you’d like to see more please drop a comment below, email me directly using or hit me up at any of my social links with your comments and suggestions.

Make an Oil Heater “Smart” With ESP8266

Difficulty: Star LitStar LitStar LitStar LitStar Unlit (4/5)

Apple Home App Temperature Control Thermostat



Smart Oil HeaterIt might be hard to tell from the picture but this Oil Heater is possibly the smartest Oil Heater. By adding an ESP8266-12F to this old beast I am able to control this heater with my Apple Home app and voice control with Siri. Combined with the DIY Apple Home Temperature and Humidity Sensor you can have the heater turn on automatically when the temperature drops below a certain degree. Another great feature with the Apple Home setup is it is location aware meaning that when you leave home the heater will automatically turn off and when you are on your way home once you reach a certain distance from home it will start back up. You are expected by now to understand how to use MQTT and HAP-NodeJS to bring this to life.

ESP8266 Oil Heater Programming Access v1Smart Oil Heater ProgrammingThis might be the only way to tell that there is something different about this heater. It’s a 3D printed access port containing the heaters programming header, and button to activate programming mode. Once the cap is put back on it is next to impossible to notice. The buttons for controlling the heater are connected to the micro controller with some opto couplers or opto isolator which acts somewhat like a relay and keep the voltages between the heater’s circuitry and the micro controller that has been added separated.

ESP8266 Oil Heater ESP8266-12F Wiring Schematics


If you’d like to see more please drop a comment below, email me directly using or hit me up at any of my social links with your comments and suggestions.