python-bsblan
Asynchronous Python client for BSBLAN API
What it is and what it does
python-bsblan is an async HTTP client library for BSBLan heating control devices. It abstracts the BSBLan JSON API, allowing you to read device state (temperatures, operating modes) and send commands (set thermostat targets, control hot water) from Python code. The library automatically detects device capabilities during initialization and adapts its feature set based on the reported JSON-API version: full support for version 2.0+ (multiple circuits, schedules, cooling modes) or reduced single-circuit support for version 1.x. It depends on aiohttp for async HTTP, pydantic for response validation, yarl for URL handling, python-backoff for retry logic, and packaging for version parsing.
The package targets developers building home automation, energy management, or HVAC monitoring systems that need to integrate with BSBLan hardware. It is actively maintained, requires Python 3.12+, and carries no known security vulnerabilities. The MIT license imposes no restrictions on commercial use.
Use it for:
- Automate heating setpoints based on time-of-day or occupancy sensors in a smart home system.
- Monitor current and historical temperature readings from multiple heating zones for energy analysis.
- Integrate BSBLan device control into a home assistant or custom orchestration platform.
- Build a web dashboard that displays real-time device state and accepts remote control commands.
- Trigger hot water heating or cooling mode changes in response to external events or schedules.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Asynchronous Python client for controlling and monitoring BSBLan heating devices over HTTP, supporting multiple circuits, hot water control, and automatic device capability detection.
Yes. The package is actively maintained, has low install friction, carries no known vulnerabilities, and uses a permissive MIT license. It is well-suited for developers building BSBLan integrations or home automation systems. The requirement for Python 3.12+ and a compatible BSBLan device are the only practical constraints.
Install
python-bsblan on PyPI
pip
pip install python-bsblanuv
uv add python-bsblanpoetry
poetry add python-bsblanInstalling python-bsblan
Before you install
Low install friction with a pure-wheel distribution. Active maintenance with a release 9 days ago and commits through 2026-08-13. Requires Python 3.12 or newer.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
Quickstart
pip install python-bsblan
import asyncio
from bsblan import BSBLAN, BSBLANConfig
async def main():
config = BSBLANConfig(host="192.168.1.100")
async with BSBLAN(config) as client:
state = await client.state()
print(f"Temperature: {state.current_temperature.value}")
Requires Python 3.12 or newer; target BSBLan device must expose JSON-API version 1.0 or higher.
Verify before relying
- Whether the package works with BSBLan devices running JSON-API versions below 1.0 despite the documented incompatibility.
- Performance characteristics when controlling multiple heating circuits simultaneously.
- Network timeout and retry behavior beyond what python-backoff provides by default.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.12) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 5 — aiohttp, packaging, pydantic, python-backoff, yarl |
| Maintenance | actively maintained — 9 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 76,947/month — #14,574 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: python_bsblan-6.1.8-py3-none-any.whl
Keywords: api, async, bsblan, client, thermostat
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
Adax-localA Python library for local communication with…
permissive · top 15,000 on PyPI
pysmartthingsAsynchronous Python client for fetching data…
permissive · top 15,000 on PyPI
gotailwindAsynchronous Python client for controlling and…
permissive · top 15,000 on PyPI
wledAn asynchronous Python client library for…
permissive · top 15,000 on PyPI
python-smarttubProvides an async API and CLI to query and…
permissive · top 15,000 on PyPI
pyotgwpyotgw is a Python library that communicates…
copyleft · top 15,000 on PyPI
adguardhomeAsynchronous Python client library for…
permissive · top 15,000 on PyPI
pyeconetProvides an async Python interface to the…
permissive · top 15,000 on PyPI
python-tadoPyTado provides a Python interface to the Tado…
copyleft · top 15,000 on PyPI
tailscaleAsynchronous Python client for querying and…
permissive · top 15,000 on PyPI