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