I am not going to go back to project based salaries. I am to lazy to negotiate all the things that come after I think I am done :) Maybe I was just to cheap, dunno.
When I still did freelancing I just asked for a rather high hourly rate and was super efficient in that time. At some point it got hard to find customers tho when other people claim the same for a 4th of the rate or less.
The ultimate solution for a lazy coder like me is just maintaining some websites that make money. My time, my decisions, my money.
When you freelance on a project-basis, it's "I pay this person to create this thing for me", but they don't care whether you take 10 or 100 hours to do so as long as you deliver it at the price you agreed upon and the quality is what they expected.