Hi great ideas thanks!
As a proximity sensor you mean an ultrasonic sensor or a pir sensor?
Will it work also from outside the pipe?
I think it would need also some kind of calibration first with the pipe empty and the pipe full, or i just can bet what value it will be with the pipe full?
Thank you
Camillo