I used a ratgdo shield to connect my garage door to Home Assistant and to collect a lot of environmental data. Unlike many of the amazing projects shared here, I used off-the-shelf components mounted to an Adafruit Swirly grid. There was minimal soldering at all with the project! These components are SparkFun Qwiic and Adafruit Stemma I2C modules. I used an LTC4311 chip to allow a long wire (using an RJ11 phone cord) to position the I2C sensors on the garage ceiling in an ideal location. An ultrasonic distance and template sensors determine if the car is in the garage. The motion sensor turns the lights on and off automatically. Finally, temperature, humidity, and pressure data are all collected.
This is a good showcase of several components that I implemented for the ESPHome project: Zio Ultrasonic, BMP581, and Qwiic PIR (that PR has not been accepted yet). If you want to read more details about this project, I made a post on my personal website with much more detail, links, pictures, and example configurations: https://www.kevinahrendt.com/garage-sensors (if this is too much self-promotion, please let me know so I can remove the link.) I can also add more information here if anyone is interested!