I wanted an alarm on my basement sump. My AC and de-humidifier drain into the sump which is usually seeps away on its own. But then it might not. Anyway, I checked the web and found--
I'm not much good at interpreting wiring diagrams, but my 2nd try worked. Here transcribed to Fritzing.