Researchers from two universities in China are developing a smart solar window capable of adjusting the transparency of the glazing and at the same time generate electricity by the way of photo voltaic. This technology is in its early stages and can be applied to buildings and vehicles.
Have a look at the article for further details and advancement of this new technology!