Water accidents are one of the most common causes of apartment flooding, causing costly repairs to neighbors below. Even a small leak under the sink can turn into mold, spoiled furniture and conflicts with the management company. Xiaomiβs water leak sensor solves this problem by instantly alerting you to moisture β but only with the right connection and setting.
In this article, you will find the latest connection instructions for all modern sensor models (MiJia Honeywell Water Leak Sensor, Aqara Water Leak Sensor and their clones), including the nuances of working with the Mi Home application and alternative platforms like Apple HomeKit. We will analyze not only the basic installation, but also the optimal layout, setting up automatic scenarios (for example, overlapping water through the valve) and ways to eliminate typical errors like βI donβt see the sensor in the applicationβ.
What models of water leakage sensors does Xiaomi produce?
Under the Xiaomi brand and its Aqara ecosystem, several sensor models are produced, distinguished by design, communication protocol and compatibility.
- πΉ MiJia Honeywell Water Leak Sensor (MJWSD05MMC) β The classic Zigbee model, running through the Xiaomi Gateway, supports the temperature sensor and external contacts to connect wires.
- πΉ Aqara Water Leak Sensor (SJCGQ11LM) β compact version with Zigbee 3.0, compatible with Apple HomeKit (requires Aqara Hub gateway) has a built-in buzzer for sound alerts.
- πΉ Xiaomi Mi Sensor Set (includes leak sensor) β budget set with Bluetooth sensor, works directly with the smartphone (without a gateway), but with a limited range.
Important: Bluetooth models (such as those from the Mi Sensor Set) donβt automatically integrate with smart valves or other devices, they only send notifications to the phone. Full automation (overlapping water, turning on lights when leaking) requires a Zigbee sensor and a gateway.
| Model | Protocol | Need a lock? | Compatibility with HomeKit | Additional functions |
|---|---|---|---|---|
| MiJia Honeywell MJWSD05MMC | Zigbee | Yes. | No. | Temperature sensor, external contacts |
| Aqara SJCGQ11LM | Zigbee 3.0 | Yes. | Yes (via Aqara Hub) | Zummer, compact body |
| Mi Sensor Set (Bluetooth) | Bluetooth LE | No. | No. | It works without a gateway, low price |
If youβre just planning to buy, look for Zigbee models, which offer more automation options, and a Bluetooth option is also suitable for rental housing or temporary use.
What's it gonna take to connect?
Before you start installing, check for everything you need. For Zigbee sensors (MiJia Honeywell or Aqara), you will need:
- π± Smartphone with Mi Home app installed (Android/iOS) Aqara Home (for HomeKit).
- π Xiaomi Gateway (for MiJia) or Aqara Hub (for Aqara) connected to Wi-Fi and outlet.
- π Battery CR2032 (It usually comes in a bundle, but check the charge before installing).
- πΆ Stable Internet connection (gateway must be online).
Bluetooth models (Mi Sensor Set) do not need a gateway, but keep in mind:
- β οΈ Radio of action - up to 10 meters in line of sight (walls reduce the range).
- β οΈ The phone must be constantly in the range of the sensor to receive notifications.
β οΈ Note: If you are using the Aqara Water Leak Sensor with Apple HomeKit, the Aqara Hub gateway must be stitched to the latest version of the software (check in the Aqara Home app in Devices section). β Gateway β Update: Older firmware versions may not support HomeKit.
Also prepare the installation site: the sensor should lie on a flat surface, and the contacts (two metal pins on the bottom panel) should be directed down. Avoid places with constant vibration (for example, near the washing machine during spinning) - this can cause false positives.
Step-by-step: how to connect the sensor to the Mi Home
Take a look at MiJia Honeywell Water Leak Sensor (MJWSD05MMC) β The steps are similar for Aqara, but instead of Mi Home, use the Aqara Home app.
- Set the battery. On the back of the sensor, move the latch and insert the battery. CR2032 (Polarity is indicated on the case. Close the lid before you click.
- Activate pairing mode. Press the button on the sensor for 5 seconds until the indicator flashes blue (yellow for Aqara).
- Add the device to Mi Home: Open the Mi Home app and go to the Profile section β Settings β Add the device. Select the Sensor category, then the Water Leak Sensor. Follow the instructions on the screen. If the sensor is not located, check:
Make sure the gateway is on and connected to Wi-Fi|
Check the distance between the sensor and the gateway (max. 10-15 )|
Reset the gateway (remove the plug from the socket for 30 seconds)|
Update the gateway firmware in Mi Home (Profile) β Xiaomi Gateway β Update)|
Try resetting the sensor (clip the button for 10 seconds until double blinking)-->
Once you've successfully connected, the sensor will appear in the list of devices.
- π Set up notifications (enable the Alert option when water is detected).
- π View the history of the operation (section Journal).
- π§ Assign a name (for example, "Sensor under the bathroom" or "Kitchen under the sink").
β οΈ Note: If you use a sensor in a system with multiple gateways (such as a large house), tie it to the gateway that is physically closer. 1-2 minute.
Where to install the water leak sensor correctly?
The efficiency of the sensor depends on the location of the installation, and here are the optimal areas for placement, taking into account typical leakage sites:
- πΏ Under the sink in the kitchen / bathroom: place the sensor on the floor next to the siphon. If space is limited, use extension wires (company with MiJia Honeywell) - they can be stretched to the most "problematic" place.
- π½ Next to the toilet: optimally, at the junction of the supply hose and the tank. If you're afraid of false positives from condensation, put a piece of foam under the sensor.
- π Under the bathtub: the sensor should be on the floor at the feet of the bathtub. If the bathtub is closed by a screen, drill a small hole for wires in it.
- βοΈ Under the washing machine/dishwasher: place the sensor on the floor by the drain hose. Avoid areas where splashes are possible while the machine is running.
- π₯ Near water heater: especially relevant for boilers over 5 years old.Install the sensor under the safety valve.
Tip: If you have multiple sensors, give them names with location (e.g., "Kitchen under sink," "Bathroom under shower"), which will help you navigate quickly when you activate.
How to check the operability of the sensor?
To improve reliability, use sensors paired with a smart water-overlapping valve (such as the Aqara Water Valve Controller), in which case, if a leak is detected, the system will automatically block the water.
Automation setting: water closure and notifications
Basic leak notifications are good, but true flood protection requires automatic action. - With sensors Xiaomi/Aqara Based on Zigbee can be configured:
- π° Overlaying water through a smart valve (e.g., Aqara) E1).
- π Sound siren (through a gateway or device like the Aqara Alarm).
- π‘ Turning on the light (for example, flashing the Yeelight light bulb when triggered).
- π± Calling the phone (via the service) IFTTT or Mi Home Automations).
Letβs look at the example of automatic water cover:
- Make sure you have a smart valve installed (like the Aqara Water Valve Controller) and it is connected to the same gateway as the sensor.
- Open Mi Home, go to Automation section β Create β If....
- Select the condition: Water leak sensor β Water presence detected.
- Add the action: Smart valve β Close it.
- Save the script and test it by dripping water onto the sensor.
For Apple HomeKit, the setting is similar, but it is done in the app Home (iOS):
- Go to Automation. β Create personal automation.
- Select the trigger Sensor detected water.
- Add Valve Control (select your Aqara Valve).
- Press Ready and turn on automation.
β οΈ Warning: If you have a pressure pump installed, adjust the delay before closing the valve (2-3 Abrupt closure can cause hydraulic shock and damage to pipes. Delay can be added to the script via the option Delayed execution.
π‘
For additional protection, set up duplicate notifications via Telegram bot. Mi Home has built-in integration with the app. IFTTT, where you can create an applet: "If the sensor is triggered β send a message to Telegram".
Typical errors and their solution
Even with the right connection, users face problems, and here are the most common ones and ways to fix them:
| Problem. | Possible cause | Decision |
|---|---|---|
| The sensor is not in Mi Home. | Gateway not online or too far away | Check the gateway connection to Wi-Fi and distance (max. 10-15 ) |
| False positives | Condensation or splashes get on the contacts | Move the sensor or use a foam substrate |
| No phone notifications. | Push notifications are disabled in Mi Home settings | Check the permissions in the phone settings β Notifications β Mi Home |
| Sensor not responding to water | Battery discharged or contacts oxidized | Replace the battery and wipe the contacts with alcohol |
| Automation with the valve does not work | The valve is not on the same network as the sensor. | Reconfigure the script by making sure both devices are tied to the same gateway |
If the sensor is periodically disconnected from the gateway, try:
- π Reconnect it (remove and add again).
- πΆ Install a Zigbee repeater (e.g., Aqara Range Extender) to amplify the signal.
- π Replace the battery β even if the indicator shows charge, the battery can be βsucked".
To diagnose connection problems in Mi Home, go to Profile β Devices β Select a sensor β Status. This is the signal strength (RSSI). The optimal value is higher -70 dBm, if the score is worse. -90 dBm, the sensor is too far from the gateway.
Compatibility with other smart home systems
Xiaomiβs water leak sensors can be integrated not only into its ecosystem, but also into other platforms.
- π Apple HomeKit: Only Aqara Water Leak Sensor runs through the Aqara Hub Gateway M1S or M2). Use the Aqara Home app to set up, then add the gateway to the Home (iOS).
- π€ Google Home: No official support, but you can use Home Assistant with Xiaomi Mi Home Integration plugin. YAML-configuration.
- π Home Assistant: Supports all Zigbee sensors through integration ZHA (If you have a Zigbee coordinator like Sonoff Zigbee 3.0 or Mi Home Integration for cloud connectivity).
- π IFTTT: Mi Home has built-in integration, for example, you can create an applet: If the sensor is triggered. β turn on a smart socket with a pump for pumping water".
For advanced users, an interesting option would be to bundle with Home Assistant, for example, you can configure:
- Sending. SMS via Twilio in leakage.
- Automatically create a task in Trello or Google Sheets with time and place of operation.
- Integration with cameras (e.g. Xiaomi Camera) to record video when water is detected.
Example of code for Home Assistant (add to configuration.yaml):
binary_sensor:
- platform: mqtt
name: "Water Leak Sensor Kitchen"
state_topic: "zigbee2mqtt/Kitchen_Water_Sensor"
value_template: "{{ value_json.water_leak }}"
payload_on: true
payload_off: falseβ οΈ Note: When using Home Assistant with cloud connectivity (via Mi Home Integration), notifications may be delayed until 5-10 For critical systems (e.g. water closure), it is better to use local connection via Zigbee.