Ensuring human life activity for several years in isolated conditions of future Martian and lunar bases is possible with the organization of a circular process of converting organic waste, including human exometabolites (cal, urin), into the products he needs: water, oxygen and food. A promising way to organize such a circular process is to create a three–link closed ecosystem (CES): a person, a link for obtaining fertilizers from organic waste and plants - where plants synthesize the products necessary for a person. The paper considers the original scheme of a complex installation for the purification of liquid products of processing of human exometabolites from pollutants in the process of obtaining nutrient solutions for growing plants in a CES. The processing of human exometabolites was carried out in a device for physicochemical oxidation of hydrogen peroxide in an aqueous medium under the action of alternating electric current – in a “wet” combustion reactor. Peripheral equipment was selected for the organization of the automatic control system of the cleaning plant, problems were identified and approaches were developed in the automation of technological processes and the creation of software for human interaction with the proposed installation. Experiments on the cultivation of lettuce plants have been carried out, confirming the effectiveness of the proposed processes of purification of liquid products of processing of human exometabolites. It is concluded that the created integrated cleaning plant, equipped with the proposed software, can be used for scientific research in relation to the subject of CES, including space purposes.