I totally feel you on this subject. Over the years I've gone through phases where I've been creative then stopped, then came back to it wondering why I ever stopped. It was this whole start / stop thing for me spanning many years, and then there's finishing projects.. most of my stuff never leaves the project phase so finishing off a few tracks recently was my retribution.
I find when I go in with the intention of making something it always sounds shit. I joked with my mate recently that most of my stuff is made at 2am.. stoned and basically noodling because I'm bored - my best stuff is made when I'm not intentionally doing anything. I'll fire up my DAW and just mess around on the keyboard - This then leads onto other things. If I come across something I like, I build on it.. Sometimes it still leads nowhere and that can be frustrating, but when you're really enjoying it and in the moment that's when the creative process is most fun for me.
It depends how you're making your music but I find having a template for the initial track really helps - for me this is having all my channels in my mixer already hooked up and with some basic FX sends already in place that I just throw in a VST and noodle on the keyboard. It takes seconds to load that template and its my go-to starting place these days.
I also work in IT and working from home (while I enjoy it) is really bad for me creatively - I've been in front of the computer for 8hours already. My desire to sit in front of it rapidly diminishes when I've finished work - More so working from home (like being in front of another computer doesn't count) I never felt this way while I was working in the office.
I think you need to concentrate on making things fun, relaxed and not something you feel you have to do.. Also remember that although the time spent might not always give you some amazing track that time is never wasted.