Connect with your FitBit account to get your FitBit accomplishments!

The FitBit is a small device, essentially a pedometer on steroids, that counts your steps and stairs climbed, and uses this information (along with your weight) to calculate your calories burned throughout the day.  The goal of this is to show the user how active they are on that day, and to persuade them to become more active.  FiBit also awards badges to the user depending on how many steps they took (5,000 steps, 10,000 steps, etc) to further motivate the user.  You can pickup a fitbit here

I’ve been using my fitbit for some time now, and realized that the badges reminded me of something in Ubuntu — the Ubuntu Accomplishments!  The only problem was that the FitBit API needs to be authenticated over OAuth.  The answer to that became obvious when I happened to look at the System Settings in Ubuntu and found Online Accounts.  After spending a weekend reading up on Online Accounts and how they work, I started hacking.

The result of this hacking, is the new FitBit account plugin!  You can now authenticate to FitBit through Online Accounts, and use that plugin to check for your awarded badges, and will display them as Ubuntu Accomplishments.  Matt Fischer did a phenomenal job writing the accomplishments, as well as the scripts to check for the badges over the FitBit API.  After installing the fitbit accomplishments collection, you can see all of your badges in the Accomplishment Viewer, seen below.

Some of the badges you can earn in Fitbit Accomplishments Collection















To get these accomplishments, you need to authenticate FitBit first.  To do this , open the Online Accounts from System Settings.  You should see this:

Online Accounts UI

Click on “Add account “, and select FitBit.  This will bring up the FitBit authentication page, which will look like this:

Simply Authenticate with your FitBit email/password, and select “Authorize” . This will complete the process, and allow the Accomplishments system to get all of your fitbit badges!

To get the account plugin, and Fitbit Accomplishments simply run:

P.S.  Be sure to join the Ubuntu Fitbit Group!

Tags: , , ,
| December 7th, 2012 | Posted in Uncategorized |

5 Responses to “Connect with your FitBit account to get your FitBit accomplishments!”

  1. FitBit trophies as a milestone for Ubuntu Accomplishments « Rafał Cieślak's blog Says:

    [...] You may have heard about FitBit badges support in Ubuntu Accomplishments system. Matt Fisher and Chris Wayne have written a new collection of accomplishments which pulls in your FitBit badges to other trophies. You can learn more about what awesome work they did by reading their articles [Matt] [Chris]. [...]

  2. Ubuntu Accomplishments 13.04 Update | jonobacon@home Says:

    [...] authenticate with your Fitbit account and then you are good to go. Read more about this from Matt, from Chris, and from [...]

  3. Jamie King Says:

    Hello, really hoping to get this working but after following the steps above I’m getting the following error:

    Package account-plugin-fitbit is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source

    E: Package ‘account-plugin-fitbit’ has no installation candidate

  4. Mary Says:

    I love my FitBit! It’s amazing :)

  5. Raybo Says:

    Chris, I’m running Mint 15 (Olivia/Raring) and am looking for the executable for “accomplishments” and cannot find one. Since I am not running Unity I don’t see a launcher or icon. Any help would be appreciated.

    Thanks for providing this application!

Leave a Reply