I have a Hayward SP2303VSP variable speed pump, was installed about 6 months ago.
It has been running off of it's internal timer, but I setup to control the pump using Home Assistant.
You will need at least one relay, but one is really not enough.
One relay will give you off and one speeds.
Two relays will give you off and three speeds.
I have three relays, which supports off and 7 speeds.
In my setup, I am using a ESP type device to control the relays. The ESP is loaded with ESPHome, which allows for easy setup.
Turn off the pump circuit breaker, I did it at the panel.
Make sure pump power is off.
Open the cover, and unscrew the screws on top and bottom. You only see the bottom screw when you open the cover.
Pull up display, when you will see the display cable, disconnect by pulling it up from the board. Direction to pull is to the left in the picture below.
Now you see a plate, unscrew the three screws and remove the plate.
When you remove the plate, you will see as pictured above.
Remove the black plug next to the conduit with the power wires.
You will need to screw in the conduit with the new wires here.
Wiring is as follows.
Add a short jumper wire from RS485 COM to ICOM on Digital Input.
If you have three relays, you will have four wires. One wire from each relay, and one "common" wire. The common wire goes to one terminal of each of the relays, its the wire on the left in the figure above. I wired the common to the middle terminal of each relay.
Note the relay should be wired so that when it is "off", there is an open between the wires. When the relay is "on", then common and other relay wire should be shorted. This is somewhat arbitrary, you need to base your logic for controlling the pump based on the relay states.
The common wire goes to RS485 +12V. The common wire is equivalent to Low Voltage Supply + in the picture above. Low Voltage - is the jumper from RS485 COM to ICOM.
Relay 1 goes to Digital input Step 1
Relay 2 goes to Digital input Step 2
Relay 3 goes to Digital input Step 3
Double check wiring, and then put it all back together.
Turn on breaker power, and pump should act the same.
Now you need to program the pump. See the programming pump page.