The easy way to do it is to use float switches. I have something similar set up on my AWC reservoir. There is a float switch at the bottom connected to the apex breakout box. When the float switch triggers the apex shuts off the AWC, and turns on my RO filter (which is controlled by a 120V solenoid switch plugged in to one of the outlets on my EB8). The RO water fills the reservoir until it triggers a float switch at the top of the reservoir, which tells the apex to shut off the RO filter and email me so that I know to add salt to the reservoir and turn the AWC back on once I'm happy that the salt has been mixed in and the SG is correct. (Obviously you wouldn't need to worry about this part)