Consider a complete change of career, if that is at all an option.
While this may be a huge change to think about, don't underestimate it as a real viable option.
I actually was having the same problem as OP and have been in the process of switching careers to screen printing of all things. I've noticed myself having more energy both in and outside of work and a feeling of accomplishment that I'm actually getting shit done in a measurable way. When I actually do sit down to write some code in my off-time, I've felt much more inspired and have actually had the drive to finish the things I start.
Obviously this is all heavily YMMV, but certainly something to consider.
While this may be a huge change to think about, don't underestimate it as a real viable option.
I actually was having the same problem as OP and have been in the process of switching careers to screen printing of all things. I've noticed myself having more energy both in and outside of work and a feeling of accomplishment that I'm actually getting shit done in a measurable way. When I actually do sit down to write some code in my off-time, I've felt much more inspired and have actually had the drive to finish the things I start.
Obviously this is all heavily YMMV, but certainly something to consider.