Skip to content

mrahmadt/ESPHome-Water-Leak-Detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ESPHome Water Leak Detector

A DIY water leak detection system built with ESPHome and Home Assistant, designed to detect water leaks or identify taps accidentally left running. It utilizes a YF-B10-S water flow sensor installed on the main water supply pipe (from your rooftop tank or directly from the main supply line).

This solution complements traditional floor-based water sensors, such as the Tuya Smart Water Leak Sensor, by detecting hidden leaks like toilet tank leaks, faulty taps, or pipe issues.

The system sends real-time notifications and alerts via Home Assistant, helping you to quickly respond and prevent water damage and excessive water usage.

Included in this repository:

  • ESPHome YAML configuration.
  • Home Assistant automation YAML.
  • Code to be included in configuration.yaml

Contributions

The solution is functional but has room for improvement (e.g., better flow measurement accuracy, distinguishing between types of leaks). Contributions and improvements are highly encouraged!

Note: This solution requires some plumbing work. Alternative solutions, such as ultrasonic sensors, were either unreliable or costly in my testing.

IMG_1127

Image

Image

About

A DIY ESPHome & Home Assistant solution to detect water leaks using a YF-B10-S flow sensor.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors