• 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 119.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.
  • 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
      • A Offline
        aunrea @aunrea
        last edited by Aug 16, 2020, 2:14 PM

        I have also noticed that the sleep time is inaccurate. It currently says 08:04, but the Fitbit website says 07:10. I am not sure why it is adding 56mins to my sleep time.

        V 1 Reply Last reply Sep 4, 2020, 6:11 PM Reply Quote 0
        • S Offline
          Stoffbeuteluwe Project Sponsor
          last edited by Aug 16, 2020, 2:39 PM

          My question is…after updating MM
          the module is not working.
          I must do the (auth.sh) again after every MM upgrade.
          Is that the same on your Mirrors??

          V 1 Reply Last reply Sep 4, 2020, 6:12 PM Reply Quote 0
          • A Offline
            aunrea
            last edited by Aug 19, 2020, 3:35 PM

            Is there a way to use more than 1 Fitbit account? I tried but the second one would not authorize.

            V G 2 Replies Last reply Sep 4, 2020, 6:12 PM Reply Quote 0
            • V Offline
              Vizulize Module Developer @aunrea
              last edited by Sep 4, 2020, 6:09 PM

              @aunrea For now, to get Imperial measurements, remove this line:
              https://github.com/m-roberts/MMM-Fitbit2/blob/master/python/get_data.py#L96

              1 Reply Last reply Reply Quote 0
              • V Offline
                Vizulize Module Developer @aunrea
                last edited by Sep 4, 2020, 6:11 PM

                @aunrea The module is returning the sleep data from the web API directly, which can be found here: https://dev.fitbit.com/build/reference/web-api/sleep/

                You can see in the code here that the result that is returned is “totalMinutesAsleep”:
                https://github.com/m-roberts/MMM-Fitbit2/blob/master/python/get_data.py#L194

                Beyond that, I am not sure why it is adding time to your records. Apologies!

                1 Reply Last reply Reply Quote 0
                • V Offline
                  Vizulize Module Developer @Stoffbeuteluwe
                  last edited by Sep 4, 2020, 6:12 PM

                  @Stoffbeuteluwe This should not be the case. What are the logs saying?

                  1 Reply Last reply Reply Quote 0
                  • V Offline
                    Vizulize Module Developer @aunrea
                    last edited by Sep 4, 2020, 6:12 PM

                    @aunrea This should work - I have 2 accounts on my MagicMirror and they have worked together for some time. What are you seeing?

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      mkufner24
                      last edited by Oct 14, 2020, 7:40 PM

                      Hi, this module is great! It works almost perfectly, the only exception being inaccurate sleep time. Mine is underreporting my sleep time. Any ideas?

                      V G 2 Replies Last reply Oct 15, 2020, 8:01 AM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 9
                      • 10
                      • 4 / 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