Where does the doorbell come into the statements? How do you go by checking/testing statements?Ok forgive me if make typos or make mistakes
nsw_lo is my physical low switch so change it to your low optical name
nsw_hi is my physical high switch, again change to yours
sw_reset is my physical doorbell, so you can use a feed a virtual outlet, or maybe the dos off to auto thing but someone would need to verify that.
Dos_add_sw and dos_rem_sw, replace with your names
Sw_solenoid, replace with your name
Sw_circ_pump, sw_heater replace with yours
Mix_sal is my salinity probe
Virtual outlets are
V_nsw_lo
V_nsw_hi
V_nsw_fill
V_nsw_filled
V_nsw_reset
programming is
V_nsw_lo
Set off
If nsw_lo closed then on
Defer 001:00 then on
V_nsw_hi
Set off
If nsw_hi closed then on
Defer 001:00 then on
v_nsw_fill
Fallback off
If v_nsw_lo = on then on
If v_nsw_hi = off then off
v_nsw_filled
Set on
If output v_nsw_reset = off then off
If output v_nsw_hi = off then off
v_nsw_reset
Fallback off
If output v_nsw_fill = on then on
If sw_reset closed then off
If mix_sal > 32 then off
Defer 001:00 then off
You could add a line for temp if you’re worried about temp
regular outlets
Sw_solenoid
Fallback off
Set off
If output v_sw_fill = on then on
sw_circ_pump
Fallback off
If output v_sw_filled = on then on
Defer 560:00 then off
sw_heater
Fallback off
If output v_sw_filled = on then on
Defer 560:00 then off
Dos programming for both add and remove
if output v_nsw_reset = on then off
Again, I do not have my dos slider switching from auto to off so maybe @Sean Clark can help with a virtual outlet to replace my physical doorbell and use your dos slider to reset if possible. Again triple check everything as this was not copy and paste and transcribed from my screen reader and typed so I could have royally screwed something up