This electrochromic effect can be used to monitor the charge state or performance of the catalyst for process control or for controlling the temperature and absorbed heat due to tunable optical modulation of the electrocatalyst.