if you have a rain barrel, don't you need a pump inside it?
Use a Pump for your Rain Barrel! The best way to accomplish what you want may be by not using a valve at all! Consider using a small pump placed on your rain barrel outlet hose. Most irrigation systems do not work very efficiently at the low water pressures typical of rain barrel systems.