matter-ble-proxy
Python client library for the OHF Matter Server BLE proxy protocol
What it is and what it does
matter-ble-proxy is a Python client library that implements the OHF Matter Server's BLE proxy protocol, enabling a Matter Server running on a host without a BLE adapter to delegate Bluetooth operations to a separate process or device. It sits between a local BLE source and a remote Matter Server's `/ble` WebSocket endpoint, translating BLE scan results and device operations into the proxy protocol.
The library provides both a standalone CLI tool for testing and a pluggable library API. Integrators implement two abstract base classes—BleScanSource (to feed BLE advertisements) and BleDeviceResolver (to resolve device addresses)—then instantiate MatterBleProxy with a WebSocket URL and those implementations. The library deliberately does not manage reconnection; it releases all BLE resources and returns control when the WebSocket closes, leaving retry logic to the caller's supervisor.
Use it for:
- Run a Matter Server on a host with no Bluetooth adapter while delegating BLE operations to a separate device with a BLE radio.
- Integrate Matter BLE bridging into Home Assistant by wiring its native Bluetooth component as the scan source and device resolver.
- Build a custom Matter gateway that aggregates BLE devices from multiple physical locations by running proxy instances on each site.
- Test a Matter Server's `/ble` endpoint in isolation without a full Home Assistant deployment using the bundled CLI.
- Implement a BLE proxy for home automation systems that need to speak Matter protocol over a network boundary.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A Python client library that bridges BLE operations to a remote Matter Server via WebSocket, allowing any process with a BLE adapter to act as a BLE proxy for Matter protocol communication.
Yes, if you are building or integrating with a Matter Server and need to separate BLE hardware from the server host. The library is actively maintained, has low install friction, carries a permissive Apache-2.0 license, and is designed for exactly this delegation pattern. Not relevant if your Matter Server and BLE adapter are on the same machine or if you do not need Matter protocol support.
Install
matter-ble-proxy on PyPI
pip
pip install matter-ble-proxyuv
uv add matter-ble-proxypoetry
poetry add matter-ble-proxyInstalling matter-ble-proxy
Before you install
Low friction: pure Python wheel with only two runtime dependencies (aiohttp, bleak). Active maintenance with a release 7 days old. Requires Python 3.12+, which is a hard constraint but clearly stated.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most integration scenarios including proprietary systems.
Quickstart
pip install matter-ble-proxy
from matter_ble_proxy import MatterBleProxy, BleScanSource, BleDeviceResolver
proxy = MatterBleProxy(
ws_url="ws://localhost:5580/ble",
scan_source=MyScanSource(),
device_resolver=MyDeviceResolver(),
)
await proxy.connect()
await proxy.run_until_closed()
Requires Python 3.12+. Caller must implement BleScanSource and BleDeviceResolver abstract base classes; default Bleak-backed implementations are available in matter_ble_proxy.bleak_backend.
Verify before relying
- Whether the library handles reconnection automatically or requires caller-managed retry logic.
- Performance characteristics and latency overhead of the WebSocket proxy layer compared to direct BLE access.
- Compatibility with specific Matter Server versions or protocol versions.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.12) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — aiohttp, bleak |
| Maintenance | actively maintained — 7 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 79,496/month — #14,353 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: matter_ble_proxy-1.4.0-py3-none-any.whl
Tags
More Home Automation packages
Represents and manipulates IPv4, IPv6, MAC…
permissive · top 5,000 on PyPI
homeassistantHome Assistant is an open-source home…
permissive · top 5,000 on PyPI
python-statemachineDefines finite state machines and statecharts…
permissive · top 5,000 on PyPI
btsocketA Python library for controlling BlueZ…
permissive · top 15,000 on PyPI
aiohomematicAn async Python library for controlling and…
permissive · top 15,000 on PyPI
hass-web-proxy-libProvides base classes and utilities for Home…
permissive · top 15,000 on PyPI
bleak-esphomeProvides a Bleak backend that proxies Bluetooth…
permissive · top 15,000 on PyPI
python-matter-serverProvides a WebSocket-based Matter controller…
permissive · top 15,000 on PyPI
kegtron-bleProvides Bluetooth Low Energy (BLE) support for…
permissive · top 15,000 on PyPI
simplepybleSimplePyBLE provides cross-platform Bluetooth…
noncommercial · top 15,000 on PyPI
aiobmsbleAsynchronous Python library for querying…
permissive · top 15,000 on PyPI
xiaomi-bleManages Xiaomi BLE (Bluetooth Low Energy)…
permissive · top 15,000 on PyPI
smpclientImplements the transport layer for the Simple…
permissive · top 15,000 on PyPI
home-assistant-chip-clustersProvides Python APIs and data model definitions…
permissive · top 15,000 on PyPI
home-assistant-chip-coreProvides Python bindings and tools for the…
permissive · top 15,000 on PyPI