Ten years ago some friends of mine built thier house to be off the grid because the power lines did not go to thier property. They use solar, wind and a gas generator along with passive solar water heating. Now the power lines go past thier place and they are sick of being off grid and are going to reconnect and sell the surplus power back.
They lost money and had to completely readjust thier lifestyle. Thier opinion is it is not worth it, at least in western Washington. Even if your local climate is mostly sunny year round you will never recoup the equipment cost in savings. Most of the people that do it just want to look progressive. Solar panels are only 14% efficient and wind turbines need an average of 8 MPH constant wind to put out even a small amount of power.
I also know of several gated housing associations that would not alow that equipment on your house.