SOK BLE battery interface library
Project description
SOK BLE
Python library for interacting with SOK Bluetooth-enabled batteries.
Quick Start
import asyncio
from bleak import BleakScanner
from sok_ble.sok_bluetooth_device import SokBluetoothDevice
async def main() -> None:
device = await BleakScanner.find_device_by_address("AA:BB:CC:DD:EE:FF")
sok = SokBluetoothDevice(device)
await sok.async_update()
print("Voltage:", sok.voltage)
asyncio.run(main())
References
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.
Source Distribution
sok_ble-0.1.5.tar.gz
(43.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
sok_ble-0.1.5-py3-none-any.whl
(10.2 kB
view details)
File details
Details for the file sok_ble-0.1.5.tar.gz.
File metadata
- Download URL: sok_ble-0.1.5.tar.gz
- Upload date:
- Size: 43.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.7.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1aa244a02cb33d086daa51c76b70e93328d2abf761a14ff1f44dc14a4dc166a0
|
|
| MD5 |
da92c7f48cb7c1729cb13e1e02c990a9
|
|
| BLAKE2b-256 |
60a55a0df76de104a151502822d740d2e658478f5648dbda49f7209bdbced92f
|
File details
Details for the file sok_ble-0.1.5-py3-none-any.whl.
File metadata
- Download URL: sok_ble-0.1.5-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.7.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
484c5df20c107805acf3fea8356c3ed572d66c333ff389320df6b0de506ecc98
|
|
| MD5 |
7cd2486c7ba0464f78f4b07ea06617de
|
|
| BLAKE2b-256 |
760439203f21dbedb60caadbb622d6e2800dd9efa2ba309b6d6b989e7d15b37a
|