Never overflow your tank again. Hang the sensor end in the tank your filling, and when the water level touches the sensor, it'll let you know.
You will need a 9V battery.