Water Tank Level Measurement Device?

I like @xfpd's idea, put a flat target plate on top of the green plunger and aim an ultrasonic distance sensor at it from above.