GithubHelp home page GithubHelp logo

rbrune / fuelband-usb Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 3.0 15 KB

Python script to access the "Nike+ FuelBand" via the USB HID interface

License: GNU General Public License v3.0

Python 100.00%

fuelband-usb's Introduction

Fuelband USB interface

Python script to access the "Nike+ FuelBand" (non SE version) via USB HID. The protocol was reverse engineered from observing USB traffic between the Mac Nike+ application and the device as well as probing the interface.

Currently only some status variables and the system log of the device are read out. Reading out activity/movement data is not yet supported. To see how to access the stored activity data check out the example Android app: https://github.com/rbrune/Fuelbandsync The Bluetooth and USB protocol are the same as the Bluetooth chip opens up a channel to the main CPU to pass through all commands.

Requirements

https://github.com/trezor/cython-hidapi

Example usage

If the fuelband is not found by the script check if it shows up in your listing of usb devices. If not try plugging it in while pushing down the fuelband button.

python fuelband-usb.py status
python fuelband-usb.py log

TODO

  • finish read out of activity data
  • implement initial device setup
  • finish up flash memory dump functions
  • finish up device firmware upgrade routines

fuelband-usb's People

Contributors

rbrune avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.