It often takes several days to detect water leakage in the house. So that by the time you find it you could have wasted a lot of water or damaged your property.
This routine is part of the Automation Bank, a community-driven list of over 50 practical automation ideas for your smart home. Read more about Automation Bank or search ideas by room, by device or by use case. Also, have a look at best home automation ideas as voted by our users.
The danger with pipes bursts is that they can flood your house in seconds. Those accidents cause on average $5,000 in damage on average.
There is a simple way to avoid this and probably the idea with the return on the investment.
How does it work?
Install an automated shut off valve linked with leak sensors that would stop the water supply immediately at any sign of water.
- Place leak sensors to all wet areas. This is generally under each sink and bathrooms/laundry rooms
- Shut off valve should be installed on mains (recommended) or in each wet room
- Plumbers support is recommended when installing mains water shut off valve
You can use the water shut off valve to switch on and off your mains remotely when leaving for a long time. Perfect for holiday homes or for peace of mind
What do you need? (And How Much It Costs)
Device Our Recommendation Price
- Broadlink RM Pro4 is best IR blaster to use. It is simple to install and easy to operate
Comms Sticks - give Zwave/Zigbee connectivity to your hub
- Aeotec Z-Stick Gen5, Z-Wave Plus a Z-wave stick that we have but not deserve. reliable, easy and practical
- dresden elektronik ConBee II even if it combines RF and IR. Sonoff RF bridge is easier to use (see below)
$59.99 or $30.39
Home Assistant Server - a smart hub to run your automations
- If you are new to Home Assistant, start with Raspberry Pi 4 4G . It will cover your basic needs and easily expand.
- Intel NUC 10 Performance Kit once you understand how cool Home Assistant is, go for NUC. There are dedicated images for NUC which makes it great to use and simple to set up.
$179.99 or $431.00
RF hubRF bridge that emulates your Remote
- No products found. () is our favourite RF bridge. The first thing you need to do is to flash it with Tasmota. This will allow you to connect to your bridge but also just control the bridge better.
$20 - $30
Shut off valveA valve that will close and open water supply
- Dome Automatic Main Water Shut-Off Valve Controller (Price not available) is the most affordable option. Easy to install (you do not need a plumber) and operate. Requires Smart Hub
- leakSMART Water Leak Detection Kit (Price not available) is a more expensive option. It has all you need to set you up shut off valve. There are some negative comments on the hub but it works well in general.
- Grohe 22503LN0 ($540.99) is even more expensive. For the additional price, you have flow sensors capable to detect the pipe bursts without the sensors and better overall build quality. At the same, it has fewer options for integrating with your smart hub.
$99 - $400
Door/Window SensorReports if a door or window is open or closed
- Zigbee: Linkind Door Window Sensor ($16.99) is the best sensor by BeSense. Reliable, good battery life, and looks amazing
- Z-wave: Z-Wave Door & Window Sensor ($30.42) is the sensor we recommend by Ecolink. It is easy to install, has up to 3 years of battery life and great customer feedback
$20 - $30
Motion SensorDetects any motion. Ideally combined with luminance sensor.
A relatively simple device, with the price, mainly depends on the protocol you are using:
- Z-wave Motion Sensor: Our favouritez-wave sensor is Aeotec TriSensor ($62.99) for a good battery life, responsiveness and price. It also has luminance sensor built in. For a multisensor we recommend Zoos 4 in 1 multisensor ($44.95) or Aeon 6 in 1 ($72.99).
- Zigbee Motion Sensor: AGSHOME ZIGBEE Motion Sensor (Price not available) is the best for its price and stability.
$25 - $60
MultisensorMeasure several environmental factors such as temperature, humidity, or light levels
This is a more complicated device than a motion sensor and can be used where multiple environmental factors need to be detected:
- Z-wave: Our favourite z-wave sensor is Aeon 6 in 1 ($72.99) for its reliability and flexibility in use. It detects motion, humidity, temperature, light lux, UV, vibration sensor and has 2-year battery life
$20 - $60
Water leak detectorA sensor that will trigger the shut-off valve to work
- HomeSeer HS-LS100+ Leak sensor ($39.00) is the most affordable and simple solution. At this price, you should cover all the areas in your house. Requires A Smart Hub
- FIBARO Flood Sensor ($47.98) is a very good Z-wave leak detector. It has great battery life, easy to pair and very accurate at alarms. Requires A Smart Hub
$20 - $55
OutletAllows you to remotely switch on and off. Can be retrofitted to any existing devices.
- Wifi outlet: Kasa Smart WiFi Plug (price for 2 - $19.75) is the best for price and local connectivity.
- Zigbee outlet: Sylvania Smart Plug ($22.99) is also a good option for ZigBee outlet
- Z-wave outlet: GE Enbrighten Z-Wave Plus Smart Plug ($19.75) is good practical device that do not take a lot of space and work perfectly
$20 - $35
Plug with Energy MonitoringReports the power consumption
- Wifi outlet: BN-LINK WiFi Heavy Duty Smart Plug Outlet, No Hub Required with Timer Function, White, Compatible with Alexa and Google Assistant, 2.4 Ghz Network Only (4 Pack) ( ) is the best for price and local connectivity.
- Z-wave outlet: Aeotec Smart Plug (Price not available) is a good practical device that does not take a lot of space and work perfectly
$23 - $32
Smart Color Bulb
A colour bulb you can remotely control
- Wifi: Kasa Smart Light Bulb, Multicolor ($24.99) is best wifi colour LED bulb. We recommend TP-link devices for a great value, easy integration with almost any smart hubs and excellent quality.
- Zigbee: Sengled E11-N1EA Smart LED Multicolor Bulb ($19.99) is the most practical RGB smart bulb around
$24 - $35
White BulbPractical bulb that would work for majority of use cases
- Wifi: Kasa Smart WiFi Light Bulb ($48.00)
- Zigbee: Sengled Smart LED Soft White A19 Bulb ($9.99))
$10 - $20
Switch USSwitch to turn on and off lights. Require neutral wire in the box.
- Zigbee: Innr Zigbee Smart Plug ($39.99) is a great device. It does not require neutral wire so will be really easy to install.
- Z-wave: Honeywell Z-Wave Plus On/Off Switch ($30.26) is a switch that easy to install and operate. Works with all the major hubs and looks great.
- Z-wave Dimmer: GE Enbrighten Z-Wave Plus Smart Dimmer Switch (Price not available) in addition to being a great dimmer can also act as extender.
- Wifi: Wemo Light Switch ($84.95) is really good if you do not have Z-wave of ZigBee and not planning to buy.
$30 - $45
Voice assistant:AI driven device that can respond to voice commands
There is no right answer which Voice Assistant to choose, but we have the following recommendations:
- The most comprehensive: Amazon Alexa (Price not available) has a lot to offer. Zigbee radio means potentially one hub less (although we still recommend getting a dedicated hub). It also has the biggest ecosystem to tap into (including Ring, Phillips Hue, TP-link)
- The most intelligent: Google Home is using the brains behind the biggest search engine in the world to deliver the best answers for your questions. It is definitely more capable compared to Alexa
Smart BlindsMotorised shades that automatically open and close the blinds
- Best DIY Blinds: Rechargeable Wireless by RollerHouse ($93.99)
- Best Horizontal Blinds: MySmartBlinds Automation Kit Bundle (Price not available)
- Best Vertical Blinds: Somfy Sonesse ST30 (Price not available)Read more: Best Motorized Blinds
$40 - $279
Smart ButtonsA convenient way to trigger routines and specific actions
- Zigbee: Sylvania 8 Functions 4 Buttons (Price not available)
- Z-wave: Aeotec NanoMote Quad, 8 scenes, (Price not available)
$8 - $50
Irrigation SystemMake sure your plants are always watered
- Best for most users: RainMachine Pro-8, Cloud Independent (Price not available) is our top irrigation system pick due to complete independence from cloud, good integrations and great quality
- Alternative: Rachio 8ZULW-C Sprinkler Controller ($131.99) is another good option for irrigation system
$180 - $220
Outdoor LightsLightning for your garden protected from water
- Zigbee: SSengled Flood Light with Motion Sensor Light Outdoor ($29.99) is a very convenient way to bring smart lights to your garden. Easy to install and integrate. GLEDOPTO Smart ZigBee LED Strip Controller RGB (Price not available) is also a good option and has more brigness and metal chasis.
- Z-wave: Z-wave is not great with lights, but GE Enbrighten Z-Wave Plus Outdoor Smart Plug Switch (Price not available) would work great to control existing lightning solutions.
$49 - $70
Smart TRVThermo Regulator Valve that can be controlled remotely
- US: tado Smart Radiator Thermostat (Price not available) is part of Tado which is great heating system with local controls
- UK: Popp POPE010101 Z-Wave Radiator Thermostat (Price not available) is a decent solution with good installations options.
$60 - $200
Outdoor OutletsProtected plugs for outdoors
- Wifi: Kasa Smart WiFi 2 Outlet Outdoor Plug by TP-Link ($17.99) is a great outdoor plug and wifi connection would work great for the majority of users
- Z-wave: GE Enbrighten Z-Wave Plus Outdoor Smart Plug Switch (Price not available) is a well functioning outdoor plug with good range.
Outdoor CamerasCameras that would work well outdoors
- Best Overall Outdoor Camera: Amcrest 5MP UltraHD Outdoor Security IP ($59.99) is a great quality outdoor camera. It has 5k resolution making it perfect for large outdoor areas. It is ONVIF protocol compliant making it easy to connect to almost any NVRMore: Detailed Review of 4 Best Outdoor Cameras
Outdoor SensorsProtected sensors for your garden
HomeSeer HS-FLS100+ Z-Wave Plus Outdoor Floodlight Sensor (Price not available) is a AC powered motion and lightning sensor. It would work with your smart home but also control floodlights. $40
Moisture SensorReports the level of humidity
- Best for most users: No products found. () is a Bluetooth device that can monitor moisture as well as Sunlight, Temperature, and Soil Fertility
Security Alarm SystemSystem to alarm you of any unauthorized entry to your house
- The best for the majority users: SimpliSafe 8 Piece Wireless Home Security System ($191.99) has all the main things for a good security system. Great customer service, main sensors included for the most users and good quality hardware.
- More affordable security system: WiFi Alarm System Kit Smart Security System DIY (Price not available) is a cheaper no-monthly-fee system. It will be more difficult to integrate with your hub but can be done with Sonoff Bridge.
- More capable security system: No products found. () is a great option for more sophisticated needs. The system has great good integration with hubs, an optional monthly-fee system, and a well-designed mobile application.
$89 - $300
Robot VacuumLittle helper to clean your house
- Best Overall: iRobot Roomba 690 ($548.99) for great value, good quality and connectivity to all major smart hubs
Read: Automatic Water Shut Off Valves Review (And 10 best wifi water valves)
You might also consider:
- Smart Hub ($60 – $100; assumed exists already) – As we discussed in our smart home manifesto, all of the advanced automation require a smart hub to manage the routines and control all your systems together. We recommend SmartThings v3 hub ($247.49) for the majority users, but please see our definitive guide to smart hubs (and review of 3 best smart hubs out of 10 we reviewed)
How to set up this automation?
Section below will have step by step instructions how to set this automation routine in the most popular smart hubs like SmartThings, Home Assistant, HomeSeer and Hubitat
Please leave comments below if you have any questions, or interested in the instruction for a specific system. This will help us to better focus our effort.
3 Steps Process How To Prevent Water Leaks Using Home Assistant
Setting this automation in Home Assistant is very straightforward. Below is a simplified example using Z-wave sensors and valves.
Add Your Leak Sensors and Shut Off Valve To Home Assistant
As per the table below we recommend using Z-wave for such a crucial part of your automation. Similar to Zigbee you do not need to change anything in the configuration files to connect to the sensors and valves once your Z-wave controller connected.
Create Leak Prevention Automation Rule
The automation is very simple it has a single trigger and a single action.
- id: Leak Detection alias: Leak Detection trigger: - platform: state entity_id: binary_sensor.aeon_labs_zw100_multisensor_6_sensor from: 'off' to: 'on' action: - service: switch.turn_on entity_id: switch.shut_off_valve
You might want to add notifications to your mobile and also a TTS warning if there is somebody home. Check out my Github for more examples.
Test and Enjoy
Last update on 2023-05-27 / Affiliate links / Images from Amazon Product Advertising API