RackedPrice

Disclosure: We earn a commission from some links on this page. Details

Know if the car is in the garage

A distance sensor on the wall sees if the car is there.

Make and tinker1 hourEasy

Drafted with AI assistance, fact-checked and approved by RackedPrice.

  1. Mount the distance sensor on the garage wall, facing where the car parks.
  2. Connect it to a Pi with a long Qwiic cable.
  3. Install SparkFun's library for it and run the example. Note the distance with and without the car.

    ~/sensors/bin/pip install sparkfun-qwiic-vl53l1x
  4. Send "car home" or "car away" to Home Assistant over MQTT.

    Same setup as the room sensor how-to. Pick a distance halfway between your two readings. Shorter means the car is there.

Build guide

Ready for a bigger build?

Our project guides walk through a whole build, with a parts list priced by our tracker.

See the projects

Shopping (optional)

What you'll need

SparkFun doesn't share prices with us, so check the price on its page.

More make and tinker how-tos