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())
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.0.tar.gz
(6.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.0.tar.gz.
File metadata
- Download URL: sok_ble-0.1.0.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ed2f6cdec04ee6458c84a5cac2f4d5ceefc49593451f5592387367c54ba5ec7
|
|
| MD5 |
24363a2515691bc8e2addb3bd06c8e9e
|
|
| BLAKE2b-256 |
fd1d1487d95501d0ca55f3447b31500c6c61b2b96e797703322f0c83e8b18bc6
|
File details
Details for the file sok_ble-0.1.0-py3-none-any.whl.
File metadata
- Download URL: sok_ble-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5213d8f33a5cd0efd4d7ebdbb726a5052600f446d1db38c838d7174a1d7b8748
|
|
| MD5 |
03e53233297a15ecc80e08e5466ae97f
|
|
| BLAKE2b-256 |
fbe0ea788b87415724811c7aba5fc3b0fced3d1d3f8948d869dc10327263ba5f
|