You need a online hardness ...
Published by Juan Carlos Garcia Carrasco, NCP Societal Challenge 5 H2020
You need a online hardness sensor sensor and a 3 modular 3 ways valve. Something similar to this http://www.directindustry.es/prod/fisher-regulators/product-14723-1876149.html On that valve you have 3 ways, 2 inlets and one outlet. It has a regulation system: variable actuator, positioner and flow regulator (needle, membrane...)