This research work is devoted to the study of the system of automatic control of soil moisture in the greenhouse using photoelectric systems. In this regard, work continues to modernise existing and develop new designs of heliothermal greenhouses, in particular, energy-efficient greenhouses with transformable enclosure, in which the volume can be changed by transforming the enclosure. The main objective of the research work is to create an efficient way to save energy and water consumption in greenhouses. The use of solar water pump sprinklers in the soil irrigation system inside the greenhouse can reduce water consumption and electricity consumption. A special sprinkler device is used to spray water on the irrigated area to reduce water consumption. The combined sprinkler is an environmentally friendly and economical device used to minimise electricity and water consumption. Improved systems for saving and rational use of electricity and water resources were used in our research work.