• 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 113.5k 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.
  • B Offline
    bhepler Module Developer @chsp
    last edited by Apr 28, 2020, 12:02 PM

    @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
    • S Offline
      Stoffbeuteluwe Project Sponsor
      last edited by Apr 29, 2020, 3:15 AM

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

      1 Reply Last reply Reply Quote 0
      • J Offline
        jonspraggins @bhepler
        last edited by May 6, 2020, 1:30 PM

        This post is deleted!
        J 1 Reply Last reply May 6, 2020, 1:47 PM Reply Quote 0
        • J Offline
          jonspraggins @jonspraggins
          last edited by May 6, 2020, 1:47 PM

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • A Offline
            Arno-Strasbourg
            last edited by May 15, 2020, 8:57 AM

            Hi,
            Do you think it would be possible to add the watch battery level ?

            V 1 Reply Last reply May 19, 2020, 9:22 AM Reply Quote 0
            • V Offline
              Vizulize Module Developer
              last edited by Vizulize May 19, 2020, 9:06 AM May 19, 2020, 8:59 AM

              Hi all (notably, @chsp) - turns out that there was a bug if you had selected the “weight” resource and did not have any weight data for the last 30 days. I have pushed a fix for this, so hopefully you don’t end up with “Loading…” any more!

              1 Reply Last reply Reply Quote 0
              • V Offline
                Vizulize Module Developer @mattx38
                last edited by Vizulize May 19, 2020, 9:03 AM May 19, 2020, 9:00 AM

                @mattx38 As the client secret a password, it is blocked from printing. Just paste the secret into your terminal and press enter - it will work.

                This is separate to what @bhepler raised re: SSH. Actually, you can run all of the commands over SSH, but you will need to log in to your Fitbit account in a browser on the Pi in order to generate your access tokens. Alternatively, you can run the script on another machine, generate the tokens and then transfer them onto the Pi (if you have no way to do things on your Pi’s display).

                1 Reply Last reply Reply Quote 1
                • V Offline
                  Vizulize Module Developer @Arno-Strasbourg
                  last edited by May 19, 2020, 9:22 AM

                  @Arno-Strasbourg
                  Seems like it’s possible to get a low-resolution status of device battery levels from the Fitbit API.
                  It also seems as though the Python library supports this endpoint.

                  However, because it returns a list of devices, targeting the right one may prove to be a little more complicated.
                  Not much good if the battery level relates to a second tracker that you aren’t actually wearing!
                  I could possibly do it based on the device with "type": "TRACKER" that has the most recent "lastSyncTime", but I will need to think about it.

                  A 1 Reply Last reply May 25, 2020, 3:49 PM Reply Quote 0
                  • A Offline
                    Arno-Strasbourg @Vizulize
                    last edited by May 25, 2020, 3:49 PM

                    @Vizulize said in MMM-Fitbit2:

                    @Arno-Strasbourg
                    Seems like it’s possible to get a low-resolution status of device battery levels from the Fitbit API.
                    It also seems as though the Python library supports this endpoint.
                    However, because it returns a list of devices, targeting the right one may prove to be a little more complicated.
                    Not much good if the battery level relates to a second tracker that you aren’t actually wearing!
                    I could possibly do it based on the device with “type”: “TRACKER” that has the most recent “lastSyncTime”, but I will need to think about it.

                    It would be very nice. Thank you

                    1 Reply Last reply Reply Quote 1
                    • A Offline
                      aunrea
                      last edited by Aug 16, 2020, 1:25 PM

                      I think this module is great! It works well and looks great.
                      Is there a way to set it to imperial instead of metric measurements?

                      A V 2 Replies Last reply Aug 16, 2020, 2:14 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 9
                      • 10
                      • 3 / 10
                      • 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