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.8.tar.gz
(44.7 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.8-py3-none-any.whl
(10.3 kB
view details)
File details
Details for the file sok_ble-0.1.8.tar.gz.
File metadata
- Download URL: sok_ble-0.1.8.tar.gz
- Upload date:
- Size: 44.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.8.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82b39060f568be306ba569572b9dd8e7b6bb3da19f38b9c179e92bb5a5f4e0c4
|
|
| MD5 |
0d1eb9a672b471677a7605f952f837a3
|
|
| BLAKE2b-256 |
5b0acccdddbb5f02af72311d550345a258835dc826ff5a4e846b6cb6f23d9e43
|
File details
Details for the file sok_ble-0.1.8-py3-none-any.whl.
File metadata
- Download URL: sok_ble-0.1.8-py3-none-any.whl
- Upload date:
- Size: 10.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.8.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97ebd3de3f9b5866bb4a3e6c3e67a4d0c9790921bed5fca775538080ad3acffd
|
|
| MD5 |
2eec253d95c484332f11031aa2464175
|
|
| BLAKE2b-256 |
2c79c2a386f263b3073b4f55d0f27125dea145949f0bdd8f82f863871a2c6bd5
|