Smart Home Devices

Smart Locks and Door Sensors

How connected door locks and contact sensors work, what they can and cannot do, and the security trade-offs to weigh before installing one.

On this page
  1. Two different devices
  2. How a contact sensor works
  3. How smart locks work
  4. Security trade-offs
  5. Batteries and failure modes
  6. Door sensors as a companion
  7. Choosing sensibly

Two different devices

People often group these together, but a smart lock and a door sensor do different jobs.

A smart lock is an actuator: it moves the bolt. A door sensor, usually called a contact sensor, reports whether a door or window is open or closed. A lock tells you the bolt position; a contact sensor tells you the door position. A door can be closed but unlocked, or locked but ajar, so knowing both is more informative than knowing one.

How a contact sensor works

A typical contact sensor has two parts: a small main unit on the frame and a magnet on the door. When the magnet moves away, the sensor notices and sends a message through its radio. It uses very little power, so a small battery commonly lasts a long time, though the exact time varies with use and conditions. Contact sensors are inexpensive and useful for more than security, for example for a reminder that a back door was left open, or to trigger a light when a pantry door opens.

How smart locks work

Smart locks come in several designs:

  • Retrofit models attach to the inside of the door and turn your existing deadbolt thumb-turn. The outside key cylinder usually stays, which preserves your physical key.
  • Replacement deadbolts swap the whole bolt mechanism and often include a keypad or touch panel.
  • Lever or handle locks are used on some doors, particularly interior or commercial ones.

Ways to unlock vary: a phone app, a PIN code, a keycard or fob, a fingerprint reader, or a voice request that typically needs a PIN for safety. Many support temporary codes for visitors, cleaners or guests, which can be removed afterwards. That is often more convenient and safer than hiding a spare key.

Communication also varies. Bluetooth Low Energy supports nearby unlocking but needs a bridge for remote use. Wi-Fi models can be controlled remotely but use more battery. Mesh radio locks usually need a hub. Whichever is used, the lock’s batteries are the weak point.

Security trade-offs

A connected lock is not automatically safer or less safe than a mechanical one. It trades one set of risks for another.

Things that can improve. You can see whether the door is locked, remove access for a person without changing keys, and receive a record of entries. This is useful for families and rentals.

Things that can worsen.

  • Digital attack surface. A lock tied to an account can be affected by weak passwords, stolen phones or shared logins. Use a unique password, enable two-step sign-in, and set a screen lock on your phone. Read up on default passwords and device vulnerabilities in general.
  • Software flaws. Keep firmware updates enabled, and check how long the maker supports the product.
  • Physical weakness. A smart lock does not make a flimsy door or frame stronger. Door strength, strike plates and hinge security still matter most against forced entry.
  • Auto-unlock features. Unlocking when your phone approaches is convenient but can open the door when you did not intend it. Think about whether you want that behavior.
  • Convenience creep. Giving temporary codes to many people can leave old codes active. Review and remove them periodically.

Batteries and failure modes

Plan for failure before it happens.

  • Keep a physical key or an emergency power method, such as terminals for a 9-volt battery on some designs.
  • Pay attention to low-battery warnings, and replace batteries before the lock gives up. Understanding battery life helps: more frequent unlocking and weak wireless signals tend to drain batteries faster.
  • Know what happens in a power or network outage. A good lock continues to work with codes or a key even if its cloud service is unavailable, and its smart features simply pause. This is a case of offline operation that you should verify before buying.
  • Decide whether the lock should lock automatically after a delay, which helps with forgetfulness but can lock people out if the delay is short.

Door sensors as a companion

Pairing a contact sensor with a lock lets automations be smarter. For instance, a reminder might fire only if the door is closed but unlocked. Placing sensors on key doors also builds a picture of daily patterns, which should be handled with the privacy of the household in mind. Think about who can see the history and how long it is stored, a topic covered under data retention.

Choosing sensibly

Start by checking your door and existing hardware, since not every lock fits every door. Ask whether you need remote control at all; a keypad lock with no internet features may meet your needs with less risk. Keep a physical backup, share access thoughtfully, and treat the lock as one layer of home security rather than the whole plan.

The complete guide to smart home devices

A Tour of Smart Home Device Types
Read the guide

Keep exploring

Guides from other topics

All topics →