Only a difference in heat levels can still be converted to electricity, for instance by reverse Peltier effect: https://en.wikipedia.org/wiki/Thermoelectric_cooling
It's hard to generate a temperature gradient when you're blasted from the unfiltered Sun on one side, and reflected IR from Earth.