Heres some pics of my DIY automated watering system, i run through a chiller myself but you may or may not need one depending on your area. Aside from the chiller its pretty simple and straightforward, 16gal barrel for a res, 300gph pump hooked up to a digital timer with 1minute interval settings, youd obviously have to play with it in your setup to figure out how long and often you need the pump to kick on, i do 4 plants perpetually in a 2x2 in 2gal pots with coco, my pump kicks on once a day for exactly 1 minute, which using the open 1/4 lines with the floraflex caps gives me appx 15% runoff from each pot so works out perfect for me.
Draining out is where youll have more troubles usually than getting the water where you want it, i cant get a picture of it because of where it sits but all 4 pots drain into 1 small container than has a float switch and 200gph pump, when the float switch is activated it turns on the pump and pumps my runoff directly out through the wall.