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.3.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.3.tar.gz.
File metadata
- Download URL: sok_ble-0.1.3.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 |
8118be24c0e4447716a98035908c864acd9140129f0b7385930da45b16ff8d0b
|
|
| MD5 |
6ac238b71c9cb0c77faada4fd681e584
|
|
| BLAKE2b-256 |
c467d9f2a97ef2cd11023719d7a531cff13df830f77db532de192739905ad396
|
File details
Details for the file sok_ble-0.1.3-py3-none-any.whl.
File metadata
- Download URL: sok_ble-0.1.3-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 |
6898089d52c52958b46e6256ecffc688c989d262e0665b46871926d18f0c3187
|
|
| MD5 |
44c08812dd4529256aae7f4c5e3e7c70
|
|
| BLAKE2b-256 |
01dfdc18b0ed8c9596bb8708a053c6c47816a1b40bb0dad170780d71cec11bf0
|