This circuit was found in a 2006 publication. It uses discrete components and CMOS that are still very common today and can be easily designed. The source must be the one indicated with a transformer and the electrodes is stripped wires. The circuit turns on when the water is at the lowest level and turns off at the highest.