I could really use some help in brainstorming a simple idea to help make this work.
Basically I have a large open drain that can not drain as fast as the waste water that is being put into it. So that it does not fill and overflow all over the floor I have installed a sump pump and ran a garden hose from the sump pump in the drain outside to another drain that drains without a problem. Now this waste water pretty much runs into this drain 24/7 except for a random day out of the week the system is shut down, and the sump pump will turn off because of the internal float switch. Now that winter is approaching I am afraid that the garden hose will freeze on a day that the water stops flowing so my goal is to make it running all the time even if the waste water system is not running that day. I am going to achieve this by having a solenoid valve on a water source in the building that opens to feed water in this drain when ever the system is shut down. And to sense when the system is shut down I will have a flow switch on an output hose of the system.
I assume a reed switch based flow switch should be fine, and the solenoid valve I have, an Orbit Model 27757, which I know is 2 pin and 24 volts is applied to one of the pins and ground the other to open, and reversed to close. Now I assume it would not be good to have a constant power running to it, and that it needs to be a momentary pulse of power, so I am looking for a simple way to do this.
I have a picture to try and better explain what I would like to do, and I would like to do it with as few components as possible and all from 24v power source, I considered a microcontroller but then I need to figure out implementing how to input and output proper voltages.

Thank you
Basically I have a large open drain that can not drain as fast as the waste water that is being put into it. So that it does not fill and overflow all over the floor I have installed a sump pump and ran a garden hose from the sump pump in the drain outside to another drain that drains without a problem. Now this waste water pretty much runs into this drain 24/7 except for a random day out of the week the system is shut down, and the sump pump will turn off because of the internal float switch. Now that winter is approaching I am afraid that the garden hose will freeze on a day that the water stops flowing so my goal is to make it running all the time even if the waste water system is not running that day. I am going to achieve this by having a solenoid valve on a water source in the building that opens to feed water in this drain when ever the system is shut down. And to sense when the system is shut down I will have a flow switch on an output hose of the system.
I assume a reed switch based flow switch should be fine, and the solenoid valve I have, an Orbit Model 27757, which I know is 2 pin and 24 volts is applied to one of the pins and ground the other to open, and reversed to close. Now I assume it would not be good to have a constant power running to it, and that it needs to be a momentary pulse of power, so I am looking for a simple way to do this.
I have a picture to try and better explain what I would like to do, and I would like to do it with as few components as possible and all from 24v power source, I considered a microcontroller but then I need to figure out implementing how to input and output proper voltages.

Thank you