Building a Smart Automatic Door with ESPHome - Share Your Tips!

Hey everyone! :star2: I’ve been wanting to add a smart door to my Home Assistant setup for ages, and I finally took the plunge! It’s been a fun DIY project, and I’d love to share my experience and get your feedback. :rocket:

So, I started by researching how to control a door through Home Assistant. After some Googling, I found that there wasn’t an existing solution, so I decided to build my own! :blush:

Here’s what I came up with: a 5V motor with wheels controlled by an L298N motor controller, all powered by an ESP8266 NodeMCU using ESPHome. The door automatically opens and closes, which is super cool! :video_game:

I attached a Xiaomi contact sensor to the door and added a wall-mounted button to stop the motor. It works pretty well, but I had to add some weight to the motor because our carpet is a bit uneven. :stop_sign:

Here’s a quick overview of the setup:

  • Motor: 5V motor with wheels
  • Controller: L298N motor controller
  • Microcontroller: ESP8266 NodeMCU
  • Sensors: Xiaomi contact sensor and wall-mounted button
  • Power: 12V power supply (I lowered the speed because I’m using a 5V motor)

I also added a buzzer to alert people when the door is closing. It’s a small touch, but it makes the system feel more complete! :rotating_light:

I’d love to hear your thoughts on this project! Do you have any tips for improving the system? Have you built something similar? I’d especially appreciate advice on handling uneven carpets or adding more safety features. :thinking:

Let’s chat! :handshake: I can’t wait to hear about your smart door projects or any other DIY creations you’ve worked on. Happy building! :star2: