The fountain pump is plogged into s NEMA receptace in a box with a relay inside.
This is contained in a weatherproof plastic box which also contains the receiver/controller, which has its own enclosure.
There is also a rotary switch with 3 positions:
|This shows the receiver/controller circuit board exposed by removing its lid:
Here is the box circuit diagram..
Here is the receiver circuit diagram.
Here is the program code.