RedditPP Mascot

RedditPP

r/tasmota • … • u/bullwinkle_z_moose

DIY Water Leak Sensor Help

Hi all, I'm looking to build a water leak sensor for my sump pump area, but I'm a little stuck.

I've got myself a Wemos D1 Mini (flashed with Tasmota) and an HC-SR04 ultrasonic sensor to measure the water depth in the pit, and I figured I might as well have a bit of redundancy and add a water leak sensor as well here. My thinking was that I could simply stick a wire in an unused GPIO and another in ground and then have them just sitting on the ground next to the pit. I did this, set the GPIO to be a switch, and figured that when water touched both wires it would complete the circuit and it would toggle. Works fine when I touch the two wires together, but when I stick them in water nothing happens.

Am I on the right track here? Can anyone help me out or point me in the right direction? I thought that it would be as easy as adding a reed switch for checking the open/close state of doors and windows, but it isn't quite the same it would appear.

— 0