The LIFE RUBIES project aims to develop and deploy in two cities, Lille and Madrid, an operational tool aimed at reducing the impact of urban wastewater on the natural environment by controlling water pollution in real time. Real-time control will make it possible to direct and store urban wastewater to avoid pollution by relying on the coupling of sensors, models and controllers. It follows the LIFE EFFIDRAIN project (2014-2019) which made it possible to develop the concepts. The consortium is composed of eight industrial (SUEZ, Aquatec, Canal de Ysabel II), academic (University of Lille, CNRS, Consejo Superior de Investigaciones Científicas, CETAQUA) and public (MEL) partners. The project started in October 2021 and lasts 42 months.