Hope that someone can help me.

Ive managed to set up a min-max with optical sensors that will turn on power for 2 magnetic valves and a booster pump. Ive tried setting it at 1 minute open time and it worked so I will adjust open time for the time needed to fill my freshwatercontainer.

I also have a floater in a box where my osmosis and the magnetic valves are located and a second floater in a drip tray that everything is placed in.

My question is how do get my floaters to override the optical sensors in case of a leakage and switch of the 3 plugs that allows water to flow through the osmosis?

Kind regards
Kim