Pool Pump Automation Hardware

You will need 2 relays since you have 3 states: on, off and speed.
Also, have a look at these threads:

Particularly the parts about the current for starting an electrical motor.
One more thing: you have to make sure that the relay you will be using can give you the power-draw so you can detect the pump fail.