Environment Agency had denied allowing excessive manure to enter the water
A £2.6m hydro-electric scheme to generate power from the River Taff in Radyr is set to begin.
The scheme at Radyr Weir, which starts next month and is due to be fully operational by April 2016, will generate enough electricity to power up to 550 homes.