The mydlink Home Door/ Window Sensor is a contact sensor that detects when a door or window is opened or closed, providing you with a trigger for automating your home. Integrating with D-Link's HNAP protocol, the Door/ Window Sensor connects seamlessly with your the connected home hub, guaranteeing compatibility & getting your smart home network up & running right away.