Same here. The trick is to start to care less about the day job and more about the real job. Start to think about the day job as a contracting/consulting gig to support R&D. That's how I generate motivation, even though I know I have a mortgage to pay.