How to connect the sensor of water leakage Xiaomi: full instruction

The appearance of a puddle under the sink or behind the washing machine can turn an ordinary day into a nightmare with calling emergency services and repairing a swollen laminate. It is to prevent such situations that Xiaomi has developed a compact and smart sensor that will instantly alert the owner of the problem. Connecting a leak sensor is not just a formality, but creating a critical level of protection for your property from the elements.

Modern smart home systems allow you to respond to incidents automatically by cutting off water or power in a dangerous area. However, to properly operate the entire chain, you need to properly configure the primary device. In this article, we will discuss the process of integrating the sensor into the Mi Home ecosystem, discuss the nuances of choosing a gateway, and learn how to create effective automation.

It's worth noting that the installation doesn't require any technical knowledge or tools, but it does require attention to detail. The quality of the connection and the correctness of the parameters you choose will determine whether you get a notification a second before the flood or learn about the problem from your neighbors below. Let's look at how to turn your smartphone into a reliable watch post.

Preparation for installation and selection of the lock

Before you start the installation, you need to make sure that you have compatible equipment. Xiaomi Mi Water Leak Detector sensors work on the ZigBee protocol, which means that they can not be directly connected to the Wi-Fi router without an intermediary. You will need a Gateway that will act as a bridge between the sensor and the Internet. This can be a universal gateway Aqara Hub, Mi Smart Home Hub or even some models of smart sockets and lamps with support for ZigBee.

It is important to check the protocol version, as devices of different generations may not be compatible. First-generation sensors (often labeled as ZigBee 1.0) will not work with gateways that only support the second protocol, and vice versa. Carefully study the marking on the bottom of the device: if there are symbols "ZigBee 3.0" or the logo "Works with Apple HomeKit", you will need a modern gateway. Ignoring this point will lead to the gadget simply not be identified in the application.

Also make sure that your smartphone has an up-to-date Mi Home app (or Aqara Home, depending on the ecosystem you choose) and that the region in the app matches the region you selected when you first set up the gateway. If the gateway is registered in China and the app is set up for Russia or Europe, finding the devices may take an unnecessarily long time or not be successful at all.

πŸ“Š What gateway do you plan to use to connect?
Aqara Hub M2
Xiaomi Multimode Gateway
Smart outlet with ZigBee
I don't have a lock yet.

Don't forget to prepare the sensor itself. Usually, the battery is CR2032, but before installation it is better to check its charge or immediately replace it with a new, high-quality, for example, from Panasonic or Duracell. Weak battery charge can lead to unstable operation and delays in the transmission of the alarm signal.

The process of pairing a device with an application

The procedure for adding a new device to the system is fairly standardized, but it has its own features. First, open the Mi Home app and go to the home page. Click on the plus icon in the upper right corner to add a new device. QR-code or select a device from a list. Search the Security section in the directory or search for Water LeakΒ».

β˜‘οΈ Checklist before pairing

Done: 0 / 4

When the app goes into search mode, you need to activate the sensor. To do this, press and hold the round button on the top of the device for 5-7 seconds. The indicator will flash blue, signaling readiness to pair. If the blinking has not started, perhaps the battery is installed incorrectly or it is discharged. During the search, keep the smartphone and sensor in close proximity to the gateway - the distance should not exceed one meter for guaranteed success.

Once it's detected successfully, it'll ask you to name the device and select a room, and it's recommended that you give it a location-based name, like "Water Under the Washer" or "Bathroom Leak," which will make it easier to control in the future, especially if you have multiple sensors installed, and it takes less than a minute before the device appears on the list of available gadgets.

⚠️ Warning: If the device search lasts more than 2 minutes and ends in error, try rebooting the gateway (unplug for 10 seconds) and repeating the procedure.

Setup of automation scenarios

Notification on the phone is a good thing, but the real power of the smart home is revealed in automation. Scenarios allow the system to respond to events without you. To set up, go to the "Automation" section of the app and create a new one. With the trigger (condition), select "Device" -> "Drip Sensor" -> "Drip detected".

You have to set the action. There are many options, from simple push notifications to complex chains. You can set up sending an SMS, launching a smart alarm siren, or turning on a smart socket that has an electromagnetic valve connected to it. Xiaomi allows you to combine conditions, for example, activate a script only at certain times of the day or only when no one is home.

An example of a complex scenario
If the sensor detects water And time from 00:00 to 06:00, TO: 1. Send a push notification. 2. Turn on the siren for 5 minutes. 3. Close the electromagnetic crane. 4. Send a message to Telegram/WhatsApp (through third-party integration).

And the special thing to do is to focus on electromagnetic crane scenarios, which require a special crane control module and an electric crane itself, and when the sensor is triggered, the signal goes to the gateway, which tells you to close the valve, and it's the only guaranteed flood protection if you're not at home.

πŸ’‘

An automatic water-closure scenario is the only way to protect your apartment from flooding in your absence. Don't rely on smartphone screen notifications alone.

Technical specifications and compatibility

Understanding the technical limitations will help avoid frustrations: the sensor operates in a temperature range of 0 to +40 degrees Celsius, making it suitable for use in heated rooms, but not in unheated basements in winter. The degree of moisture protection of the housing allows it to withstand water ingress, but full immersion for a long time is not recommended, although it can withstand this for a short time.

Below is a table of the main parameters for rapid orientation:

ParameterMeaning/Description
Protocol of communicationZigBee (gateway required)
Nutrition1 x CR2032 (included)
Battery lifeUp to 2-3 years (depending on the frequency of the response)
DimensionsDiameter 4.5 cm, height 1.2 cm
Level of protectionIPX7 (Short-Time Immersion)

Compatibility with voice assistants also plays an important role: When properly configured through plugins or built-in features, the sensor can work with Google Assistant, Amazon Alexa and Apple HomeKit (when using the corresponding Aqara gateway), which allows voice to ask for device status or receive voice alerts.

The best places to stay

The effectiveness of the protection depends on where the sensor is installed. The water flows down and spreads across the floor, so the sensor should be at the lowest point of potential flooding. Don't put it on the shelf or the nightstand, where it will only work when the water level rises significantly, and it will be too late.

Key points for installation:

  • 🚿 Under the washing machine: most often leaks occur due to the vibration of hoses or wear of cuffs.
  • 🚰 Under the sink in the kitchen and in the bathroom: the connection of pipes with siphon – classic sources of problems.
  • 🚽 Near the toilet: especially if you have a hygienic shower or bidet installed.
  • πŸ”₯ Near the water heater or boiler: it is critical to monitor the condition of the safety valves.
  • 🏠 In niches with pipe wiring: if the pipes are hidden in boxes, the sensor should be placed on the floor inside the box.

πŸ’‘

If you have a warm floor, you still need a sensor, and it's not afraid of heating to 40 degrees, and it's going to save you from leaking the valves that could happen over the heating system.

When you install tiles or linoleum, there's usually no problem, but if you have a wooden floor or laminate without moisture protection, you can use special plastic stands (often bundled or bought separately) that slightly lift the sensor above the carpet pile or irregularities, but tetap allows water to flow under it.

Maintenance and troubleshooting

Despite its simplicity, the device requires minimal maintenance, and once every six months, it is recommended to wipe the bottom of the sensor from dust that can accumulate and theoretically interfere with contact with water, although the principle of operation is based on closing the contacts, not changing the capacity.

The Mi Home app sends a notification when the charge drops to a critical level (usually around 10-15%). You can't ignore this signal. It takes seconds to change the battery: you need to flip the device, unscrew the screw (if you have one), or move the cover, replace the power supply and activate the button again. Once you change the sensor, it automatically reconnects to the network.

⚠️ Warning: Do not use the sensor in places where water on the contacts may freeze.Ice is a dielectric and can prevent circuit closure even in the presence of water, leading to a false sense of security.

If the sensor is no longer responding or the status in the Offline app, try pressing the button once briefly, this will send the status signal to the gateway. If there is no response, check the distance to the gateway. Perhaps concrete walls or metal furniture will screen the signal, in which case you may need to install an additional repeater or move the gateway closer.

What if the sensor is falsely activated?
False positives can occur due to high humidity (condensation) or a detergent that changes the electrical conductivity of the water. If the sensor is under the sink, check if the condensate drips from cold water pipes. Also wipe the contacts with a dry cloth. If the problem recurs, try increasing the gap between the contacts or changing the installation site.
Can I use the Xiaomi sensor in the Home Assistant?
Yes, it is possible. This requires an open API gateway (such as some versions of the Aqara Gateway or Raspberry Pi with a ZigBee stick), and allows you to manage your device locally, without the Xiaomi cloud, which increases reaction speed and independence from the manufacturer’s servers.
How deep can the sensor be immersed?
Although the device has IPX7 protection and can withstand immersion up to 1 meter for 30 minutes, it is not designed to work constantly under water (as in an aquarium). Once water is injected and the alarm is triggered, it must be removed, dried and wiped to avoid corrosion of the contacts.
Does the sensor work without the internet?
The sensor and the gateway are still running locally: if you have the automation set up inside the application (on some memory gateways) or if you have a physical siren/valve connected, they can work. However, the push notification on the phone will only come if you have the Internet. Without the network, you will only know about the leak visually or by the sound of the siren.