Read the statement by Michael Teeuw here.
MMM-GoogleFit
-
Nice work. Do you know if it’d handle two instances - i.e. two google accounts? I can imagine some friendly competition in my house with this!
-
I have not played around with multiple instances of a MM module, but I can take a look into it when I get some time this weekend. There are some assumptions that are made right now that prevent multiple instances from accessing different accounts. That being said, I am not sure how much work it would take to do but I am up for at least investigating this.
-
That’d be awesome! I hope it’s straightforward. Also, I’m using it currently on a pi zero W and had no issues with the authentication process. Cheers.
-
@nitram, I made a github issue based off of your feedback - check for updates there :)
-
@amcolash Amazing!! Thanks so much. This all worked perfectly for me, with the exception that I also needed to rename the MMM-GoogleFit.js file in the second instance’s directory to MMM-GoogleFit2.js - nothing happened otherwise. I also took the opportunity to change the innerhtml content in that file to something more distinctive for each instance and now we can all see our steps. Super happy with this - even the wife thinks its good now!
-
@nitram So glad to hear that things worked out smoothly - yeah forgot about renaming the file - sorry about that. Glad that you and your wife are liking this module! Cheers
-
I’m getting an auth error, “stats error”. I’ve followed the steps and MMM-GoogleFit shows up in my google apps with permissions. Any ideas?
Edit: Update, The issue has resolved without me doing anything different so I’m not quite sure what the issue was but the module is working great. Thank you for this!
-
@StacheEnthusiast: Made a github issue, I will respond in detail and help troubleshoot there.
-
Thank you @amcolash I set this module up tonight. All working great, except when I edit chartWidth (to anything more than 360) to make it bigger, it cuts off part of the leftmost pie chart. It does this whether I’m using icons or not. I use it in bottom_center if that makes any difference. Any idea how to stop this happening? I’d like to have larger pies!
-
@tismepaulo: Please make a github issue so I can track this issue. Sorry for the late response, I just moved cross-country to Seattle.