Controlling 110v appliance using 24v relay

I have done just what you are trying to do. I fill my fountain everyday on a dedicated water valve.My rachio controller waters my fountain for 1 minute every day. The power for the pump is on a separate timer.

Greg