This gets more and more complicated as we go. I suggest letting us know everything up front. The heaters, circ pump, solenoid are all newly brought up. Plus only with one optical sensor, it’s not ideal in my opinion. Is the slider moving from auto to off absolutely necessary? I leave mine on auto, but it will say off when tripped and then tbl when back on. Nothing can turn on until I physically press the doorbell. Here’s what I have equipment wise to accomplish what I think you’re trying to do.
A saltwater mixing bin that I call NSW for new salt water
An EB4 and Pm2 with temp and salinity
A low level switch that I call NSW-Lo
A high level switch that I call NSW_Hi
A mechanical float valve as on emergency shut-off in case the rodi fails open.
A 24v rodi solenoid I call SW_Solenoid
A Dos for auto water change that I call DOS_Add_SW and DOS_Rem_SW
A mixing/circulation pump called SW_Circ_Pump
I had a heater, but disconnected it as this is in an interior room that’s always around 72 or so.
A Doorbell switch connected to a input module
Virtual outlets labeled V_NSW_Lo, V_NSW_Hi, V_NSW_Fill, V_NSW_Reset
Having a low and high level sensor allows you to program the low to kill the auto water change, trigger a virtual fill outlet that when the high level trips triggers a virtual filled outlet, that in turn switches on the circ pump and generates a notification to alert you that the salt water bin is full of rodi and you need to add salt, check parameters and when all is good, manually press the doorbell which resets the auto water change and continues to run the circ pump for six hours. Having a salinity probe allows me to program a dummy proof reset that if I get an irate phone call that lasts hours that distracts me and I forget to add salt to the correct level but press the doorbell, it will not start the auto water change.
All that said, without a high level sensor, it’s not going to be reliable in my opinion. You could time how long it takes to fill your container and add a defer statement to a virtual outlet but I wouldn’t recommend that approach. I do suggest adding a mechanical float shut-off to the top of you bin just in case the solenoid fails, which it will eventually. They typically fail open from debris or worn diaphragm which will allow rodi to keep on coming.
once we know exactly everything you have, and what you want to do, we can give you better advice.
@Sean Clark put some time in to come up with the solution for moving the slider. After rereading his suggestion I’m not sure my idea of a feed mode will work to move it back to auto and you would have to manually do it in fusion. I can’t really play with things as I’m severely visually impaired now and will just screw things up. It doesn’t seem necessary to me to have the slider move to off if you put in some failsafes but that’s up to you and I’m not telling you what to do. I’m just explaining how I have done this for several years now.