A method of controlling an environment in a greenhouse, the method comprising: periodically venting air from inside to outside the greenhouse during first periods while drawing air from outside to inside the greenhouse and heating drawn in air with heat extracted from the vented air; during second periods between the first periods, drawing in air from outside to inside the greenhouse and heating the air as it is drawn in; and initiating first periods when the relative humidity becomes greater than a predetermined relative humidity.