The Smart WiFi Contact Sensor comes in two pieces, the transmitter fits into the door or window and the magnetic switch attaches to the frame.
The Sensor triggers an alarm to your smartphone to notify you of an intruder or when doors and windows are open. Other actions can also be triggered by the sensor if other smart devices are present.