This circuit also detects leaks and rain. I found it in a 1967 English magazine, but it can be updated using more modern transistors like the BC558 and BC548 pair. The supply can be made with 6 or 12 V according to the relay and the buzzer must be of the sonalert type with internal oscillator.