Climate control in automated greenhouses