The push buttons I actually got at Home Depot - you can get momentary switches or the push on - push off type.
As far as programming, it's scattered around, since you program outlets (and virtual outlets) based on the inputs, but I'll try to make sense here. Also, Apex won't let an input (i.e. a button) trigger a feed mode so you have to use a 'virtual feed mode' triggered off of the button. Below is my programming. Hopefully it makes sense.
Alarm
Set OFF
If pH < 7.70 Then ON
If Sump_H CLOSED Then ON
If FeedA 005 Then OFF <- these turn off the high sump level alarm when Feed mode is on
If FeedB 005 Then OFF
If Output vFeedA = ON Then OFF
If Output VFeedB = ON Then OFF
If Error FMM-24V Then ON
If Error Cor_20 Then ON
If Skimma OPEN Then ON <- Send an alert if the skimmate float switch is Open
If RODI_L OPEN Then ON
If pH > 8.40 Then ON
If Time 22:00 to 06:30 Then OFF
If Leak_d CLOSED Then ON
Defer 000:05 Then ON
Skimmer
Fallback OFF
Set ON
**These lines turn off the skimmer for either feed mode or virtual feed modes
If FeedA 005 Then OFF
If FeedB 030 Then OFF
If Output vFeedA = ON Then OFF
If Output VFeedB = ON Then OFF
**this turns off the skimmer if the return pump outlet is off
If Output ReturnPump = OFF Then OFF
**these turn off the skimmer if the sump leak sensor is wet(closed) or if the high level sensor in the sump is wet (closed)
If Leak_d CLOSED Then OFF
If Sump_H CLOSED Then OFF
**This turns off the skimmer if the float switch in the collection jug is tripped. I have it set so it’s CLOSED when the jug is empty and OPEN when it’s full. That way if I forget to plug the float switch back in after emptying the jug it won’t turn on and flood the sump accidentally.
If Skimma OPEN Then OFF
Defer 003:00 Then ON
Sump Lights
Fallback OFF
Set OFF
If Temp > 79.0 Then ON
If Temp < 78.5 Then OFF
**I have a magnetic switch on the door of my sump, so when you open the door, the switch opens and Apex turns the sump lights on. The toggle switch lets me override it.
If DoorMg OPEN Then ON
If ToglSw OPEN Then OFF
vFeedA
** virtual outlet to create a feed mode. It turns on when the top button is pushed (closed) and then stays on for 10 min before turning off. I used a momentary push button with the Defer statement so I don't have to come back later and push the button again to end the feed mode
Set OFF
If TopBtn CLOSED Then ON
Defer 010:00 Then OFF
vFeedB
**virtual outlet to create a feed mode. It turns on when the bottom button is pushed (closed) and then stays on for 30 min before turning off.
Set OFF
If BtmBtn CLOSED Then ON
Defer 030:00 Then OFF
COR 20 pump
Fallback ON
//For feed mode A the pump goes down to a speed of 1 which is just enough speed to keep the water from flowing back down into the sump. If you have a different DC pump like a Varios, you can use a variable 0-10V output and a profile to accomplish the same thing.
If FeedA 000 Then 1
If FeedB 000 Then 0
If Output vFeedA = ON Then 1
If Output VFeedB = ON Then 0
If FeedC 000 Then 0