Let be a little serious for a moment. Sprague used to make a very nice fluid detector, was pretty cheap, and you just used a couple of probes and it generated the AC current for them. Suppose you could use PWM maybe? It depends on if you want to detect moisture or measure a level...ie....its raining hard enuf not to turn on the sprinklers