You will need to provide some type of control to turn the fan on and off. You can use a relay in combination with the room thermostat, or install an aquastat that monitors the water temperature in the pipe and turns on the fan once it reaches a certain temperature.