All Projects → kariudo → onewheel-bluetooth

kariudo / onewheel-bluetooth

Licence: other
A python bluetooth data reader for the Onewheel (supporting Gemini firmware, and later).

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to onewheel-bluetooth

GATT
Bluetooth Generic Attribute Profile (GATT) for Swift (Supports Linux)
Stars: ✭ 48 (+71.43%)
Mutual labels:  bluetooth, gatt
coBlue
Use Bluetooth Low Energy for remote commands, file transfer, Based on bluez Bluetooth protocol stack (BLE Terminal)
Stars: ✭ 41 (+46.43%)
Mutual labels:  bluetooth, gatt
bluetooth-gatt-parser
Bluetooth GATT service and characteristic parser
Stars: ✭ 61 (+117.86%)
Mutual labels:  bluetooth, gatt
ble2mqtt
A BLE to MQTT bridge
Stars: ✭ 60 (+114.29%)
Mutual labels:  bluetooth, gatt
bluetooth-manager
Java Bluetooth Manager. A library/framework for managing bluetooth adapters, bluetooth devices, GATT services and characteristics
Stars: ✭ 75 (+167.86%)
Mutual labels:  bluetooth, gatt
Esp32 Ble Mouse
Bluetooth LE Mouse library for the ESP32 (Arduino IDE compatible)
Stars: ✭ 180 (+542.86%)
Mutual labels:  bluetooth
Python Bluezero
A simple Python interface to Bluez
Stars: ✭ 222 (+692.86%)
Mutual labels:  bluetooth
Sbfspot
Yet another tool to read power production of SMA® solar/battery inverters
Stars: ✭ 178 (+535.71%)
Mutual labels:  bluetooth
Bluetooth Library
Bluetooth client library for Android.
Stars: ✭ 172 (+514.29%)
Mutual labels:  bluetooth
Pedalino
Smart wireless MIDI foot controller for guitarists and more.
Stars: ✭ 105 (+275%)
Mutual labels:  bluetooth
Network
C# Network Library
Stars: ✭ 237 (+746.43%)
Mutual labels:  bluetooth
Radareeye
A tool made for specially scanning nearby devices[BLE, Bluetooth & Wifi] and execute our given command on our system when the target device comes in-between range.
Stars: ✭ 218 (+678.57%)
Mutual labels:  bluetooth
Nrf Hal
A Rust HAL for the nRF family of devices
Stars: ✭ 186 (+564.29%)
Mutual labels:  bluetooth
Printooth
A well documented, high-level Android interface that makes printing via bluetooth printers easier
Stars: ✭ 231 (+725%)
Mutual labels:  bluetooth
Continuity
Apple Continuity Protocol Reverse Engineering and Dissector
Stars: ✭ 180 (+542.86%)
Mutual labels:  bluetooth
Esp32marauder
A suite of WiFi/Bluetooth offensive and defensive tools for the ESP32
Stars: ✭ 233 (+732.14%)
Mutual labels:  bluetooth
Arduino Cmdmessenger
CmdMessenger Communication library for Arduino & .NET
Stars: ✭ 175 (+525%)
Mutual labels:  bluetooth
Keymapper
📱 An Android app that maps any keys to actions.
Stars: ✭ 207 (+639.29%)
Mutual labels:  bluetooth
Ledger Live Mobile
Ledger Live (Mobile)
Stars: ✭ 235 (+739.29%)
Mutual labels:  bluetooth
Bluescan
A powerful Bluetooth scanner
Stars: ✭ 206 (+635.71%)
Mutual labels:  bluetooth

onewheel-bluetooth

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

The backend library for bluetooth/gatt interaction is rewritten now with bleak due to a deprecation/lack of ownership of pygatt.

Requirements

Python 3 is required, and the dependencies are included in the requirements.txt.

> pip install -r requirements.txt

Usage

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

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

You can include -v to get all of the verbose debug output as well.

You should get output like the following:

INFO:root:Battery Remaining: 79%
INFO:root:Lifetime Odometer: 258 Miles
INFO:root:Trip Odometer: 0 Miles

Credits

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].