One interesting option that was discussed for retrofitting a standard pump:
… you don’t have to purchase an entire new pump. Existing motors that are TEFC (totally enclosed fanned cooled), like pool pumps, can be retrofitted with a separate control box to make your motor more efficient. Hayward has partnered with Emotron to produce wall mounted variable speed drives that use dynamic load monitoring and precision speed control. Networking and communication connections are optional.
Poolcenter.com is a fantastic source of information, hard to find parts, etc.