Turn the magnet 90 degrees. It is better to install the sensor unit on a fixed door frame. Attaching the small magnet unit to the door is the best way to protect the sensor. Although the sensor unit should be less than 22 mm (7/8 inch) from the magnet, they should not be installed too close to each other to avoid contact and damage that may occur during closing.