• 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 112.9k 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.
  • L Offline
    Layton @Vizulize
    last edited by Jul 8, 2022, 7:10 PM

    @Vizulize That worked! Thank you :)

    1 Reply Last reply Reply Quote 1
    • R Offline
      richmp95 @Vizulize
      last edited by Sep 7, 2023, 1:55 AM

      @Vizulize i am still having issues with this module. all it says is loading. any help with this i would appreciate it

      V 1 Reply Last reply Sep 13, 2023, 10:19 PM Reply Quote 0
      • V Offline
        Vizulize Module Developer @richmp95
        last edited by Sep 13, 2023, 10:19 PM

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

        1 Reply Last reply Reply Quote 0
        • M Offline
          Meidlmarkus
          last edited by Dec 4, 2023, 3:46 PM

          Hi, updated MM and now Google-Fit can no longer be installed, so I gave MMM-Fitbit2 a go.
          Thanks @Vizulize for your work, I’d really like to get it running.
          I have the same error that is reported in the github:

          npm ERR! must provide string spec
          

          To reproduce, just try to install it on an updated MM system.
          It happens when calling ./init.sh as per your instructions on github

          Have you/has anybody figured out a way to initialize the module?
          Thanks
          Markus

          S 1 Reply Last reply Dec 4, 2023, 3:55 PM Reply Quote 0
          • S Offline
            sdetweil @Meidlmarkus
            last edited by Dec 4, 2023, 3:55 PM

            @Meidlmarkus said in MMM-Fitbit2:

            MMM-Fitbit2

            remove these lines from package.json

                "//": [
                  "Requires this version to work",
                  "https://github.com/SVendittelli/MMM-fitbit/issues/23#issuecomment-464319931"
                ]
            

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • M Offline
              Meidlmarkus
              last edited by Meidlmarkus Dec 4, 2023, 4:13 PM Dec 4, 2023, 4:11 PM

              Thanks, Sam!
              Had it googled in the meantime, had renamed the package-lock.json und run npm init
              It braught no further error, I called auth.sh and that’s where I’m stuck now.
              After entering the credentials, no browser dialog opens and I’m not quite sure where to search it.
              Am logged in over ssh and in addition have a browser open to :8080
              Neither on the mirror, nor on the pc, there is any dialog appearing.

              I guess I’ll start from scratch, remove the module folder, clone new from git, and try your suggested method with the original package.json?

              Thanks again
              Markus

              S 1 Reply Last reply Dec 4, 2023, 4:14 PM Reply Quote 0
              • S Offline
                sdetweil @Meidlmarkus
                last edited by Dec 4, 2023, 4:14 PM

                @Meidlmarkus yeh, can’t help on the auth part

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                M 1 Reply Last reply Dec 4, 2023, 4:27 PM Reply Quote 0
                • M Offline
                  Meidlmarkus @sdetweil
                  last edited by Dec 4, 2023, 4:27 PM

                  @sdetweil yeah, so I renamed MMM-Fitbit2, cloned fresh.
                  In the package.json there is no such a line that you mentioned (I guess @Vizulize must have fixed it already)
                  Did npm init, then ./init seemingly went through.
                  With ./auth.sh same thing as before - no dialog showing up.

                  I hope @Vizulize sees it and helps out :-)

                  Thanks
                  Markus

                  S 1 Reply Last reply Dec 4, 2023, 4:54 PM Reply Quote 0
                  • S Offline
                    sdetweil @Meidlmarkus
                    last edited by Dec 4, 2023, 4:54 PM

                    @Meidlmarkus I just checked again
                    https://github.com/m-roberts/MMM-Fitbit2

                    still has those lines

                    don’t see another author choice in google search

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      Meidlmarkus
                      last edited by Dec 4, 2023, 5:12 PM

                      Yes, right.
                      Must have looked into the package.json after doing the npm init - my bad. Did another git clone and it is as you said.

                      Meanwhile it turned out I had pip not installed. After installing pip and running ./init.sh again (after npm init) libraries were installed, and also auth.sh was able to start (only saw it when I called the python script directly rather than from auth.sh)

                      So auth.sh was now able to “Open a Web browser” (at least according to its logs), I just don’t see any dialog.

                      Anyway, will now try init with the modified package.json and see if it makes a difference - will report back.
                      Thanks so far
                      Markus

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 6
                      • 7
                      • 8
                      • 9
                      • 10
                      • 9 / 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