The door/window sensor uses a magnet to detect open/close events for doors, windows, or other applications that use a magnet to detect close proximity.