My current $7 setup is an ESP8266 board flashed with Tasmota. It has a relay wired to GPIO and the dry NO contact is wired to the garage opener circuit. The relay is configured to drop off in 500ms as to avoid being stuck. In turn, the ESP8266 is added to my Hubitat so it can be used on home automation.
It opens the garage door when we get within 100m of the house and closes it when we leave (via GPS geofencing). Auto closes 30min after sunset, etc. For garage door position I use a battery Zigbee sensor. The whole setup has been running for over a year with no issues.
Garage doors brought me into the world of IoT. Arduino Ýun was my first device. [Only in Czech] My garage, my castle