Utility to synchronize a Fitbit tracker with the Fitbit server
Project description
- Version:
- 0.3
- license:
LGPL
- bug tracker:
- mailing list:
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.