check water in plastic pipe

A capacitive sensor is the way to go.
All you need is two pieces of a conductive material (tin foil works) and a large resistor.