A remote command tells a garage opener what to do; a separate sensor tells the controller whether the door is open or closed. Pete Hoffswell’s ESP8266 Wi-Fi Smart Garage Door project on Hackaday.io combines those two jobs in an ESP-01 running NodeMCU. Created on March 9, 2015, it follows an earlier garage-door project that Hoffswell describes as more expensive.
The useful idea is the division of responsibility: the small Wi-Fi board connects to the opener and door sensor, while an OpenHAB controller monitors status and sends open/close commands. That makes this an early home-automation example worth understanding, rather than a newly launched device.
Control and feedback take separate paths
The hardware list is short: an ESP-01, a relay module, a power supply, a magnetic door contact and a USB-to-TTL serial converter for programming. The relay provides the control interface to the opener; the magnetic contact supplies the open/closed input.
Command and state are separate pieces of information. Sending an instruction is not the same as observing its result. This project includes feedback rather than relying solely on the last command issued, although a door-state contact should not be confused with an obstruction-detection or safety system.
Hoffswell later clarified in the discussion that the contact switch simply completes a circuit and can be connected either way around. That answers the contact-polarity question, but it is not a complete wiring guide: another builder reported that their sensor only worked properly once they left the resistors in the circuit. The visible excerpts do not give enough detail to reconstruct that circuit or choose resistor values.
The working prototype still had a power-supply tradeoff
In the March 9, 2015 prototype log, Hoffswell reported that the installed controller had been running well for a few days and that stability looked very good. That is a useful early result, not evidence of years of unattended operation.
His build used a 5 V relay module. He wanted a 3.3 V relay and a strong 3.3 V supply to simplify power and move the circuit from a breadboard to perfboard. The distinction matters: the project was tagged completed, but this packaging and power revision remained a proposed next step in the supplied log.
Starting automatically is its own milestone
Later discussion exposes a different integration hurdle. In July 2016, builder Dwayne reported that the program worked when started through ESPlorer, but its startup file did not run automatically. Hoffswell suggested that a delay might help; the visible exchange does not establish a confirmed startup fix.
Dwayne also described firmware-detection trouble and uncertainty about flashing a 1 MB ESP-01 using instructions largely aimed at 512 KB versions. These are that builder’s reported difficulties, not proof of a fault in Hoffswell’s installed controller.
For anyone adapting the idea, the next useful test is therefore more demanding than a successful remote command: after a power cycle, does the controller start on its own and report the door’s actual state? The relay demonstrates control, but reliable startup and trustworthy feedback are what make that control useful.
Source: ESP8266 Wifi Smart Garage Door