# Water Leak Prevention: How to Avoid a Flooded Home

**URL:** <https://community.apilio.com/t/water-leak-prevention-how-to-avoid-a-flooded-home/2078>\
**Category:** Apilio Use Cases\
**Tags:** smartlife, water\
**Created:** [24 November 2021 00:11 UTC](https://community.apilio.com/t/water-leak-prevention-how-to-avoid-a-flooded-home/2078 "2021-11-24T00:11:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![teknofilo](https://community.apilio.com/user_avatar/community.apilio.com/teknofilo/32/772_2.png) [@teknofilo](https://community.apilio.com/u/teknofilo)\
**Post date:** [24 November 2021 00:11 UTC](https://community.apilio.com/t/water-leak-prevention-how-to-avoid-a-flooded-home/2078/1 "2021-11-24T00:11:22Z")

</div>

A few weeks ago, one of the pipes in my house broke and very hot water was flowing into the basement floor for over 24 hours (were were on a trip that weekend). As you can imagine, water damage was disastreous.

I have now installed water leak sensors like this all over the house: [https://es.aliexpress.com/item/1005003227966018.html?spm=a2g0s.9042311.0.0.3dbf63c0HHErjg](https://es.aliexpress.com/item/1005003227966018.html?spm=a2g0s.9042311.0.0.3dbf63c0HHErjg)

 ![imagen](https://community.apilio.com/uploads/default/original/2X/d/dfcb8e3142d322d9703d797c4be518670b25f5db.jpeg)

Good news is that they work perfectly with Apilio. I have now created a logicblock that, upon detection of water by any of the sensors, makes a siren sound at home, sends me a notification and even calls my mobile if I am away.

 ![imagen](https://community.apilio.com/uploads/default/original/2X/3/3f7cb81516c8b8fb735f4ae42ac849058e57c4d0.png)

Condition has a ‘delay’ parameter so it only warns me if it detects water for 10 seconds. Otherwise, the alarm would trigger as soon as the mop hits the sensor when cleaning the floor. With this delay, that is avoided.

Hopefully I will not experience another water leak but, if it happens, at least I will be able to act fast.

---

<div class="post-metadata">

**Author:** ![Drivingforce](https://community.apilio.com/user_avatar/community.apilio.com/drivingforce/32/73_2.png) [@Drivingforce](https://community.apilio.com/u/Drivingforce)\
**Post date:** [24 November 2021 20:46 UTC](https://community.apilio.com/t/water-leak-prevention-how-to-avoid-a-flooded-home/2078/2 "2021-11-24T20:46:01Z")

</div>

Thank you, you reminded me that I need one under the bath.

There are Tuya tap controllers, could set it up so it isolates the water if a leak is detected
