skillfed

aioblescan

Scanning Bluetooth for advertised info with asyncio.

aioblescan v0.2.14 156.2K downloads/30d#10,789 on PyPI127
Permissive license MIT DORMANT released

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 aioblescan

uv

uv add aioblescan

poetry

poetry add aioblescan

Installing 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

License :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Tags

bluetooth ble scanning asyncioble advertisement packet parserbluetooth beacon detectioneddystone ruuvi tag scannerble sensor data extractionbluetooth low energy monitoringhci ble packet listener
bluetooth-bleasynciosensor-data

More Networking packages