I've been thinking about a similar concept using hot and cold tap water and dish washer solenoids hooked up to a microcontroller and a PC.
There would be a drain tube a dividers to so the water flows properly.
Problem is that there is no way a custom solution like this would be cost effective...