I guess you have to find out what excites you! Does meaningfulness from work drive that sense of excitement? Perhaps it could be your own personal project that excites you. Personally, I enjoy what I learn from working as a software engineer and writing them down coherently as blog posts. This help to cement my understanding and also give me the ability to share with others. One example is my article regarding design patterns that I was learning just a week ago! Hope to share with you all (:
https://blog.phuaxueyong.com/post/2020-05-03-3-more-cloud-de...
Or perhaps you could start an active lifestyle again. Working out always helps to curb motivation issues at times. Give that a try!