“The solar-powered fan is generally mounted on the outside ... underneath an eave or within a gable wall for mounting a solar powered fan.” Some electric attic fans include thermostats.
A solar-powered attic fan costs nothing to operate, but that doesn't necessarily make it a good investment. It depends on the condition of the attic. The post Should You Invest in a Solar-Powered ...