Water sensor

Looking at making a simple binary water sensor with this hardware:

Would I just use the GPIO binary sensor to detect high and low signals?

I use a modified sonoff zigbee door sensor. Remove the reed switch, solder a wire on each of the pads, then have one wire touch the floor, and the other a hair away from the floor

1 Like