Rachio 3 Controller, Wireless Flow Meter and old wired rain and flow meter sensors

DLane thank you very much for your fast reply and for your help.
So the brown wire going to S1 and black wire go in 24 VAC -
Many many thanks!!!

Also I bought a outdoor box for rachio 3 controller I hope it’s not going too slow Wi-Fi signal.