How to connect the Xiaomi water sensor: step-by-step instructions

Water on the floor of an apartment is a nightmare for any owner, who can turn into not only a spoiled coating, but also expensive repairs from neighbors below. That is why smart leak protection systems become not just a gadget, but a necessity for modern housing. Xiaomi water sensor is a compact and reliable device that can instantly alert the owner of the problem and even automatically shut down the taps when properly integrated.

The process of installing this device is as simple as possible for the manufacturer, so that even a beginner in the world of the Internet of Things can cope with the task in a few minutes. However, there are important nuances regarding the choice of a gateway, setting up notifications and creating automations, without which the system will be incomplete. In this guide, we will discuss in detail how to connect the Xiaomi water sensor to the Mi Home application, and consider the typical errors that occur when pairing.

The sensor’s primary function is to monitor the condition of the floor in high-risk areas, such as the bathroom, kitchen or washing machine installation, and is Zigbee-based, which means it uses low power and has to have a gateway to connect to the Internet, without which the central module is impossible to connect directly to a router or smartphone, something that users often forget when they first buy it.

Preparation of equipment and selection of a lock

Before you start a physical installation, you need to make sure that all the components of the smart home system are available. The main element of the Xiaomi Smart Home ecosystem is the gateway, which acts as a bridge between the Zigbee sensors and your Wi-Fi network. If you do not already have such a device, you will have to purchase it separately, since the water sensor itself does not have a built-in Wi-Fi module.

Modern gateways from Xiaomi, such as the Mijia Smart Hub or older versions of Gateway 3, support many communication protocols. It is important to check the compatibility of a particular gateway model with the version of the sensor you plan to use. Usually, the device case or instruction lists supported protocols, including Zigbee 3.0, which is the standard for new sensors.

You will also need a smartphone with the Mi Home app installed (or Aqara Home, depending on the brand of the by-product).Make sure that the account is registered and you are logged in.For initial setup, it is recommended to be in close proximity to the router and gateway to eliminate problems with connection stability during firmware or device addition.

πŸ“Š What kind of Xiaomi gateway do you use?
Mijia Smart Hub (ZNDMWG03LM)
Xiaomi Gateway 3 (ZNDMWG02LM)
Aqara Hub M2
I don't have a gateway, I'm planning to buy one.

Don't forget to check the sensor's delivery kit. Inside the box is usually only the sensor itself and the CR2032 battery, which is often already installed with a protective insulator. Before starting work, you need to remove the plastic plug to activate the power of the device. If the indicator does not catch fire when you press a button, it may be that the battery is discharged or installed incorrectly.

Installation of the Mi Home application and registration

The control center of the entire system is the mobile application that must be installed on your smartphone. download the program should be exclusively from official sources: Google Play Store for Android or App Store for iOS. Using third-party versions can lead to unstable work or lack of support for new devices.

When you first start the application, you need to create an account or log in to an existing one. Pay attention to the choice of region when registering. For the correct operation of devices purchased in the global market or in official stores of the Russian Federation, it is recommended to choose the region "Russia" or "Europe". If the device has a Chinese version (Chinese fork or characters on the box), you may need to change the region in the settings of the application to "China".

Once authorized, the app will request permissions to access geolocation, Bluetooth, and the local network, which are critical: Bluetooth is needed to initially detect devices near the smartphone, and access to the location is required by the Android operating system to scan Wi-Fi networks. Without these permissions, the sensor search process may not begin.

  • πŸ“± Download the Mi Home app from the official store.
  • πŸ“ Register your account by selecting the right region.
  • πŸ”“ Allow Bluetooth and geolocation access in phone settings.
  • 🏠 Create a β€œHome” (room) in the application for easy management.

It is also important to update the app to the latest version before setting up, and older versions of the software may not have profiles for new sensor models released this year, and check for updates in the user profile or in the settings of the application itself.

Step-by-step instruction for connecting the sensor

The process of adding a device to the system takes no more than two minutes, if all the conditions are met. First turn on the gateway and make sure it is online in the application (burns blue or green, depending on the model). Then go to the Mi Home home screen and press the + button in the upper right corner to add a new device.

The app will automatically start scanning devices. If the water sensor is next to your smartphone and the insulator is removed from it, the system can detect it automatically. A device called "Mi Smart Water Leak Detector" or similar will appear in the list. Click on it to begin pairing.

β˜‘οΈ Checking before connection

Done: 0 / 4

If you don't detect automatically, you can manually select the device from the directory. Go to the "Security" or "Sensors" category, find the water drop icon. Follow the instructions on the screen: you usually need to press and hold the button on the sensor body for 3-5 seconds until the indicator starts flashing. This puts the device into pairing mode.

You may need Bluetooth confirmation during the installation process, and once you've successfully added it, it will appear in your home's device list, and you can now rename it, like "Sink Sensor," and assign it a specific room to navigate the interface.

⚠️ Warning: If the indicator on the sensor flashes red or fades quickly, this may indicate a weak battery charge or too long a distance to the gateway.

Setting up scenarios and automation

Simple phone alerts are just basic functionality. The real power of a smart home is unlocked when you create scenarios (automations). In the Mi Home app, go to the Scenarios (or Automation) tab and create a new If... then... scenario.

There are many options to take, the simplest is to send a push notification to all family members, and a more advanced scenario involves launching a gateway siren (if it has a speaker) or turning on a smart socket that has an electromagnetic valve plugged in to block the water.

An example of a complex scenario
If the water sensor detects a leak, then: 1. Send a notification to all phones in the family. 2. Turn on the lock siren for 5 minutes. 3. Turn on the smart socket with the valve. 4. Record video from the camera in the hallway (if any).

To implement automatic water closure, you will need an additional hardware, a smart ball tap (such as the Aqara Water Leak Detector, complete with electric drive), which requires accuracy, as an error can lead to false water closure throughout the house.

  • πŸ’§ Condition: Water sensor detects liquid.
  • πŸ”” Action 1: Send a notification to the owner.
  • 🚨 Action 2: Set up the audible alarm for the lock.
  • 🚰 Action 3: Close the electromagnetic valve (if available).

You can also configure the β€œIf the water is gone” scenario so that the system automatically sends a report that the situation is normalized, although for valves this action is better done manually after checking.

Table of compatibility and technical specifications

When planning a smart home system, it is important to consider technical limitations and device compatibility. Below is a table to help you understand the differences between popular sensor and gateway models.

Model of the deviceProtocol of communicationLock requiredAverage working hours
Mi Smart Water Leak DetectorZigbeeYes (required)Up to 2 years
Aqara Water Leak SensorZigbeeYes (Aqara or Xiaomi)Up to 2 years
Xiaomi Gateway 3Wi-Fi + ZigbeeNo (itself a gateway)From 220B network
Mijia Smart HubWi-Fi + Bluetooth + ZigbeeNo (itself a gateway)From 220B network

Note that the Zigbee protocol creates a mesh network where devices can amplify each other’s signal, meaning that having multiple sensors or smart Zigbee outlets in your home can improve overall network stability, even if they are far from the main gateway.

πŸ’‘

Place sensors at the lowest points of the floor, as water always drains down, and the ideal place is directly under the pipes or in the corner of the room where the liquid drains.

Typical problems and ways to solve them

Despite the reliability of the system, users may experience difficulties in operation, the most common problem is the device "Offline" or "No response", which means that communication between the sensor and the gateway is lost, the cause may be battery discharge, removal of the device from the range of Zigbee or a failure in the gateway.

Another common situation is delaying notifications, because the sensor is in sleep mode most of the time to save energy, it only wakes up when water is detected or on a status check schedule, so notifications can come with a delay of several seconds or even minutes, which is the norm for the Zigbee protocol.

⚠️ Attention: Do not immerse the sensor in water completely! It is only designed to detect water on the floor surface. Full immersion can disrupt the tightness of the housing and cause the device to fail.

If the sensor is no longer responsive to presses or does not send test notifications, try removing it from the application and adding it again. Sometimes it helps to replace the battery with a new one, even if the indicator shows sufficient charge - under load the voltage can drop sharply.

πŸ’‘

The stability of the water sensor depends on the quality of the Zigbee signal and battery power, and regular status checks in the application will help to avoid surprises.

Where is the best placement of the sensor

The effectiveness of the protection system depends on the correct placement of the sensors. First of all, install them under the sources of potential leakage: under the sink in the kitchen, under the sink in the bathroom, behind the toilet and next to the washing machine. If there is a water heater in the apartment, be sure to place the sensor under it.

You also have to look at the pipes and risers, and apartment buildings often leak from the blockages in the neighbors on top, so placing the sensor in the corner of the bathroom, where water usually drains, can save you from a lot of damage.

Remember, the sensor should be on a flat surface, and the legs on the bottom of the body lift the sensitive contacts above the floor, allowing water to flow under them, and make sure that there is space around the sensor for water to spread, and it is not closed by tightly-stood cans of household chemicals.

πŸ“Š Where do you plan to install the sensor?
Under the sink in the kitchen
In the bathroom under the pipes
Near the washing machine.
At the entrance to the apartment

Frequently Asked Questions (FAQ)

Does Xiaomi’s water sensor work without internet?
Without the Internet, the sensor will continue to detect water, and the gateway can turn on a local siren (if it is available and configured), but you won't get a push notification on your phone while you're away from home, and you won't be able to control the device remotely.
Can I use a sensor outside?
No, the device's body does not have IP-standard moisture protection for external use (rain, snow), and extreme temperatures can damage electronics and batteries.
How often should I change the battery?
Under normal operating conditions, the CR2032 battery lasts for 1-2 years.The Mi Home app will warn you in advance of low battery charge when it drops below the critical value (usually 10-15%).
Is the sensor compatible with Google Home or Yandex Alice?
Direct compatibility is not available, as the sensor works through the gateway.However, if your gateway (like some Aqara models or third-party hubs like Home Assistant) supports integration with these ecosystems, you will be able to receive notifications or use the sensor in their scenarios.
What if the sensor lost contact after moving?
If you move to a new home, the sensor should be removed from the old β€œHome” in the application and added again to the new profile tied to the new gateway. You can reset the settings by quickly pressing the button on the sensor 5 times in a row (the indicator blinks), and then repeat the pairing procedure.