skillfed

bleak-esphome

Bleak backend of ESPHome

bleak-esphome v3.9.7 217.8K downloads/30d#9,352 on PyPI9
Permissive license MIT Active released

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-esphome

uv

uv add bleak-esphome

poetry

poetry add bleak-esphome

Installing 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

Development Status :: 2 - Pre-AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: Libraries

Tags

bluetooth low energy proxy esp32bleak backend esphomeremote ble adapterbluetooth proxy clientble peripheral discovery remoteesphome bluetooth connectivityble over network
bluetooth-proxyesphome-integrationiot

More Libraries packages