Automatic irrigation

Hi.
I was thinking to use my gardena water control flex (https://www.gardena.com/int/products/watering/water-controls/water-control-flex/967927201/) and use this project to automate https://github.com/jnsbyr/esp8266-gardena1251

Would be possible to build something similar but with zigbee network?

My concern is that you cannot know when valve is opened so maybe there are some option to overcome this issue?

Also because this approach is using deep sleep or something similar not sure how can you manually (via HA) open valve if you need to irrigate garden or change scheduling if it’s raining or something?

Kind regards.