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.2.tar.gz
(7.4 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
File details
Details for the file sok_ble-0.1.2.tar.gz.
File metadata
- Download URL: sok_ble-0.1.2.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.7.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4099039d4ff7879856becacab915f6be17169ede0b4a94b9278ba3e0a4ee8e51
|
|
| MD5 |
ce5411e6ad32379f5bee5473b5b4e142
|
|
| BLAKE2b-256 |
70f674fbd20ca17546efd2ca7a5a3129667dd81f89fb626abc4d99e19780aef1
|
File details
Details for the file sok_ble-0.1.2-py3-none-any.whl.
File metadata
- Download URL: sok_ble-0.1.2-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.7.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aae4f4a0c2da37ca0a8acb6cc5906ad196c69d9c49017c8071ed697966c87a21
|
|
| MD5 |
21a5f9c6d61d3a0ef320b6a3a98b7d2d
|
|
| BLAKE2b-256 |
7ef4d6354347afcfda0f8b6082f68e0b7637c9e82bfd0de829fe7469e1f5db3e
|