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.3.1
license:

LGPL

bug tracker:

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

mailing list:

galileo@freelists.org (subscribe, archive)

Introduction

This is a Python utility to synchronize a Fitbit device with the Fitbit web service. 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 utility is mainly targeted at Linux because Fitbit does not provide any Linux-compatible software but, as Python is cross-platform and the libraries used are available on a broad variety of platforms, it should not be too difficult to port it to other platforms.

Installation

The easy way

$ pip install galileo
$ galileo

The more complicated way

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 99-fitbit.rules to the directory /etc/udev/rules.d in order to be able to run the utility as a non-root user.

Don’t forget to:

  • restart the udev service: sudo service udev restart

  • unplug and re-insert the dongle to activate the new rule.

Then simply run galileo.py.

Example

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

Run the utility with the --help argument to see a list of available options to control the synchronization behavior.

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.3.1.tar.gz (8.5 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