Better hope your resolution and scan time is fast if you're thinking of integrating a salinity monitor to help with dosing, I know with my AC3 I only set it to record data every 5 minutes... 5 minutes is a life time if your pump is beefy enough.
One way I would do it, is before the thing starts make sure your ATO activity is done, that way the salinity should be the same. Then have a hose clamped to a certain height in the sump, it'll suck until it's dry and have a float switch for good measure to turn it off (the hose height is just the fail safe), then pump water back in and triggered off another float switch. Maybe have a couple salinity monitors one in your reservoir and one in the tank, just to alert you if something is drastically off or at the very least not do the water change.
Of course the devil is the details, and making sure your float switches don't fail... but that's all on you not me because no way in hell I'd try to automate a water change

Seriously though I like to use the WC as a way to remove that detritus that always ends up in a dead spot or two in the tank.