This compact and affordable door sensor mechanism uses a Hall-effect sensor fixed at the corner of the door frame and a standard bar magnet fixed on the door panel close to the Hall-effect sensor. When the door is opened, the magnet moves away from the sensor to generate a wake-up signal to the...