bthome-ble
BThome BLE support
Decision gist · record as of 2026-08-14
Yes, if you are building BLE sensor integrations or home automation systems that work with BTHome-compatible devices. The low install friction, active maintenance, and MIT license make it a straightforward choice. The pre-alpha status means the API may shift, but recent activity and 140 repository stars suggest reasonable stability for current use. Not necessary if you are not working with BTHome format sensors.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.11 or later; BLE connectivity depends on the habluetooth library and underlying system Bluetooth support.
- Low install friction with a pure-Python wheel.
- Active maintenance with a release 24 days ago and recent commits.
License · maintenance · safety
MIT (permissive) — MIT license permits unrestricted use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
last release 2026-07-21 (24 days) · last repo commit 2026-08-10 · 140 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 79,735 downloads/mo, #14,335 on PyPI
Alternatives
Verify before relying
pip install bthome-ble
from bthome_ble import BTHomeBluetoothDeviceData
# Parse BLE advertisement data
device_data = BTHomeBluetoothDeviceData()- Specific sensor types and measurement units supported by V1 and V2 format
- Whether the package handles malformed or partial BTHome advertisements gracefully
- Performance characteristics with high-frequency sensor updates
What it is and what it does
bthome-ble is a parser library for Bluetooth Low Energy sensors that advertise data using the BTHome format standard. It decodes BLE advertisement payloads into structured sensor readings, supporting both BTHome V1 and V2 protocol versions. The package wraps lower-level BLE handling via habluetooth and uses cryptography for any encrypted sensor data, making it suitable for home automation and IoT applications that need to ingest standardized BLE sensor broadcasts.
The library is in pre-alpha development but actively maintained, with recent releases and a small but engaged user base. It targets Python 3.11+ and integrates with the broader Bluetooth device ecosystem through its dependency chain, particularly sensor-state-data and bluetooth-sensor-state-data for normalized sensor representation.
Use it for
- Decode temperature, humidity, and other sensor readings from BTHome-compatible BLE devices in home automation systems.
- Build a BLE gateway or hub that collects and normalizes sensor data from multiple BTHome devices.
- Integrate BTHome sensor streams into Home Assistant or similar IoT platforms that support BLE discovery.
- Parse raw BLE advertisement packets to extract structured metrics for monitoring or logging.
- Prototype IoT applications that consume standardized BTHome sensor broadcasts without writing low-level BLE parsing code.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building BLE sensor integrations or home automation systems that work with BTHome-compatible devices.
The low install friction, active maintenance, and MIT license make it a straightforward choice. The pre-alpha status means the API may shift, but recent activity and 140 repository stars suggest reasonable stability for current use. Not necessary if you are not working with BTHome format sensors.
Install
bthome-ble on PyPI
Before you install
Low install friction with a pure-Python wheel. Active maintenance with a release 24 days ago and recent commits. Requires Python 3.11 or later and depends on five runtime packages including cryptography and habluetooth for BLE connectivity.
Requires Python 3.11 or later; BLE connectivity depends on the habluetooth library and underlying system Bluetooth support.
License in practice
MIT license permits unrestricted use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
Quickstart
pip install bthome-ble
from bthome_ble import BTHomeBluetoothDeviceData
# Parse BLE advertisement data
device_data = BTHomeBluetoothDeviceData()
Verify before relying
- Specific sensor types and measurement units supported by V1 and V2 format
- Whether the package handles malformed or partial BTHome advertisements gracefully
- Performance characteristics with high-frequency sensor updates
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.11 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 5 packagesbluetooth-data-toolsbluetooth-sensor-state-datacryptographyhabluetoothsensor-state-data |
| Maintenance | Actively maintained 24 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 79,735 / month, #14,335 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 2 - Pre-AlphaIntended Audience :: DevelopersNatural 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 |
Evidence: bthome_ble-3.24.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “bthome ble parser”
- bthome-bleParses and decodes BLE sensor data in the BTHome format (V1 and V2),…
- oralb-blePassive parser for Oral-B toothbrush Bluetooth Low Energy…
- ibeacon-bleParses and decodes iBeacon BLE (Bluetooth Low Energy) advertisement…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also home-assistant-bluetooth · ibeacon-ble · inkbird-ble · oralb-ble · bluetooth-sensor-state-data · bluetooth-data-tools · sensor-state-data · govee-ble · airthings-ble · aioblescan