bleak-esphome
Bleak backend of ESPHome
What it is and what it does
bleak-esphome is a Bleak backend library that extends Bluetooth Low Energy support to remote devices by proxying BLE connections through an ESP32 microcontroller running ESPHome's Bluetooth Proxy component. Instead of requiring a local Bluetooth adapter, your Python application communicates with a remote ESP32 over the network, which handles the actual BLE radio operations. This is useful when your host machine lacks Bluetooth hardware or when you want to centralize BLE connectivity across a network.
The library sits between your application and the ESPHome device, translating Bleak's standard BLE API calls into network requests to the Bluetooth Proxy firmware. It depends on aioesphomeapi for device communication, bleak for the core BLE interface, and several supporting libraries for data handling and connection resilience. The package is in pre-alpha status but actively maintained, with support for Python 3.11 through 3.14 across Windows, macOS, and Linux platforms.
Use it for:
- Home Assistant add-ons or integrations that need to discover and control BLE devices without local Bluetooth hardware.
- Headless servers or cloud instances that centralize BLE device management through a remote ESP32 proxy.
- Multi-device BLE applications where a single ESP32 acts as a shared Bluetooth gateway for several host machines.
- Testing BLE applications on systems without native Bluetooth support by routing through a networked ESP32.
- IoT setups where BLE peripherals are physically distant from the main application host.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides a Bleak backend that proxies Bluetooth Low Energy connections through an ESP32 running ESPHome's Bluetooth Proxy component, allowing Python applications to discover and connect to BLE peripherals via a remote adapter.
Yes, if you have an ESP32 running ESPHome Bluetooth Proxy and need remote BLE connectivity from Python. The package is actively maintained, has no known vulnerabilities, and uses a permissive MIT license. Pre-alpha status means the API may change, so pin the version in production. Medium install friction is acceptable for the capability it provides.
Install
bleak-esphome on PyPI
pip
pip install bleak-esphomeuv
uv add bleak-esphomepoetry
poetry add bleak-esphomeInstalling bleak-esphome
Before you install
Medium install friction due to compiled wheels across multiple platforms and Python versions (3.11–3.14). Active maintenance with a recent release 39 days ago and ongoing commits. Six runtime dependencies including bleak and aioesphomeapi add some complexity.
License in practice
MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions, making it suitable for both open-source and proprietary projects.
Quickstart
pip install bleak-esphome
import bleak_esphome
# Use as a Bleak backend to discover BLE devices through ESPHome Bluetooth Proxy
# Requires an ESP32 running ESPHome with Bluetooth Proxy component configured
Requires Python 3.11 or later; also requires a running ESP32 device with ESPHome Bluetooth Proxy firmware installed and network connectivity to that device.
Verify before relying
- Whether the package works with all ESPHome versions or has specific firmware version requirements.
- Performance characteristics when proxying multiple simultaneous BLE connections.
- Network latency impact on BLE operations compared to local adapters.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.11) |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | 6 — aioesphomeapi, bleak, bleak-retry-connector, bluetooth-data-tools, habluetooth, lru-dict |
| Maintenance | actively maintained — 39 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 217,759/month — #9,352 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: bleak_esphome-3.9.7-cp311-cp311-macosx_10_9_x86_64.whl; bleak_esphome-3.9.7-cp311-cp311-macosx_11_0_arm64.whl; bleak_esphome-3.9.7-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl; bleak_esphome-3.9.7-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl; bleak_esphome-3.9.7-cp311-cp311-musllinux_1_2_aarch64.whl; bleak_esphome-3.9.7-cp311-cp311-musllinux_1_2_x86_64.whl; bleak_esphome-3.9.7-cp311-cp311-win32.whl; bleak_esphome-3.9.7-cp311-cp311-win_amd64.whl; bleak_esphome-3.9.7-cp312-cp312-macosx_10_13_x86_64.whl; bleak_esphome-3.9.7-cp312-cp312-macosx_11_0_arm64.whl; bleak_esphome-3.9.7-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl; bleak_esphome-3.9.7-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl; bleak_esphome-3.9.7-cp312-cp312-musllinux_1_2_aarch64.whl; bleak_esphome-3.9.7-cp312-cp312-musllinux_1_2_x86_64.whl; bleak_esphome-3.9.7-cp312-cp312-win32.whl; bleak_esphome-3.9.7-cp312-cp312-win_amd64.whl; bleak_esphome-3.9.7-cp313-cp313-macosx_10_13_x86_64.whl; bleak_esphome-3.9.7-cp313-cp313-macosx_11_0_arm64.whl; bleak_esphome-3.9.7-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl; bleak_esphome-3.9.7-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.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
bleakBleak is an async Python client for connecting…
permissive · top 5,000 on PyPI
bleak-retry-connectorWraps Bleak's Bluetooth client with automatic…
permissive · top 5,000 on PyPI
govee-bleProvides Python bindings to discover, connect…
permissive · top 15,000 on PyPI
simplepybleSimplePyBLE provides cross-platform Bluetooth…
noncommercial · top 15,000 on PyPI
bumbleBumble is a full-featured Bluetooth stack…
permissive · top 15,000 on PyPI
kegtron-bleProvides Bluetooth Low Energy (BLE) support for…
permissive · top 15,000 on PyPI
matter-ble-proxyA Python client library that bridges BLE…
permissive · top 15,000 on PyPI
ibeacon-bleParses and decodes iBeacon BLE (Bluetooth Low…
permissive · top 15,000 on PyPI
habluetoothProvides high-availability Bluetooth…
permissive · top 5,000 on PyPI
xiaomi-bleManages Xiaomi BLE (Bluetooth Low Energy)…
permissive · top 15,000 on PyPI