• 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-Fitbit2

Scheduled Pinned Locked Moved Health
fitbithealthfitnesshealthywaterfoodtrackingactivity tracker
98 Posts 21 Posters 112.9k Views 19 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.
  • V Offline
    Vizulize Module Developer
    last edited by Vizulize Feb 5, 2020, 12:34 PM Feb 5, 2020, 12:29 PM

    MMM-Fitbit2 builds upon MMM-Fitbit (which appears to be abandoned), and displays (even more of) your Fitbit data!

    It is allows you to display the following data (progress tracked against goal unless mentioned)

    • Steps taken
    • Calories burnt
    • Distance walked
    • Active minutes
    • Floors climbed
    • Resting heart rate (progress is always 100% as there is no goal)
    • Remaining water to consume (progress currently not displaying correctly as it approaches zero rather than starts from zero)
    • Remaining calories available to consume (progress currently not displaying correctly as it approaches zero rather than starts from zero)
    • Time asleep
    • Weight (progress currently not displaying correctly as it does not yet consider your starting weight)

    Screenshot

    This project was a fairly significant re-write, with its long-term vision of being able to display data just as complicated as on the official Fitbit dashboard, where possible. See the README for more information!

    This module is currently in need of testing - I am withholding adding it to the Wiki page until it has been used by multiple people for at least a few days without issues.

    S J 2 Replies Last reply Feb 5, 2020, 12:39 PM Reply Quote 1
    • S Offline
      sdetweil @Vizulize
      last edited by Feb 5, 2020, 12:39 PM

      @Vizulize said in MMM-Fitbit2:

      Resting heart rate (progress is always 100% as there is no goal)

      you can let us set a goal in config.

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      V 1 Reply Last reply Feb 5, 2020, 12:42 PM Reply Quote 0
      • V Offline
        Vizulize Module Developer @sdetweil
        last edited by Feb 5, 2020, 12:42 PM

        @sdetweil I’m not sure that that makes sense. If you have a target resting heart rate of 55, but you’re at 60, what is your progress %?

        S 1 Reply Last reply Feb 5, 2020, 12:55 PM Reply Quote 0
        • S Offline
          sdetweil @Vizulize
          last edited by Feb 5, 2020, 12:55 PM

          @Vizulize 9% over 1-(60/55), 54 out of 55 would be 2% under 1-(54/55),

          absolute value, rounded to 2 decimal places, * 100
          if number is negative, you are over target and positive u are under target

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • V Offline
            Vizulize Module Developer
            last edited by Vizulize Feb 5, 2020, 1:01 PM Feb 5, 2020, 1:00 PM

            Progress % is from 0-100. You have a start point, an end point, and are between the 2. “9% over” and “2% under” are not records of progress.

            If I recorded 9% over as 109%, and rounded to 100%, it would indicate that your progress towards your target resting heart rate (RHR) is 100%. 2% under would mean that you are at 98% “complete”.

            They may be percentages, but progress is absolute, and your calculations are relative. It would make more sense to keep the RHR data and create a better representation of it (e.g. a histogram - which is what Fitbit actually does).

            S 1 Reply Last reply Feb 5, 2020, 1:02 PM Reply Quote 0
            • S Offline
              sdetweil @Vizulize
              last edited by Feb 5, 2020, 1:02 PM

              @Vizulize as youve shown, not everything has a ‘progress’ number. but can still have a target

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • V Offline
                Vizulize Module Developer
                last edited by Feb 5, 2020, 1:05 PM

                @sdetweil Ok, I see what you’re saying. I’ve added it to the extending functionality GitHub project board. Seems quite minor though.

                1 Reply Last reply Reply Quote 0
                • J Offline
                  johntech @Vizulize
                  last edited by Feb 6, 2020, 1:56 AM

                  @Vizulize Those icons would look nice in color too.

                  1 Reply Last reply Reply Quote 0
                  • F Offline
                    Fr8Trayne
                    last edited by Feb 6, 2020, 4:24 AM

                    @Vizulize I’m setting this up and almost everything was smooth except when I get to the client secret. It won’t let me paste, or type anything to move forward. Any suggestions?

                    V 1 Reply Last reply Feb 6, 2020, 10:12 AM Reply Quote 1
                    • V Offline
                      Vizulize Module Developer @Fr8Trayne
                      last edited by Vizulize Feb 6, 2020, 10:12 AM Feb 6, 2020, 10:12 AM

                      @Fr8Trayne It’s a password entry step - it won’t show up in the terminal. Perhaps that is not clear enough, or just isn’t necessary! Just paste and hit ENTER to continue.

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 9
                      • 10
                      • 1 / 10
                      1 / 10
                      • First post
                        1/98
                        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