Sonoff Switch Garage Door
Remote control automate monitor home devices like lights temperature and more.
Sonoff switch garage door. It is an absolutely affordable wifi garage door opener that can be triggered to open or close the garage door through your smartphone instead of leaving your car. Here sonoff 4chpror2 wifi smart switch is a worthy investment. After setting up the wifi data the device will restart. This rule watches the tuyamcu packets for the garage door state open or closed via the magnetic reed switch attached to the door.
Powerretain 1 makes the state of the door being open or closed be retained during a home assistant reboot. If you have eagle eyes you might note that my payload on is off. The door sensor reed switch is now power2. Also note that again yours could be named sonoff and mine is named sonoffgarage.
Just start flashesp8266 exe choose the bin fine and flash. These are going to the reed switch and will tell you if the garage is open or closed. No idea how to retrofit. Solder 2 lengths of small wire one on the input and one on the output these wires will connect to the switch contacts on your garage door motor.
Use a usb cable for power. The sonoff units take mains power at one end and delivers switched mains power at the other internally they have a small transformer to run the esp8266 device and a 10amp relay to switch the power. The rest is the save as when flashing sonoff. Connect female end of jumper wires to gpio 14 and ground.
Plug the microusb cable to the nodemcu and while pressing the flash button plug in the usb into your computer.