A method and system for a greenhouse includes a plant box for planting plants and seedlings, a structure for providing a water flow system proximate to the plant box. A water distribution system distributes water to the water flow system, and a system heats or cools the water distributed by the water distribution system to control the soil temperature in the plant box.