1. Product Overview
The Xiaomi Door and Window Sensor 7 (Model: MCCGQ02HL) is a smart device designed to enhance home security and automation. It detects the open/closed status of doors and windows and can be integrated with other smart home devices via the Mi Home / Xiaomi Home app. This sensor also features a 2-in-1 brightness sensor for advanced automation scenarios.

Figure 1.1: The main unit and magnetic strip of the Xiaomi Door and Window Sensor 7.
2. Key Features
- Smart Detection: By attaching the product to a door or window, you can check its open/closed status at any time.
- Instant Alerts: Receive instant alerts whenever a door/window opens or closes unexpectedly, providing greater peace of mind, especially when children are moving around.
- Smart Connection: Create usage scenarios via the Mi Home / Xiaomi Home app through interconnection with other smart devices, such as your cameras, air purifiers, or smart bulbs.
- Easy, Tool-Free Installation: Attaches with double-sided adhesive strips, allowing placement anywhere you desire.
- Light Intensity Detection: Features a 2-in-1 brightness sensor for more complex day/night scenarios.
3. Setup and Installation
3.1 Package Contents
- Xiaomi Door and Window Sensor (Main Unit)
- Magnetic Strip
- Double-sided Adhesive Strips
- User Manual
3.2 Battery Installation
The sensor requires 1 AA battery. Locate the battery compartment on the main unit, insert the battery according to the polarity indicators, and close the compartment securely.
3.3 Pairing with Mi Home / Xiaomi Home App
- Download the Mi Home / Xiaomi Home app from your device's app store.
- Open the app and log in or create a new account.
- Tap the "+" icon in the top right corner to add a new device.
- Select the "Xiaomi Door and Window Sensor 7" from the list of available devices.
- Follow the on-screen instructions to complete the pairing process. This typically involves pressing a button on the sensor to activate pairing mode. Ensure Bluetooth is enabled on your smartphone during this process.
3.4 Mounting the Sensor
Choose a clean, dry surface on your door or window frame. Ensure the main unit and the magnetic strip are aligned and placed within 1 cm of each other when the door/window is closed. Use the provided double-sided adhesive strips to firmly attach both parts to the desired location.
Figure 3.1: Sensor installed on a door frame, showing proper alignment.
Figure 3.2: Sensor installed on a window frame.
4. Operating the Sensor
4.1 Monitoring Open/Closed Status
Once installed and paired, the sensor will automatically detect when the door or window it is attached to opens or closes. You can view the current status in real-time within the Mi Home / Xiaomi Home app.
4.2 Setting Up Smart Scenarios
The Mi Home / Xiaomi Home app allows you to create automated scenarios based on the sensor's status. Examples include:
- Receive a notification on your phone when a door opens.
- Turn on a smart light when a door opens at night.
- Activate an alarm if a window opens while you are away.
- Adjust air purifier settings based on window status.
4.3 Light Intensity Detection
The integrated brightness sensor can be used in smart scenarios to trigger actions based on ambient light levels. For example, turn on lights automatically when it gets dark and a door opens.
5. Maintenance
5.1 Cleaning
Wipe the sensor with a soft, dry cloth. Do not use abrasive cleaners or solvents, as they may damage the device.
5.2 Battery Replacement
When the battery level is low, you will receive a notification in the Mi Home / Xiaomi Home app. Replace the AA battery promptly to ensure continuous operation. Refer to section 3.2 for battery installation instructions.
5.3 Adhesive Check
Periodically check the adhesive strips to ensure the sensor remains securely attached to the surface. Reapply or replace adhesive if necessary.
6. Troubleshooting
| Problem | Possible Cause | Solution |
|---|---|---|
| Sensor not responding / offline | Low battery; Sensor too far from gateway/phone; Pairing issue. | Replace battery; Move sensor closer to gateway/phone; Re-pair the sensor with the app. |
| Inaccurate open/closed detection | Sensor and magnetic strip misaligned or too far apart. | Ensure the main unit and magnetic strip are aligned and within 1 cm when closed. Re-position if necessary. |
| Cannot pair sensor with app | Bluetooth off; Incorrect device selected; Sensor not in pairing mode. | Ensure Bluetooth is on; Select the correct sensor model; Press the sensor button to enter pairing mode as per app instructions. |
| Adhesive not holding | Surface not clean or dry; Old adhesive. | Clean and dry the surface thoroughly before application; Use new double-sided adhesive strips. |
7. Specifications
| Attribute | Value |
|---|---|
| Brand | XIAOMI |
| Model Number | MCCGQ02HL |
| Item Dimensions (L x W x H) | 34 x 33 x 14 millimeters (3.4 x 3.27 x 1.45 cm) |
| Item Weight | 50 Grams |
| Material | Plastic |
| Battery Type | 1 AA battery required |
| Maximum Supply Voltage | 3.3 Volts |
| Measurement Accuracy | +/- 0.1 V |
| Mounting Type | Adhesive tape |
| Output Type | Electrical signal |
| Specific Uses for Product | Home security monitoring, Home automation |
| Language | English |
| Date First Available | April 21, 2022 |
8. Warranty and Support
8.1 Warranty Information
For specific warranty details, please refer to the warranty card included with your product or visit the official Xiaomi website. Warranty terms may vary by region.
8.2 Customer Support
If you encounter any issues or have questions regarding your Xiaomi Door and Window Sensor 7, please contact Xiaomi customer support through their official website or the Mi Home / Xiaomi Home app. You can also find frequently asked questions and community forums online.





