As various inhabitants of our house tend to forget the garage door properly I've used my Udoo Neo to monitor the door state. Used Arduino, reed sensor, leds, Java, OSGi, serial communication and MQTT. See for more information http://www.cuhka.com/pmwiki/pmwiki.php?n=Garage.IsTheDoorClosed