Skip to main content

Utility to synchronize a Fitbit tracker with the Fitbit server

Project description


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 (?)


The Fitbit Ultra tracker is not supported as it communicates using the ANT protocol. To synchronize it, please use libfitbit.

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.


First, you need to clone this repository locally, (or download the 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 script.


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


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

Especialy to sansneural for and Ingo Lütkebohle for

Project details

Release history Release notifications

History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


This version
History Node


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
galileo-0.2-py2.6.egg (12.4 kB) Copy SHA256 hash SHA256 Egg 2.6 Jan 16, 2014
galileo-0.2-py2.7.egg (12.3 kB) Copy SHA256 hash SHA256 Egg 2.7 Jan 16, 2014
galileo-0.2.tar.gz (6.0 kB) Copy SHA256 hash SHA256 Source None Jan 16, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page