MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. Vizulize
    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

    Vizulize

    @Vizulize

    Module Developer
    9
    Reputation
    139
    Profile views
    39
    Posts
    1
    Followers
    0
    Following
    Joined
    Last Online

    Vizulize Unfollow Follow
    Module Developer

    Best posts made by Vizulize

    • RE: What is the procedure for reviving a dead module?

      I want to get icons and formatting sorted before I add it publicly. However, you can try it here: https://github.com/m-roberts/MMM-Fitbit2

      Also, I need to handle credentials from the config, as currently they are hard-coded into files that are used by the Python Fitbit library. This needs to be handled from the config directly, to support multiple Fitbit accounts on one setup.

      posted in Troubleshooting
      V
      Vizulize
    • MMM-Fitbit2

      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.

      posted in Health fitbit health fitness healthy water food tracking activity tracker
      V
      Vizulize
    • RE: RPI3 running out of memory

      Worth considering increasing your swap file size while you try to determine the cause. That will start using file system space as memory.

      Change CONF_SWAPSIZE=100 to #CONF_SWAPSIZE=100in /etc/dphys-swapfile and reboot.

      Then you can check on the swap size used, and see if it’s a memory leak that just keeps on growing, or something else.

      posted in General Discussion
      V
      Vizulize
    • RE: What is the procedure for reviving a dead module?

      @Fr8Trayne I’ve got the following currently supported data:

      • Steps Walked (compared to goal)
      • Calories Burned (compared to goal)
      • Total Distance Walked (compared to goal)
      • # of Active Minutes (compared to goal)
      • # of Floors Climbed (compared to goal)
      • Resting Heart Rate (average for the day)
      • Today’s Remaining Water Intake (amount consumed subtracted from goal)
      • Today’s Remaining Calories To Consume (amount consumed subtracted from goal)
      • Sleep Time (compared to goal)
      • Current Weight (last weigh-in, if within the last 30 days)

      I need icons for water, food and weight, and some assistance with formatting before I will post it publicly. Perhaps I will create a new forum post for this.

      posted in Troubleshooting
      V
      Vizulize
    • RE: MMM-Fitbit2

      @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).

      posted in Health
      V
      Vizulize
    • RE: RPI3 running out of memory

      @johntech Huh? This is referring to RAM memory, not hard drive space. I was writing to explain how you can extend the swap by using filesystem space to prevent the system crashing from running out of RAM.

      Sorry if there was any confusion - I actually manage a Raspberry Pi operating system, so am very familiar with the tools and techniques available.

      posted in General Discussion
      V
      Vizulize
    • RE: What is the procedure for reviving a dead module?

      I have posted the module here. I am looking for testers!

      posted in Troubleshooting
      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

    Latest posts made by Vizulize

    • RE: MMM-Fitbit2

      @Meidlmarkus It’s been a while since I worked on this. From memory, doing this over SSH has extra complexity (probably to do with the DISPLAY environment variable). Honestly, I’ve wanted to rework this to be headless for a while but haven’t had the capacity to do so.

      My advice would be to try and run it locally if possible.

      Also if anyone can verify that the modification to package.json is a fix, then I will merge this in: https://github.com/m-roberts/MMM-Fitbit2/pull/10/files

      posted in Health
      V
      Vizulize
    • RE: MMM-Fitbit2 Install Process

      @En-TACT Check that you have the correct client ID, client secret, and the redirect URI.

      posted in Troubleshooting
      V
      Vizulize
    • RE: MMM-Fitbit2 Install Process

      @En-TACT I am the author. What is your setup? Are you trying to run it headlessly?

      posted in Troubleshooting
      V
      Vizulize
    • RE: MMM-Fitbit2 Install Process

      @En-TACT init.sh just runs npm install (ref), so you can try the various StackOverflow suggestions to see if they help.

      posted in Troubleshooting
      V
      Vizulize
    • RE: MMM-Fitbit2

      @richmp95 I’m afraid I can’t do much to help without error logs.

      posted in Health
      V
      Vizulize
    • RE: MMM-Fitbit2

      @Layton

      I haven’t tried this and I haven’t looked at the code in a while, but I think you can just comment out this line to hide the progress bars:

      https://github.com/m-roberts/MMM-Fitbit2/blob/430d35056ceecfe612476a7d0307903b376ed6c0/MMM-Fitbit2.js#L242

      posted in Health
      V
      Vizulize
    • RE: MMM-Fitbit2

      @richmp95 - last I checked, this still works. Why does it need ‘reviving’?
      If you would like to have extra features, I am open to suggestions and contributions.

      posted in Health
      V
      Vizulize
    • RE: MMM-Fitbit2

      @jjw Running init.sh inside the MMM-Fitbit2 folder should take care of installing the dependencies for you.

      posted in Health
      V
      Vizulize
    • RE: MMM-Fitbit2

      @jjw A quick Google search for this error suggests to me that it is related to your node/npm versions, but I can’t offer any more input than that I’m afraid!

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

      @sdetweil It is defined as 0.5.0 in the dependencies.

      To be honest, the Python should be rewritten in JS anyway. Perhaps I will get around to doing that in the near future :thinking_face:

      Then this issue goes away!

      posted in Troubleshooting
      V
      Vizulize