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.

    Fitbit

    Scheduled Pinned Locked Moved Troubleshooting
    129 Posts 42 Posters 185.3k Views 37 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.
    • O Offline
      olliewarren411 @Hellangel1987
      last edited by olliewarren411

      @Hellangel1987

      Looks like you’re using the wrong quote marks around elements, you’re using ‘ try using ’

      There is a difference.

      or use the code below; I’ve tested it working.

      @Hellangel1987

      Looks like you’re using the wrong quote marks around elements, you’re using ‘ try using ’

      There is a difference.

      or use the code attached; I’ve tested it working.

      0_1471976763018_config.txt

      H 1 Reply Last reply Reply Quote 0
      • P Offline
        plumcraft
        last edited by paviro

        Thanks for publishing this module but i got some issues with it.

        When i’m running sudo python setupAccess.py and put my client and secret it, the script looks frozen. (Same behaviour after multiple retries)

        Anyone having the same issue ?

        I don’t know why, i’ve followed instructions here :
        https://github.com/SVendittelli/MMM-fitbit

        1 Reply Last reply Reply Quote 0
        • H Offline
          Hellangel1987 @olliewarren411
          last edited by

          @olliewarren411

          good job buddy now it works but i dont get any numbers :(

          alt text

          O 1 Reply Last reply Reply Quote 0
          • O Offline
            olliewarren411 @Hellangel1987
            last edited by olliewarren411

            @Hellangel1987
            No Problem.

            When you run #sudo python setupAccess.py# on the python directory inside the MMM-fitbit folder does it redirect you to log into you fitbit account in an internet browser?

            Also what fitbit model are you using? I tried this with a fitbit alta and it didn’t work. Then I tried with my fitbit ChargeHR and it works perfect* see attached. I changed the CSS to display vertically.
            0_1471979871787_IMG_4570.JPG

            *i say it works perfect i just need a way to keep the connection to my fitbit account over a long period of time without having to re-run sudo python setupAccess.py on the python directory once a day.

            H T 2 Replies Last reply Reply Quote 0
            • H Offline
              Hellangel1987 @olliewarren411
              last edited by

              @olliewarren411

              Im using The Fitbit Charge HR

              O 1 Reply Last reply Reply Quote 0
              • O Offline
                olliewarren411 @Hellangel1987
                last edited by

                @Hellangel1987
                When you run #sudo python setupAccess.py# on the python directory inside the MMM-fitbit folder does it redirect you to log into you fitbit account in an internet browser?

                1 Reply Last reply Reply Quote 0
                • H Offline
                  Hellangel1987
                  last edited by

                  @olliewarren411

                  yepp works perfect. i have the token and autorized that app in browser.
                  after that i startet mirror with sudo npm start. but only zero numbers are shown :(

                  Did i have to do this once a day? Any cronjob for that ?

                  O 1 Reply Last reply Reply Quote 0
                  • O Offline
                    olliewarren411 @Hellangel1987
                    last edited by

                    @Hellangel1987

                    Sorry I’m out of ideas then.

                    Cronjob? I’m pretty new to this.

                    1 Reply Last reply Reply Quote 0
                    • H Offline
                      Hellangel1987
                      last edited by

                      @olliewarren411 can you describe your steps and your configs ? i think there is any missconfiguration in my credentials config i think soo.

                      O 1 Reply Last reply Reply Quote 0
                      • O Offline
                        olliewarren411 @Hellangel1987
                        last edited by

                        @Hellangel1987

                        I cant easily explain as I had to play around a lot to get it to work… and then it just did.

                        When setting up your app on the fitbit website did you get the below steps?

                        Check browser and personal for OAuth settings
                        Callback URL MUST BE http://127.0.0.1:8080/
                        Give your app read & write permissions (read-only untested)

                        I could not set the Personal and OAuth settings until I got my personal URL wrong. When the page reloaded these two extra options appeared.

                        H 2 Replies Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 12
                        • 13
                        • 4 / 13
                        • 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