I had my Pi located in the attic to keep it close to my rooftop antenna, but started receiving high temp warnings on my Stats page (ambient attic temps in Florida can be 140°F before adding computer processor heat). I am building a weather-tight enclosure to be located outdoors that will be painted white to reduce solar heat gain and will include cooling fans.
Since I now know that the Raspberry Pi has on-board temp sensors, can someone help me add code the PiAware that will control the fan based on processor temps? The fan will be powered by an external power supply, but I will need some sort of code to output and manipulate a PWM signal from the Pi to control the fan.
Any Pi experts out there?