That may be just what this Water Level Sensor permits you to do! It might measure the water level, monitor a sump pit, detect rainfall, and detect leaks. The principle powering magnetic, mechanical, cable, and various float level sensors often involves the opening or closing of the mechanical switch, both https://controltechme.com/ultrasonic-level-sensor/