NOTE: Although the stuff in this post should still work, the HA devs put out an ‘Alert’ component shortly after I wrote this that does pretty much the same thing. I’ve created an updated post about it HERE. I am going to leave this post up as I feel that it might still be useful to accomplish other tasks.
I decided I wanted to be able to control my garage door using my phone. After some research, I decided to use an ESP8266 based Wemos D1 Mini and Home Assistant.
Here are the parts that will be needed:
- Wemos D1 Mini | AliExpress
- MicroUSB Cable and Charger for Wemos
- 5V Relay | AliExpress
- Magnetic Reed Switch/Door Sensor | AliExpress
- 22 Gauge 2 Conductor Wire
- Electronic Project Case (Optional)
I’m going to assume that Home Assistant, MQTT, and Arduino IDE are all setup. There are plenty of guides out there on how to set those up. If anyone reading this does need help with any of that, feel free to post a comment.