All Projects → joushx → python-sonicare

joushx / python-sonicare

Licence: MIT license
Python library to communicate with a Phillips Sonicare toothbrush via Bluetooth Low Energy

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to python-sonicare

Bluetooth-ble-beamer-and-scanner-for-tracing-corona-virus-infected-individual
Bluetooth ble beacon beamer and scanner for tracing corona virus infected person similar to Trace Together app
Stars: ✭ 26 (-43.48%)
Mutual labels:  bluetooth, ble, bluetooth-low-energy
py-bluetooth-utils
Python module containing bluetooth utility functions, in particular for easy BLE scanning and advertising
Stars: ✭ 60 (+30.43%)
Mutual labels:  bluetooth, ble, bluetooth-low-energy
Bluetooth
Cross-platform Bluetooth API for Go and TinyGo.
Stars: ✭ 246 (+434.78%)
Mutual labels:  bluetooth, ble, bluetooth-low-energy
H Ble
Android Ble类库,基于回调,暴露搜索、连接、发送、接收、断开连接等接口,无需关心细节操作即可进行Ble通信。
Stars: ✭ 171 (+271.74%)
Mutual labels:  bluetooth, ble, bluetooth-low-energy
theheraldproject.github.io
Herald - Proximity Detection Protocol and research documentation, including the Fair Efficacy Formula
Stars: ✭ 17 (-63.04%)
Mutual labels:  bluetooth, ble, bluetooth-low-energy
Reactivebeacons
Android library scanning BLE beacons nearby with RxJava
Stars: ✭ 171 (+271.74%)
Mutual labels:  bluetooth, ble, bluetooth-low-energy
BLELib
This library contains many of the features you need to interact with BLE peripherals
Stars: ✭ 21 (-54.35%)
Mutual labels:  bluetooth, ble, bluetooth-low-energy
Web Bluetooth Terminal
Progressive Web Application for serial communication with your own Bluetooth Low Energy (Smart) devices
Stars: ✭ 130 (+182.61%)
Mutual labels:  bluetooth, ble, bluetooth-low-energy
SmartSpin2k
Transform your spin bike into a Smart Trainer!
Stars: ✭ 88 (+91.3%)
Mutual labels:  bluetooth, ble, bluetooth-low-energy
daydream-node
Quick Node.js module to connect to the Daydream controller and receive all the data
Stars: ✭ 17 (-63.04%)
Mutual labels:  bluetooth, ble, bluetooth-low-energy
Node Ble
Bluetooth Low Energy (BLE) library written with pure Node.js (no bindings) - baked by Bluez via DBus
Stars: ✭ 159 (+245.65%)
Mutual labels:  bluetooth, ble, bluetooth-low-energy
H.E.L.P.
Home Environment Locating People 🍍
Stars: ✭ 19 (-58.7%)
Mutual labels:  bluetooth, ble, bluetooth-low-energy
Easyble
Android BLE framework
Stars: ✭ 155 (+236.96%)
Mutual labels:  bluetooth, ble, bluetooth-low-energy
Continuity
Apple Continuity Protocol Reverse Engineering and Dissector
Stars: ✭ 180 (+291.3%)
Mutual labels:  bluetooth, ble, bluetooth-low-energy
Ble.net
Cross-platform Bluetooth Low Energy (BLE) library for Android, iOS, and UWP
Stars: ✭ 137 (+197.83%)
Mutual labels:  bluetooth, ble, bluetooth-low-energy
bluetooth-terminal
ES6 class for serial communication with your own Bluetooth Low Energy (Smart) devices
Stars: ✭ 43 (-6.52%)
Mutual labels:  bluetooth, ble, bluetooth-low-energy
Nimble Arduino
A fork of the NimBLE library structured for compilation with Ardruino, designed for use with ESP32.
Stars: ✭ 108 (+134.78%)
Mutual labels:  bluetooth, ble, bluetooth-low-energy
Blueborne Scanner
Bluetooth scanner for local devices that may be vulnerable to Blueborne exploit
Stars: ✭ 125 (+171.74%)
Mutual labels:  bluetooth, ble, bluetooth-low-energy
ble
Bluetooth Low Energy for Linux / macOS
Stars: ✭ 264 (+473.91%)
Mutual labels:  bluetooth, ble, bluetooth-low-energy
ESP32BleAdvertise
Simple library for BLE advertise using ESP32 in Arduino
Stars: ✭ 39 (-15.22%)
Mutual labels:  bluetooth, ble, bluetooth-low-energy

python-sonicare

Python library to communicate with a Phillips Sonicare toothbrush via Bluetooth Low Energy

GUI

python3 -m venv venv
source ./venv/bin/activate
pip install -r requirements.txt
python examples/gui/run.py

Lib

All methods are auto-generated from the services definition (see sonicare/data.py) in the form get_servicename_characteristicname. E.g. Handle Current_Time can be called using get_handle_current_time.

def ready():
    current_time = client.get_handle_current_time(client)
    print(current_time)

client = SonicareClient(mac='<your-mac-address>', ready_callback=lambda: ready())
client.connect()

Methods

Name
get_0008_4420
get_0008_4410
get_0007_4360
get_0007_4330
get_0007_4320
get_0007_4310
get_brush_42c0
get_brush_payload
get_brush_42a6
get_brush_42a4
get_brush_42a2
get_brush_usage
get_brush_lifetime
get_brush_4270
get_brush_4260
get_brush_4254
get_brush_4250
get_brush_date
get_brush_serial
get_brush_4220
get_brush_nfc_version
get_session_40d2
get_session_4100
get_session_4110
get_session_type
get_session_last_id
get_0005_4140
get_0005_gyro_data
get_0005_4120
get_handle_current_time
get_handle_4040
get_handle_4030
get_handle_4022
get_handle_4020
get_handle_state
get_state_state
get_state_strength
get_state_brushing_mode2
get_state_active_time
get_state_brushing_mode
get_state_current_session

Article

https://blog.johannes-mittendorfer.com/artikel/2020/10/my-toothbrush-streams-gyroscope-data

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].