aioblescan
Scanning Bluetooth for advertised info with asyncio.
What it is and what it does
aioblescan is a Python 3 asyncio library that captures and decodes Bluetooth Low Energy advertisement packets at the HCI (Host Controller Interface) level. It runs on Linux systems with Bluetooth hardware and parses incoming BLE broadcasts to extract beacon data, sensor readings (temperature, humidity, battery), and device metadata like MAC addresses and signal strength (RSSI).
You attach a callback function to a BTScanRequester, issue a scan command, and the library delivers parsed packets as they arrive. It includes built-in decoders for several beacon standards—Eddystone (URLs, telemetry, UIDs), RuuviTag weather sensors, ATC_MiThermometer, ThermoBeacon, and Tilt hydrometers—and falls back to raw HCI event dumps for unknown formats. The package is primarily a listening tool; it can also send Eddystone advertisements.
Use it for:
- Monitor RuuviTag or other BLE weather sensors to collect temperature, humidity, and pressure readings from multiple devices.
- Track Eddystone beacons in a space to detect proximity or retrieve embedded URLs and telemetry data.
- Build a Tilt hydrometer monitor to log fermentation temperature and gravity readings over time.
- Scan for generic BLE advertisements to discover nearby devices and inspect raw HCI packet structure for reverse-engineering.
- Integrate BLE scanning into an asyncio application to react to beacon events without blocking.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
aioblescan listens for and parses Bluetooth Low Energy (BLE) advertisement packets using Python's asyncio, extracting beacon data, sensor readings, and device information from the air.
Yes, if you need to listen for BLE advertisements on Linux and are comfortable with dormant maintenance. The package has no runtime dependencies, low install friction, and a stable MIT license. It works well for its narrow scope—parsing standard beacon formats and raw HCI packets—but expect no active bug fixes or feature updates. Verify compatibility with your Python version and Bluetooth hardware before relying on it in production.
Install
aioblescan on PyPI
pip
pip install aioblescanuv
uv add aioblescanpoetry
poetry add aioblescanInstalling aioblescan
Before you install
Installation is straightforward with no runtime dependencies. The package is dormant—last release was 2023-01-07 and last commit 2024-08-13—so expect no active maintenance, though the codebase remains stable for its narrow use case.
License in practice
MIT license permits unrestricted use, modification, and distribution with minimal legal friction.
Quickstart
pip install aioblescan
python3 -m aioblescan
# Or in code:
import asyncio
from aioblescan import BTScanRequester
async def process_packet(packet):
print(packet)
req = BTScanRequester()
req.on_packet(process_packet)
await req.start()
Requires Linux with Bluetooth hardware (HCI socket access); typically needs root or appropriate permissions to access the Bluetooth device.
Verify before relying
- Whether the package works reliably on modern Linux distributions and recent Python 3.10+ versions given the dormant maintenance status.
- Compatibility with contemporary Bluetooth hardware and HCI stack implementations.
- Whether custom beacon formats beyond Eddystone, RuuviWeather, ATC_MiThermometer, ThermoBeacon, and Tilt are actively parseable or require manual raw-packet handling.
Package facts
| License | MIT (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | dormant — 1,315 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 156,232/month — #10,789 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: aioblescan-0.2.14-py3-none-any.whl
Keywords: bluetooth, advertising, hci, ble
Tags
More Networking packages
h11 is a pure-Python HTTP/1.1 protocol…
permissive · top 100 on PyPI
psutilpsutil retrieves real-time information about…
permissive · top 1,000 on PyPI
pyOpenSSLpyOpenSSL wraps OpenSSL's SSL/TLS functionality…
permissive · top 1,000 on PyPI
uvloopuvloop is a drop-in replacement for Python's…
permissive · top 1,000 on PyPI
execnetexecnet lets you spawn and communicate with…
permissive · top 1,000 on PyPI
pyzmqPyZMQ provides Python bindings for ZeroMQ…
permissive · top 1,000 on PyPI
aiobmsbleAsynchronous Python library for querying…
permissive · top 15,000 on PyPI
ibeacon-bleParses and decodes iBeacon BLE (Bluetooth Low…
permissive · top 15,000 on PyPI
bluetooth-data-toolsParses and manipulates Bluetooth Low Energy…
permissive · top 5,000 on PyPI
inkbird-bleParses BLE advertisements from INKBIRD…
permissive · top 15,000 on PyPI
bumbleBumble is a full-featured Bluetooth stack…
permissive · top 15,000 on PyPI
oralb-blePassive parser for Oral-B toothbrush Bluetooth…
permissive · top 15,000 on PyPI
bthome-bleParses and decodes BLE sensor data in the…
permissive · top 15,000 on PyPI
greeneye_monitorParses and processes binary data packets from…
permissive · top 15,000 on PyPI
aioruuvigatewayAn asyncio-native library for fetching data…
unclear · top 15,000 on PyPI
PySwitchbotAsync Python library to discover and control…
permissive · top 15,000 on PyPI