Verify that one piece of the sensor is mounted on the door (or window), and the other piece mounted on the frame
Both pieces must be mounted on the handle side of the door, and not the hinge
Ensure that when the door is opened, both pieces are separated from each other more than 3/4"