Posts: 2
Joined: Thu Dec 27, 2018 10:48 pm

water leak sensor

Fri Dec 28, 2018 4:04 am

I am interested in setting up several water leak sensors and wanted to know if anyone has found a reliable sensor for this? I have seen many soil sensors for the Pi, but I don't think they will meet the specific need.

The project would be to build multiple sensors that are linked via a WiFi Network. If that is multiple Raspberry Pi, then that might be a way, but I was looking for a more basic IOT sensor that can connect to WiFi and the Raspberry Pi would be used to manage the output from these sensors and ultimately be able to turn off the water supply to the house if there was a leak detected. There are a few systems out there that can do this but are very pricey. When you break it down, you need a valve that you can control with a Raspberry Pi, and several sensors that you might put around one's house to detect water. Worst case is you shut off the water when there isn't a leak.

Here are a couple WiFi sensor for water leaks that can send messages to a phone. They might be basically what is required, just that the message would need to go to the Raspberry Pi as well. ... ensor+wifi ... ensor+wifi

If anyone has suggestions, please let me know.


Posts: 836
Joined: Thu Apr 13, 2017 3:55 pm
Location: Oxford UK

Re: water leak sensor

Fri Dec 28, 2018 6:15 am

I think you would find it a lot easier to incorporate devices similar to these ... k+detector

which you can find way cheaper via aliexpress ebay etc..

you could bitbash the signal reception with a rf receiver module attached to your pi ... -receiver/

or use sonoff rf bridge flashed with tasmota firmware to decode and broadcast any 433 mhz rf signal it can decode as a wifi-mqtt topic/payload. ... Bridge-433
then you need only host a mqtt broker on your pi to manage all the message traffic.

Posts: 1231
Joined: Thu Oct 09, 2014 2:50 am

Re: water leak sensor

Fri Dec 28, 2018 6:30 am

There are a number of "raindrop" or moisture sensors that are basically just foil boards with interdigitated contacts that can be interfaced to an Arduino, or, to a esp8266/NodeMCU board (much cheaper than RPis and with built in wifi connectivity). As the contact with water is occasional, the DC polarization of the contacts is not a problem as it might be with soil sensors. A valve that can be electrically controlled is another matter but even the AC powered valves could be driven with a solid state relay and another of the small boards...lots of alternatives. Irrigation suppliers are a good place to look for high flow/pressure valves that can be electrically controlled.

The very best protection is on the water lines themselves and high quality stainless steel braid reinforced supply hoses are worth the extra cost as is regular (<5yr) replacement of water heater "self sacrificing anode rods". Faucet and toilet supply lines should also have braid reinforcement. Limiting water line pressure inside the house is essential as well...60 psi max. Take care that if your water system is "closed" by a backflow preventer or something else, you have an expansion tank installed on the water heater supply line. The alarm system winds up being similar to "closing the barn door after the horses have bolted". The damage may already be done before the system shuts off depending on sensor placement. "An ounce of prevention..." Vacation homes in areas where freezing occurs are a major problem and draining of the inside fresh water lines may be the best approach.

Posts: 21
Joined: Mon Apr 30, 2018 7:24 am

Re: water leak sensor

Thu Jan 10, 2019 10:32 am

I am a battery powered wireless water detector which has the capability to work with Wireless sensor network using the safest Digi Mesh protocol which creates the wireless sensor networks using Personal Area Network.
As per the manual, sensors will be able to send 500000 transmissions or we can run this sensor for around 10 years. Will suggest you go through the manual.
And it provides a wireless modem which can be easily compatible with raspberry pi also with help of wifi or any cellular device you can connect your wireless sensor network to any IOT platform with customized solution also.

Posts: 1030
Joined: Sat Jun 16, 2018 12:49 am
Location: Lincs U.K.

Re: water leak sensor

Thu Jan 10, 2019 11:16 am

The main problem with all those type of sensors is that the water has to get to them as they only cover a little floor area directly. Great if the split is by a joint or you have a sloping floor.

I’ve been involved in a few computer room builds and audited the odd data centre in my past and would always go for a rope based sensor similar to ... ector.html (other makes available).

Just remember to isolate the mains side from the sensor - power and water mix very well :lol: :roll: :lol:
Need Pi spray - these things are breeding in my house...

Return to “Automation, sensing and robotics”