It used to be you had a pump and if you were lucky it had a mechanical timer switch on it ... connect to your home automation system. If your pool isn’t new enough to do that already, you ...