Skip to main content

Utility to synchronize a Fitbit tracker with the Fitbit server

Project description

Author:

Benoît Allard <benoit.allard@gmx.de>

Version:
0.2
license:

LGPL

bug tracker:

https://bitbucket.org/benallard/galileo/issues

Introduction

This is a python script to synchronise a Fitbit device with the fitbit server. It allows you to browse your data on their website, and their apps.

All bluetooth based trackers are supported. Those are :

  • Fitbit One

  • Fitbit Zip

  • Fitbit Flex

  • Fitbit Force (?)

This is mainly targetted at Linux as fitbit does not provide software to synchronize their device there. But as python is cross-platform and the used libraries are available on a broad variety of platform also, it should not be too difficult to port it to other platforms.

Installation

First, you need to clone this repository locally, (or download the galileo.py script to you local machine), and install the required dependencies:

  • pyusb (tested with 1.0.0b1)

  • requests (tested with 2.0.1)

You should copy the file 50-fitbit.rules in the directory /etc/udev/rules.d in order to be able to run the script as a normal user.

Don’t forget to:

  • replace my username (ben) with yours.

  • restart the udev service: sudo service udev restart

  • unplug and replug the dongle to activate the new rule.

Then simply run the galileo.py script.

Example

An example trace can be found in the file trace.txt.

Acknowledgements

Special thanks to the folks present @ the issue 46 of libfitbit.

Especialy to sansneural for https://docs.google.com/file/d/0BwJmJQV9_KRcSE0ySGxkbG1PbVE/edit and Ingo Lütkebohle for http://pastebin.com/KZS2inpq.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

galileo-0.2.tar.gz (6.0 kB view hashes)

Uploaded Source

Built Distributions

galileo-0.2-py2.7.egg (12.3 kB view hashes)

Uploaded Source

galileo-0.2-py2.6.egg (12.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page