sodcalculator

10 Tech How-To

Xiaomi Door & Window Sensor 3: Connect to Home App

Guide 10-44468 · Updated · Step by step

This guide walks you through connecting the Xiaomi Door and Window Sensor 3 to the Xiaomi Home app (also called Mi Home). By the end, you’ll have the sensor paired, placed on your door or window, and ready to trigger automations or send alerts to your phone.

What You’ll Need

  • Xiaomi Door and Window Sensor 3 (the device itself)
  • A smartphone with the Xiaomi Home / Mi Home app installed (available for iOS and Android)
  • A Xiaomi account (create one in the app if you don’t have it)
  • A 2.4 GHz Wi-Fi network (the sensor uses Bluetooth, but the phone must be on the same network as your Xiaomi hub or gateway if you use one; the sensor can also connect directly to the phone via Bluetooth for local alerts)
  • Optional but recommended: a Xiaomi hub or gateway (like the Mi Hub or a smart speaker with a hub) if you want remote access and automations when you’re away from home

Step-by-Step

  1. Prepare the sensor: Remove the plastic pull-tab from the battery compartment to power on the sensor. The LED indicator should blink once.
  2. Open the Xiaomi Home app: On your phone, launch the Xiaomi Home app. If you’re not logged in, sign in with your Xiaomi account.
  3. Enable Bluetooth: Make sure Bluetooth is turned on in your phone’s settings. The app will use it to discover the sensor.
  4. Add a device: Tap the + (plus) icon in the top-right corner of the home screen, then select Add Device.
  5. Scan for the sensor: The app will automatically search for nearby devices. When the Door and Window Sensor 3 appears in the list (it may show as “Mi Door and Window Sensor 3” or similar), tap on it.
  6. Follow the in-app instructions: The app will guide you through pairing. It may ask you to press and hold the button on the sensor for a few seconds until the LED blinks rapidly. Do that and wait for the app to confirm the connection.
  7. Assign to a room: After pairing, the app will ask you to name the sensor and assign it to a room (e.g., “Front Door” or “Living Room Window”). Choose a name that helps you identify the location later.
  8. Finish setup: Tap Done or Save. The sensor will now appear on your home screen in the Xiaomi Home app.
  9. Test the sensor: Physically separate the two parts of the sensor (the magnet and the main body) and then bring them together. You should see the status change from “Closed” to “Open” and back in the app.
  10. Optional – Connect to a hub: If you have a Xiaomi hub, the app may prompt you to connect the sensor to it. This allows the sensor to trigger automations and send notifications even when your phone is not nearby. Follow the app’s instructions to complete this step.

Common Mistakes

  • Not enabling Bluetooth: The app relies on Bluetooth to discover the sensor. If Bluetooth is off, the sensor won’t appear.
  • Using a 5 GHz Wi-Fi network: The sensor itself uses Bluetooth, but the Xiaomi Home app needs to communicate with your phone. If your phone is on a 5 GHz network and the hub is on a 2.4 GHz network, they may not see each other. Use the same network for both.
  • Ignoring the battery pull-tab: If the sensor doesn’t power on, you may have forgotten to remove the plastic tab from the battery.
  • Placing the sensor too far from the hub or phone: Bluetooth has a limited range (typically 10-30 meters). If the sensor is out of range, it won’t connect or may drop the connection.
  • Not holding the button long enough: During pairing, the app may ask you to press and hold the button until the LED blinks quickly. If you release too early, the sensor won’t enter pairing mode.

Tips

  • Place the sensor correctly: The main body and the magnet should be aligned with a gap of no more than 20 mm (about 0.8 inches) between them when the door or window is closed. The sensor works best when the two parts are parallel.
  • Use the included adhesive tape: The sensor comes with double-sided tape. Clean the surface with a dry cloth before sticking it on to ensure a strong hold.
  • Name the sensor clearly: Use descriptive names like “Back Door” or “Bedroom Window” so you can easily identify which sensor is triggering an alert.
  • Set up automations: In the Xiaomi Home app, you can create automations like “If front door opens, turn on the living room light.” This makes the sensor more useful than just sending notifications.
  • Check the battery level: The sensor uses a CR2032 coin cell battery. You can check the battery level in the app under the device settings. Replace the battery when it drops below 20%.

Troubleshooting

Sensor not found during pairing: Make sure the sensor is powered on (LED blinks when you press the button). Move the sensor closer to your phone (within 1-2 meters). Restart the Xiaomi Home app and try again. If it still doesn’t appear, remove the battery, wait 10 seconds, reinsert it, and retry.

Sensor pairs but goes offline: This often happens when the sensor is out of range of the hub or phone. Move the sensor closer to the hub or phone. If you’re using a hub, make sure it’s online and connected to the same Wi-Fi network as your phone.

Status doesn’t update in the app: Open the sensor’s page in the app and pull down to refresh. If that doesn’t work, close the app and reopen it. If the problem persists, remove the sensor from the app (in device settings, tap “Remove Device”) and pair it again.

Sensor triggers false alarms: This can happen if the magnet is too far from the main body or if the sensor is loose. Realign the two parts and check the gap. If the sensor is on a metal door frame, the metal may interfere with the magnetic field; try using the included spacer or reposition the sensor slightly.

Cannot connect to a hub: Ensure your hub is compatible with the Door and Window Sensor 3 (most Xiaomi hubs are). Check that the hub is online and that you’re logged into the same Xiaomi account on both the hub and the app. Try rebooting the hub by unplugging it for 10 seconds and plugging it back in.

Frequently Asked Questions

Do I need a hub to use the sensor? No, you can use the sensor directly with your phone via Bluetooth. However, without a hub, you’ll only get notifications when your phone is within Bluetooth range. A hub enables remote access and automations.

Can I use the sensor with Apple HomeKit or Google Home? The Xiaomi Door and Window Sensor 3 is not officially compatible with HomeKit or Google Home. It works only with the Xiaomi Home app and Xiaomi’s ecosystem. Some users have reported workarounds using third-party bridges, but these are not officially supported.

How long does the battery last? The CR2032 battery typically lasts about 1-2 years, depending on usage frequency. The sensor is designed to be low-power, so it should last a long time under normal conditions.

Can I use multiple sensors with one phone? Yes, you can add as many sensors as you like to the Xiaomi Home app. Each sensor will appear as a separate device, and you can name them individually to keep track.

What happens if the sensor loses connection? The sensor will attempt to reconnect automatically when it comes back into range. If it doesn’t reconnect, you may need to manually re-pair it by following the steps above.

Can I adjust the sensitivity of the sensor? The sensor has a fixed sensitivity based on the magnetic field. You cannot adjust it in the app. However, you can change the physical gap between the magnet and the main body to alter when it triggers (smaller gap = more precise detection).

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →