Please make sure that the sensor and magnet is located less than 0.25 inch from each other. For optimal performance, it is highly recommended to install the Door/Window sensor on the fixed frame and the magnet on the moving part of the door/window. Place the sensor near the top of the door that close to the opening edge of the door. This is the mounting location for the sensor.