If the magnet is closed to this switch, the signal is conductive, otherwise, if the magnet is far away from this switch, the signal is disconnected. Switch Type Reed Switch. Applications: It is suitable for magnetic windows, doors, cabinets etc.
eBay