Congratulations on the pool!
There are a lot of different ways to approach this. You might start by taking a look at the project reports on the pools list in the quick browse lists in the community – created wiki. Then you can see how other people have approached similar projects.
One thing to note which is really important is that you can’t just use a device intended for indoor use in the “splash zone” of a pool because of galvanic corrosion. You really need devices designed for that environment or they can literally catch fire.
As far as the pump, one of the least expensive options for that environment will be the zigbee Relay devices from smartenIT. They work well with SmartThings and are specifically designed for a pool/pond environment. They are more expensive than “comparable” HVAC devices, but again, that’s because they are designed for the challenges of a pool environment. Shop around because prices vary a lot, I’m just putting this one here is an example.
Of course if you were planning to run wires to control switches inside the house, then you don’t have to worry about the environmental issues, and you have a lot more device choices.
As far as the pattern input, when you look at the project reports on the pools list there are a couple there that had different patterns for changing color lights, etc., and you could see how people handle that. Anything that was done with “rule machine,” which is no longer available, would now be done with core.