This might help or at least give you an idea... http://lifeboat.co.nz/the-finished-wireless-water-sensor/