On a larger scale, in Sweden heat is recovered from waste treatment plants and used for district heating. The temperature of water leaving the sewage treatment plant is between 7-22*C, large heat pumps extract heat, cooling it to 1*C before it is dumped into the sea. This can cover as much as 10% of a city's heating needs.
See the links at the bottom of my post
Sweden - Oil independance through conservation and efficiency