Monitor the rain for decide the ON/OFF of the irrigation, for Home Assistant

If you like it, share it

The kit is based on:

The wiring

Connect the two wires of the Claber rain sensor 90915 to the two rear screws of the Aqara Xiaomi Water Sensor, see image below.

Home Assistant

Connect the Aqara Xiaomi Water Sensor to Home Assistant, we use the ConBee II, Zigbee universal USB gateway (for more info see here).

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.