An intraocular pressure control system for implantation in an eye of a patient to provide drainage from an anterior chamber of the eye to a drainage location at the eye includes a drainage tube and a valve system arranged to control drainage flow between the anterior chamber and the drainage site, the valve system being configured to control fluid flow using an electrolysis process and closed loop feedback from pressure sensors able to determine: flow rate, TOP, bleb pressure, and internal valve pressure.