I have assembled a small DIY drip-irrigation system for my terrace garden. Please have a look at the attached image. I switch on a small pump to start the drip-irrigation system and then switch it off. But even after that, the water keeps flowing through the system and stops only when I physically lift the pump out of water.
How can I stop this water flow without requiring any physical action?
Please note that I plan to automate the switch-on/off of the pump using a timer so that it functions without requiring my physical presence.
I tried the suggestion of "Making a pinhole in the highest point of the pipe." It worked like a charm and solved the issue I was facing. Completely loved it, more so, because it does not involve procuring new stuff.
I also like the option of using a solenoid-valve, but have not tried it yet. Will use it when I install such a system again where the tank is at a considerably higher place than the plants.
Thank you everyone who took the effort to write an answer, and that too with detailed explanations.