‘Mechanical breathing’ in smart windows