Skip to main content

Utility to securely synchronize a Fitbit tracker with the Fitbit server

Project description

Author:

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

Version:
0.5.1
license:

LGPLv3+

bug tracker:

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

mailing list:

galileo@freelists.org (subscribe, archive)

build status:

droneio_badge

Introduction

Galileo is a Python utility to securely synchronize a Fitbit device with the Fitbit web service. It allows you to browse your data on their website, and compatible applications.

All Bluetooth-based trackers are supported. Those are:

  • Fitbit One

  • Fitbit Zip

  • Fitbit Flex

  • Fitbit Force

  • Fitbit Charge

  • Fitbit Charge HR

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.

Main features

  • Synchronize your fitbit tracker with the fitbit server using the provided dongle.

  • Securely communicate (using HTTPS) with the fitbit server.

  • Save all your dumps locally for possible later analyse.

Installation

The easy way

$ pip install galileo
$ galileo

Distribution packages

The following Linux distributions have packages available for installation:

Arch:

The utility is available from AUR. You can install it using the yaourt package manager: yaourt -S galileo.

Fedora:

The utility is packaged in a COPR repo. Download the relevant repo for your version of Fedora, and then yum install galileo.

Gentoo:

The utility is packaged as app-misc/galileo within the squeezebox overlay. See https://wiki.gentoo.org/wiki/Layman for details of how to use Gentoo overlays.

Debian:

galileo is now officially part of the sid distribution.

Ubuntu:

The utility is available over the ppa ppa:cwayne18/fitbit. Use the following commands to install it and start the daemon:

sudo add-apt-repository ppa:cwayne18/fitbit
sudo apt-get update && sudo apt-get install galileo
start galileo

The more complicated way

First, you need to clone this repository locally, and install the required dependencies:

pyusb:

Need at least a 1.0 version, 0.4 and earlier are not compatible. Please use a tagged release as development version might contains bug or interface breakage.

requests:

Newer versions (2.x) preferred, although older should also work.

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 the run script located at the root of this repository.

If your system uses systemd then there is an example unit file in the contrib directory that you may wish to customize.

Documentation

For the moment, this README (and the --help command line option) is the main documentation we have. The wiki is meant to gather technical information about the project like the communication protocol, or the format of the dump. Once this information reached a suffficient level of maturation, the goal is to integrate it into the project documentation. So head-on there, and start sharing your findings !

Manual pages for the galileo(1) utility and the galileorc(5) configuration file are provided within the doc directory.

Acknowledgements

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

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

Disclaimer

Fitbit is a registered trademark and service mark of Fitbit, Inc. galileo is designed for use with the Fitbit platform. This product is not put out by Fitbit, and Fitbit does not service or warrant the functionality of this product.

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.5.1.tar.gz (28.4 kB view details)

Uploaded Source

File details

Details for the file galileo-0.5.1.tar.gz.

File metadata

  • Download URL: galileo-0.5.1.tar.gz
  • Upload date:
  • Size: 28.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for galileo-0.5.1.tar.gz
Algorithm Hash digest
SHA256 5eaebb6de0aad6ccd8e5666a614e9c8b462bc439273f56ea3e00e1768d7930ed
MD5 664fd59c614e44233fffb7706cf3b291
BLAKE2b-256 67d7142c91687d1139ad579dd2ea7688b365c62380b8f530c0fbc3401ed77b42

See more details on using hashes here.

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