Pure-Python BLE library for the iGPSPORT iGS10S cycling computer (presence, battery, device info)
Project description
python-igps-ble
Pure-Python BLE library for the iGPSPORT iGS10S cycling computer.
Reads, over standard Bluetooth Low Energy, what the device exposes to
third parties: presence, battery level, and device info
(model / firmware / manufacturer). The proprietary .fit sync used by the
official iGPSPORT app is out of scope (see ha-igps-ble/docs/PROTOCOL.md).
Built to back the
ha-igps-bleHome Assistant integration, but usable standalone.
Install
pip install python-igps-ble
CLI
igps-ble scan # procura aparelhos iGPSPORT por perto
igps-ble info AA:BB:CC:DD:EE:FF # bateria + device-info
Uso programático
import asyncio
from igps_ble import IGPSDeviceState
from igps_ble.scanner import discover_devices
from igps_ble.client import IGPSClient
async def main():
for dev in await discover_devices(timeout=10):
state: IGPSDeviceState = await IGPSClient(dev.address, dev.name).async_read_state()
print(state)
asyncio.run(main())
Escopo
| Dado | Suportado | Fonte |
|---|---|---|
| Presença | ✅ | advertisement BLE |
| Bateria % | ✅* | Battery Service 0x180F |
| Modelo / firmware | ✅* | Device Information 0x180A |
| Velocidade / distância / pedalada | ❌ | sync proprietário (não exposto por BLE) |
* depende de o iGS10S expor o serviço SIG correspondente — confirmado por recon.
Desenvolvimento
python -m venv .venv && .venv/bin/pip install -e ".[dev]"
.venv/bin/pytest
Licença
MIT
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
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 python_igps_ble-0.1.0.tar.gz.
File metadata
- Download URL: python_igps_ble-0.1.0.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8944cbdef683610195d44395ae9da0cec8ebcfdf1cdddffc866ffedd2782aadc
|
|
| MD5 |
b6811edf34f5f176f04a0b7eb8c59d12
|
|
| BLAKE2b-256 |
8cb359e392f28287ed3d162e230c984d196277e8f98d18e4796baecda2ae9c97
|
File details
Details for the file python_igps_ble-0.1.0-py3-none-any.whl.
File metadata
- Download URL: python_igps_ble-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
035b485f9c7cdcd09d505f98779b7960875b460ea8707a5a978b64e96437a753
|
|
| MD5 |
0b504a4bf6c00563dc87c70ad3bf3388
|
|
| BLAKE2b-256 |
ab66094c123a80101576651d8053f1a86926a0669b67cd60244a5cf500714c35
|