• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MMM-GoogleFit

Scheduled Pinned Locked Moved Health
19 Posts 7 Posters 11.6k Views 8 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    Meidlmarkus
    last edited by Apr 3, 2020, 3:39 PM

    Hi,
    open: /home/pi/MagicMirror/modules/MMM-GoogleFit/MMM-GoogleFit.js in a notepad.
    Change line 112 from
    total = total.toFixed(0);
    to
    total = total.toFixed(1);

    Just tried it out, it works (I also like it ;-) )
    But please note that any change in a module will be overwritten as soon as you do an update of the module.

    Cheers
    Markus

    B 1 Reply Last reply Apr 3, 2020, 11:35 PM Reply Quote 0
    • B Offline
      banbutcher @Meidlmarkus
      last edited by banbutcher Apr 4, 2020, 12:11 AM Apr 3, 2020, 11:35 PM

      @Meidlmarkus

      Awesome… thanks I’ll try it out soon! 😊

      … worked like a charm! :)

      1 Reply Last reply Reply Quote 1
      • B Offline
        banbutcher
        last edited by Apr 5, 2020, 5:38 AM

        another quick question… is it possible to have a graph of some sort weeky/monthly of weight?
        i think i read on one of the new covid19 threads that this module has a graph function!?

        thanks again

        M 1 Reply Last reply Apr 5, 2020, 3:36 PM Reply Quote 0
        • M Offline
          Meidlmarkus @banbutcher
          last edited by Apr 5, 2020, 3:36 PM

          @banbutcher cool that you got it to work :-)
          About weight graph: Well the GoogleFit module would have to be extended with this functionality, it would have to be coded (nothing that could be done with a quick fix, I’m afraid ;-) )

          B 1 Reply Last reply Apr 5, 2020, 6:19 PM Reply Quote 0
          • B Offline
            banbutcher @Meidlmarkus
            last edited by Apr 5, 2020, 6:19 PM

            @Meidlmarkus

            That’s what I thought, thanks for the reply!

            1 Reply Last reply Reply Quote 0
            • 1
            • 2
            • 2 / 2
            2 / 2
            • First post
              19/19
              Last post
            Enjoying MagicMirror? Please consider a donation!
            MagicMirror created by Michael Teeuw.
            Forum managed by Sam, technical setup by Karsten.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy