MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. Vizulize
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    V
    Offline
    • Profile
    • Following 0
    • Followers 1
    • Topics 3
    • Posts 39
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: MMM-Fitbit2 PythonShell is not a constructor

      I have updated the module: https://github.com/m-roberts/MMM-Fitbit2/commit/27706ea0a9ab13b8d12a020f7234adf361d108ae

      posted in Troubleshooting
      V
      Vizulize
    • RE: MMM-Fitbit2

      @tippon Hopefully this is fixed: https://github.com/m-roberts/MMM-Fitbit2/commit/e958665dcf63900d38f5405961a1a176d5ba2fcf

      posted in Health
      V
      Vizulize
    • RE: MMM-Fitbit2 PythonShell is not a constructor

      Hi - I have just committed this fix: https://github.com/m-roberts/MMM-Fitbit2/commit/e958665dcf63900d38f5405961a1a176d5ba2fcf

      posted in Troubleshooting
      V
      Vizulize
    • RE: MMM-Fitbit2

      @davidgeo
      This is currently not exposed to the user via the config.json (that feature is tracked here).
      However, you can change this option to “US” in your installed module directory.
      For more information about how units are handled by the Fitbit API, check out the unit system information detailed here.

      posted in Health
      V
      Vizulize
    • RE: MMM-Fitbit2

      @goldyfruit said in MMM-Fitbit2:

      @mkufner24 Same, sleep time is inaccurate.

      Unfortunately, this is what is returned from the Fitbit API. If you can figure out how to produce the data you want from what is returned from the API, then I am happy to take a look!

      posted in Health
      V
      Vizulize
    • RE: MMM-Fitbit2

      @goldyfruit said in MMM-Fitbit2:

      @Vizulize It would be great it you could allow the issue creation on GitHub, this will be easier to contribute and raise issue. :)

      Done!

      posted in Health
      V
      Vizulize
    • RE: MMM-Fitbit2

      @mkufner24 I have explained what I am doing to retrieve sleep data in an earlier post. Beyond that, I’m not sure!

      I’m glad to hear you’re enjoying the module though 😄

      posted in Health
      V
      Vizulize
    • RE: MMM-Fitbit2

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

      posted in Health
      V
      Vizulize
    • RE: MMM-Fitbit2

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

      posted in Health
      V
      Vizulize
    • RE: MMM-Fitbit2

      @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!

      posted in Health
      V
      Vizulize
    • 1 / 1