A simple electronic controller to manage a single WC direct flush valve. Designed for use with a separate 12v dc power supply for ease of installation. The controller supports both Piezo and Infrared inputs and direct flush valves for both potable and non-potable water supplies.