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.4.tar.gz
(7.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
File details
Details for the file sok_ble-0.1.4.tar.gz.
File metadata
- Download URL: sok_ble-0.1.4.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.7.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ec8cabc48261ef540d4563c800afb1ce11c81657a8448ae677230a9b5be7010
|
|
| MD5 |
f03233fa045b0d4ba67305ab24a5d750
|
|
| BLAKE2b-256 |
f9bad3cec8d9f5073f52851d114625ecc9c17214d68ef4948dd0834bfcc89e25
|
File details
Details for the file sok_ble-0.1.4-py3-none-any.whl.
File metadata
- Download URL: sok_ble-0.1.4-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.7.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e74fbfdcdffcc25b8e558a779b7d91a658f24d4de2461dbc20198ae9921e874
|
|
| MD5 |
9c685402a38dc69eda462a057c6a1c64
|
|
| BLAKE2b-256 |
53b9405e8c2157dd12b71d67eba348cf1c1381d29f582a6100e8c9b9f3640aa6
|