Pifan is a daemon adjusting your fan's strength based on your Raspberry Pi's temperature.
Simple configuration for your project by enviroment.