Simple Python code for operating a fan, to control temperatures of a BBQ pit