A system for controlling a plurality of devices in a public washroom facility having a controller with an integrated circuit including at least one logic block providing one or more predetermined control instructions to one or more of the plurality of devices via at least one control block; the at least one control block defining a communication interface between the integrated circuit and the plurality of devices; at least one communication block receiving data from a communications interface for programming the integrated circuit to modify the one or more predetermined control instructions.