A Homebridge plugin for a contact sensor via GPIO of a Raspberry Pi.
github.com/Killerameise/homebridge-contact-sensor
Killerameise/homebridge-contact-sensor