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 156.3k 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 @sdetweil
      last edited by

      @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 Reply Quote 0
      • S Offline
        sdetweil @Vizulize
        last edited by

        @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

          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 Reply Quote 0
          • S Offline
            sdetweil @Vizulize
            last edited by

            @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

              @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

                @Vizulize Those icons would look nice in color too.

                1 Reply Last reply Reply Quote 0
                • F Offline
                  Fr8Trayne
                  last edited by

                  @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 Reply Quote 1
                  • V Offline
                    Vizulize Module Developer @Fr8Trayne
                    last edited by Vizulize

                    @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
                    • F Offline
                      Fr8Trayne
                      last edited by

                      Ah thank you! I was confused there. I’ll give it another go and let you know how it turns out.

                      1 Reply Last reply Reply Quote 1
                      • F Offline
                        Fr8Trayne
                        last edited by

                        @Vizulize So I clicked continue and it gets stuck at Opening web browser… I’ve tried doing it a few times now, but it’s not moving forward. Advice?

                        V 1 Reply Last reply Reply Quote 1
                        • V Offline
                          Vizulize Module Developer @Fr8Trayne
                          last edited by Vizulize

                          @Fr8Trayne Are you SSH’d in to your machine? You need to be on the machine locally, so that the browser can open, and you can log in to Fitbit in the browser.

                          This is all great feedback though - thanks for being patient!

                          1 Reply Last reply Reply Quote 0
                          • F Offline
                            Fr8Trayne
                            last edited by

                            @Vizulize no problem. I’m great at finding the problems 😉. I’ll have to connect directly to the Raspberry pi and try again. I’ll let you know how it goes.

                            1 Reply Last reply Reply Quote 0
                            • M Offline
                              mattx38
                              last edited by mattx38

                              Hello,
                              When I’m asked to enter the “Client Secret”, in ssh (on the pi of the MagicMirror), I cannot type or paste anything.
                              What’s the solution ?

                              bheplerB V 2 Replies Last reply Reply Quote 0
                              • bheplerB Offline
                                bhepler Module Developer @mattx38
                                last edited by

                                @mattx38 - Read two messages above your post. You must work directly on the Pi in order to make it through the Fitbit login process. You can’t do this through an SSH connection.

                                M jonspragginsJ 2 Replies Last reply Reply Quote 0
                                • M Offline
                                  mattx38 @bhepler
                                  last edited by mattx38

                                  @bhepler I did it directly from the terminal of the MMM Pi, sorry for my wrong explaination.

                                  1 Reply Last reply Reply Quote 0
                                  • C Offline
                                    chsp
                                    last edited by chsp

                                    Hello,

                                    I’ve installed MMM-Fitbit2 according the instructions.
                                    Unfortunately on the MM screen the module says “Loading…” instead of showing any symbols.
                                    Could someone help me?

                                    bheplerB 1 Reply Last reply Reply Quote 0
                                    • bheplerB Offline
                                      bhepler Module Developer @chsp
                                      last edited by

                                      @chsp - You will probably need to check the logs and see if there are any error messages.

                                      First, get an SSH connection to your Pi (assuming it’s a Pi) and type pm2 log 0. Look for any errors. If you see none, point a web browser at your Pi’s IP address and use that to pull up the mirror’s interface. Press F12 to open the developer’s window and look in the Console tab for any errors.

                                      That should get you started.

                                      1 Reply Last reply Reply Quote 0
                                      • StoffbeuteluweS Offline
                                        Stoffbeuteluwe Project Sponsor
                                        last edited by

                                        Hi, the module works fine …:clapping_hands_medium-light_skin_tone:

                                        1 Reply Last reply Reply Quote 0
                                        • jonspragginsJ Offline
                                          jonspraggins @bhepler
                                          last edited by

                                          This post is deleted!
                                          jonspragginsJ 1 Reply Last reply Reply Quote 0
                                          • jonspragginsJ Offline
                                            jonspraggins @jonspraggins
                                            last edited by

                                            This post is deleted!
                                            1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 1 / 5
                                            • First post
                                              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