The changes, which all apply to all new homes, company and public buildings, will make micro-generation, such as solar panels to heat hot water, solar photovoltaic panels on roofs to generate electricity or small wind turbines for houses, mandatory in less than two years.