I think you ought to consider a mechanical solution first: it's much more reliable. A simple float mounted to a switch will do. Many such products available.
Otherwise, you might do well with a vertical row of copper electrodes, where a small current will pass if the copper pins are under water.
Easy, mechanically.
|