I can't say much about being motivated, but for me lack of opportunity to learn and try out new things can be very demotivating. Nothing stop me from doing so after work in a side project, but that still doesn't make the 'I wish I could use this in my day job' thought disappear.
(My current hack is to learn something that has no use in the day job after work.)