The kit is based on:
- Aqara Xiaomi Water Sensor IP67 – The manual is here
- Claber rain sensor 90915 (NC contact if it does not rain)
- SONOFF ZigBee smart switch
Connect the two wires of the Claber rain sensor 90915 to the two rear screws of the Aqara Xiaomi Water Sensor, see image below.
At this point you can create an automation that if there is water blocks the irrigation system you have (by SONOFF ZigBee smart switch).
For inspiration you can see our immersion pump control system found here.