Even when you are working on something you love it can be hard to stay motivated.
Too true. I get people telling me all the time that the reason I have motivational problems is because I just don't totally, wholeheartedly love what I do.
That's not true. I really do like what I do. It's just that encapsulated in every conceptual appreciation is a lot of work. I think the difference between someone who "loves what they do" vs. someone who approaches what they do rather dispassionately is that in the former case, it's only 90% drudgery/10% fun, as opposed to something more like 98%/2%.
It's important to recognise when your motivation is dipping and switch to something else or take a break.
Too often I forget this and keep pressing on regardless - and the task takes twice time it would have if I'd just parked it for a day or two.