Automatic temperature and humidity regulation