Garage door sensor and opener using a Raspberry Pi and Sinatra