Skip to main content

Utility to synchronize a Fitbit tracker with the Fitbit server

Project description

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

Note

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.

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


Release history Release notifications

History Node

0.5.1

History Node

0.5

History Node

0.4.4

History Node

0.4.3

History Node

0.4.2

History Node

0.4.1

History Node

0.4

History Node

0.3.1

History Node

0.3

This version
History Node

0.2

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