Why a Door Sensor Works on the Table and Fails on the Frame
A magnetic contact sensor depends on gap, material, alignment and the behavior of the door itself.

In this article
- Measure the place where the pieces meet
- Separate the contact state from delivery
- Mount and verify the ordinary edge cases
- Make the hinge motion part of the measurement
- Read the label on both mounting pieces
- Make a small repeated test on your own door
- Tell radio delivery from a weak magnet position
- Ask what will change after mounting
- Leave a verification routine a second person can follow
- Keep a weak result actionable
A magnetic door contact has two parts that need to stay close enough to recognize a closed position. A successful test across a tabletop does little to account for a shifting door, recessed trim or a steel frame. Before attaching the sensor, test on the actual moving surface.
Measure the place where the pieces meet
Read the maker’s mounting instructions and note which side of the sensor is intended to face the magnet. Tape both pieces in place temporarily. Check that a fully latched door leaves the specified gap and alignment. Inspect how far the gap changes between the position where the door first reaches the frame and the position where the latch engages. Do several slow closes, then several at an ordinary pace. Watch events in the app rather than listening only for a notification, which can arrive with its own delay.
Look for trim, weather seals and handle pressure. The two parts may sit at different heights although they appear aligned from the front. Run a hand along the closed gap without inserting anything into the mechanism, and observe where the door flexes under usual closing pressure. A steel mounting surface can change the magnetic field or affect radio reach. Check whether the manufacturer recommends an alternate position or spacer for that material.
Separate the contact state from delivery
Pause with the door open and then closed while looking at the sensor state. A stable state on the sensor but missing notifications on the phone can point to connectivity or automation rather than magnet position. If the device reliably reports on a bench near its controller and fails near the frame, test connectivity at the door with the magnet positioned correctly. If state flickers when you gently press a latched door, adjust the geometry before changing batteries or the network.
Mount and verify the ordinary edge cases
Clean the surface using a method suitable for the finish and use the approved fastener or adhesive. Check the opening clearance before closing the door fully. Verify that the sensor cannot interfere with the latch or scrape a person passing through. Then test normal use, a door left ajar and a quick open-close sequence. Keep a note of the battery type and what notification you expected. The sensor reports a contact condition under its design limits. Treat it as one signal, especially in a setup where a door can rest on the frame without properly latching.
Make the hinge motion part of the measurement
A door changes more than the nominal distance between its edge and the frame. The magnet may approach the sensor from an angle, end above it or move when the weather seal compresses. Begin with three positions: open, resting near the latch, and fully latched with ordinary pressure. Observe the app or manufacturer's setup indicators with a consenting household member operating the door. Mark the temporary mounting positions with material appropriate to the finish and note what reading should occur in each position.
The point where a sensor changes state may differ slightly depending on whether the magnet is approaching or leaving. Some products deliberately allow a margin around the switching point to avoid repeated changes at a boundary. Treat the product guide and repeated physical observations as your reference. Thin trim or a different orientation can change that margin. A successful test near the limit says that one close happened to succeed; use a consistent workable gap rather than relying on a maximum under every condition.
Read the label on both mounting pieces
Many products mark an edge or small area where the two pieces should align. Try the intended layout first and match the documented maximum distance, orientation and position recommendations. Ring's second-generation contact sensor installation notes, for example, discuss a maximum detection gap of one inch and an approved way to raise a component where offsets demand it. That is a model-specific example. A different product can have a smaller limit, another magnet position or different mounting requirements.
Imagine a frame about 12 mm higher than the door along the chosen edge and a sideways separation of about 10 mm. The straight-line offset for those idealized axes is about 16 mm. That simple geometry tells you why a front-on estimate of 10 mm is incomplete. It still cannot predict how the magnetic field behaves around the two casings, metal or the position of the active parts. Check the specified points, try the approved spacer if offered and see the actual state with the door latched several times. Avoid improvised mounting methods that affect a latch, closer or the owner's finish.
Make a small repeated test on your own door
Try six to twelve normal openings over a suitable period, with some slow and a few at the pace people use every day. Note whether the status settles, whether two events appear in surprising succession and how long the app takes to show each change. Give each trial an identifier rather than assuming the most recent notification always belongs to the last close. Do not arm a security system or trigger a monitoring response merely to check a sensor. Use the vendor’s setup or authorized test procedure and respect any active monitoring arrangements.
If the door rests against the frame without catching the latch, write down the distinction between the actual latch and the contact state. A sensor sees its paired magnet within design limits. It can report closed while a door is still uncaught. Where latch engagement matters, keep the ordinary physical verification. A notification whose text says “closed” is an interpretation of that contact status, not a new measurement of every part of the door.
Tell radio delivery from a weak magnet position
Try two comparable conditions on the actual installed equipment. First hold the normal geometry in place and see whether the local or base-station status changes each time. Then compare what the phone and any automation did. If the hardware or authorized status view is reliable but a push message appears late, look up the notification or automation settings. Mobile network conditions, a schedule and device permissions can delay or suppress an alert. Repeatedly moving the magnet will not diagnose a status that already reaches the base reliably.
Conversely, if only the frame location fails when both pieces are held in suitable geometry, try the approved radio-support steps. A concealed frame or metal surroundings may affect the workable location. Test in the closed position, when the surrounding material and barriers are in their normal arrangement. Starting with the two pieces near the controller can confirm the unit behaves in an easy condition, then you can compare controlled changes instead of attempting a complete re-pair after each move.
Ask what will change after mounting
Temporary tape gives a useful trial, but adhesion and alignment can change when the real mount goes on. Use the approved fastener or adhesive on a suitable surface. Follow cure times where provided and ask the property owner when permanent work requires consent. Leave reasonable access to the battery and serial marking, and check it will not interfere with cleaning, opening or normal access. Check the clearance at the hinge and trim without forcing any surface.
Doors move over time. A common interior door and an exterior door that expands and contracts with temperature can present different conditions. If the normal mounting margin is small, anticipate that routine changes can expose it. Record the closed reading on a cold morning or after typical weather changes only if this reflects your location and does not create an unsafe test. A small series of ordinary observations is more valuable than pushing hard on a closed door to invent an unlikely extreme.
Leave a verification routine a second person can follow
Label the device with a name that points to its location and confirm it responds in a way the household can interpret. A delayed-app notification can be marked separately from the contact result. Keep a note of the intended battery, the model's mounting mode and the angle or spacer used. If the door is later rehung or its seal changes, repeat one slow close, one ordinary close and a quick open-close action before relying on the device again.
In a hypothetical result, the app flips reliably between open and closed, but a fast opening gets one summary notification instead of two. That fact can point to a rule emphasizing the final state rather than a failure at the door. Check the available event history and normal notification options. If a reliable sensor still cannot distinguish the conditions your household needs, choose another supported placement or an additional approved means of detecting that state. Secure access remains a physical job, with a properly placed sensor supplying better information about one aspect.
Keep a weak result actionable
Imagine a temporary placement near the center of the frame produces eleven clear changes and one ambiguous result. Try the one suspect action again under the same condition before declaring it safe to use. If only a gently closed door shows ambiguous status, find a position where the mounted components align in the way the manual describes without pretending the app measures the latch. If only the phone's alert is missing while the base records every state, keep the stable geometry and inspect notification rules.
The point of repeated checks is to remove a fragile margin. Mark deviations in a brief note so the next owner knows whether a spacer or position change was intentional. A sensor whose adhesive has slipped downward after cleaning can still report normal some of the time. A private reference picture of the mounting, with no access codes or unnecessary context, can help confirm positions after maintenance.


