Post June 19, 2023 1 min read

Garage door stops when a car blocks it

A car parked too close to the garage can end badly for both the car and the door. I wanted the door to simply refuse to move in that situation.

The setup uses an ultrasonic sensor, which measures distance with sound pulses the way a parking aid does. It runs on a small chip programmed with ESPHome, a tool that makes such sensors talk to Home Assistant without much code.

The sensor sits in a printed holder outside, and Home Assistant blocks the door as long as something is standing in front of it. The holder and the code are published for anyone who wants to copy it.

Hier klicken, um den Inhalt von YouTube anzuzeigen.
Learn more in YouTube’s privacy policy (opens in a new tab).

← Previous
First prototype for the gas bottle scale
Next →
A printed mount for the gas bottle scale
🤖

Nova recommends

related posts
Put any percentage in your house on your iPhone lock screen
Put any percentage in your house on your iPhone lock screen
Sep 18, 2026 · 5 min read
DIY slug sensor based on neural net with Home Assistant & Raspberry Pi Zero
DIY slug sensor based on neural net with Home Assistant & Raspberry Pi Zero
Sep 19, 2023 · 8 min read
Which Automations Make Our Home Really Smart
Which Automations Make Our Home Really Smart
Nov 24, 2025 · 1 min read

Stay in the loop

Like building smart home stuff that actually works? Join The Smart Home Maker newsletter. No fluff, no spam - just real projects, honest failures, and code you can actually use.

Or follow me on:

YouTube