bluetooth-auto-recovery
Recover bluetooth adapters that are in an stuck state
What it is and what it does
Bluetooth Auto Recovery is a utility library that detects when Bluetooth adapters have become stuck and restores them to working state. It originated from recovery logic in the ble_monitor project and wraps platform-level Bluetooth adapter management to handle edge cases where adapters stop responding.
The package is designed for developers building Bluetooth-dependent applications who need resilience against adapter hangs. It depends on PyRIC, bluetooth-adapters, btsocket, usb-devices, and async-timeout to interact with the system's Bluetooth stack. The library is pre-alpha and actively maintained, supporting Python 3.10 through 3.14.
Use it for:
- Recover stuck Bluetooth adapters in long-running IoT applications
- Automatically restore connectivity in BLE monitoring systems that lose adapter responsiveness
- Handle adapter hangs in Bluetooth multi-device applications without manual restart
- Integrate adapter health checks into Bluetooth device discovery pipelines
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Detects and recovers Bluetooth adapters that have entered a stuck or unresponsive state, restoring connectivity without manual intervention.
Yes, if you are building a Bluetooth application that needs resilience against adapter hangs. The package is actively maintained, has low install friction, carries a permissive MIT license, and addresses a real pain point in Bluetooth development. Pre-alpha status means the API may change, but the maintenance signal is solid and there are no known vulnerabilities.
Install
bluetooth-auto-recovery on PyPI
pip
pip install bluetooth-auto-recoveryuv
uv add bluetooth-auto-recoverypoetry
poetry add bluetooth-auto-recoveryInstalling bluetooth-auto-recovery
Before you install
Low friction install with a pure-Python wheel. Actively maintained as of August 2026 with recent releases. Depends on five runtime packages including PyRIC and bluetooth-adapters.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions—suitable for most projects.
Quickstart
pip install bluetooth-auto-recovery
import bluetooth_auto_recovery
# Use the recovery utilities to detect and restore stuck adapters
Requires Python 3.10 or later.
Verify before relying
- Specific API surface and which recovery methods are exposed for direct use
- Whether recovery is automatic on import or requires explicit function calls
- System-level permissions and platform-specific requirements for adapter interaction
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 5 — PyRIC, async-timeout, bluetooth-adapters, btsocket, usb-devices |
| Maintenance | actively maintained — 81 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 689,233/month — #5,338 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: bluetooth_auto_recovery-1.6.4-py3-none-any.whl
Tags
More Libraries packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
python-dateutilProvides parsing, arithmetic, and recurrence…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
bluetooth-adaptersEnumerates and locates Bluetooth adapters on a…
permissive · top 15,000 on PyPI
habluetoothProvides high-availability Bluetooth…
permissive · top 5,000 on PyPI
bluetooth-sensor-state-dataProvides data models for parsing, storing, and…
permissive · top 15,000 on PyPI
ibeacon-bleParses and decodes iBeacon BLE (Bluetooth Low…
permissive · top 15,000 on PyPI
bluezooBlueZoo is a mock BlueZ D-Bus API service that…
copyleft · top 15,000 on PyPI
govee-bleProvides Python bindings to discover, connect…
permissive · top 15,000 on PyPI
bthome-bleParses and decodes BLE sensor data in the…
permissive · top 15,000 on PyPI
kegtron-bleProvides Bluetooth Low Energy (BLE) support for…
permissive · top 15,000 on PyPI
xiaomi-bleManages Xiaomi BLE (Bluetooth Low Energy)…
permissive · top 15,000 on PyPI
yalexs-bleProvides Bluetooth control of Yale and August…
copyleft · top 15,000 on PyPI