Some models come with a basic analogue to digital converter that's adjustable. It requires a 3 volt and ground connection, and has a signal line which triggers when wet.
I wired the signal connector directly to a GPIO. It may also run at 5volts but didn't want to risk the pi.