Skip to content

A python bluetooth data reader for the Onewheel (supporting Gemini firmware)

Notifications You must be signed in to change notification settings

Tbruno25/onewheel-bluetooth

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

onewheel-bluetooth

A python bluetooth data reader for the Onewheel (supporting Gemini firmware). This is meant to be a quick and dirty example of how to connect and obtain data from the board.

Usage

Just run it with your board's address as the first paramater:

python3 readdata.py XX:XX:XX:XX:XX:XX

You should get output like the following:

Requesting encryption key...
Waiting for encryption key...
Sending unlock key...
Reading Onewheel status:
Battery Remaining: 100%
Lifetime Odometer: 57 Miles
Trip Odometer: 0 Miles

Credits

Thanks to @beeradmoore for figuring out the md5 chunks for the serial stream reasponse via the ponewheel issue: ponewheel/android-ponewheel#86 (comment)

About

A python bluetooth data reader for the Onewheel (supporting Gemini firmware)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%