I started building a bbq pit controller with an Arduino, then we moved and it is still in storage. You can find lots of code online to run. It may be easier to modify an existing code to take input from a thermocouple and hydrometer and control fans and/or heaters with a pwm output. Good luck!