I am sorry I am a quite late to the conversation, but I actually just made a module that will do this!
Check it out on github and give any feedback you have. I made this for my own personal needs, but am open for feedback :)
Cheers!
[image: colors.png]
https://github.com/amcolash/MMM-GoogleFit
Glad that’s working. It still doesn’t solve the fact that it’s dying on you, but at least it will restart it automatically for you. I think my process dies at least once a week or so … totally random, with the pi doing nothing.