Irrigation system

This spring i think of planning a fully automated irrigation system. I think i would be best to use the rainwater when available but use tap water when needed and when allowed of course.
This is my schematic and i will create flows to control all the different units.

What i also would like to use is a soil humidity meter and use a Shelly relais to read the status.

Maybe any tips and trick or other information?