The Wireless Open/Closed Sensor can be used to detect when a door or window is opened and closed using a manetic switch