aiohomematic
Homematic interface for Home Assistant running on Python 3.
Decision gist · record as of 2026-08-14
Yes. The library is actively maintained (release 4 days old), has no known vulnerabilities, uses a permissive MIT license, and requires only four lightweight runtime dependencies. It is marked Production/Stable and powers a real Home Assistant integration. Install it if you need to control Homematic devices from Python; the only constraint is a requirement for Python 3.14 or later and network access to a compatible Homematic backend.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.14 or later; requires network access to a Homematic CCU, OpenCCU, Homegear, CUxD, or CCU-Jack device.
- Low friction install with four runtime dependencies (aiohttp, openccu-data, pydantic, python-slugify).
- Active maintenance with a release 4 days old and recent commits; marked Production/Stable with 167 repository stars.
License · maintenance · safety
MIT License (permissive) — MIT License permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
last release 2026-08-10 (4 days) · last repo commit 2026-08-10 · 167 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 621,231 downloads/mo, #5,719 on PyPI
Alternatives
Verify before relying
pip install aiohomematic
import asyncio
from aiohomematic.central import CentralConfig
from aiohomematic.client import InterfaceConfig
from aiohomematic.const import Interface
async def main():
config = CentralConfig(
central_id="ccu-main",
name="ccu-main",
host="ccu.local",
interface_configs={
InterfaceConfig(central_name="ccu-main", interface=Interface.HMIP_RF, port=2010),
},
)
central = await config.create_central()
await central.start()- Whether the library's circuit breaker and reconnection logic handles all failure modes in production environments.
- Performance characteristics when managing large numbers of devices or frequent state changes.
- Compatibility with specific Homematic device models and firmware versions beyond those listed.
What it is and what it does
aiohomematic is a modern async Python library that abstracts the Homematic protocol stack, allowing you to discover, control, and monitor Homematic and HomematicIP devices connected to a CCU hub or compatible backend. It replaces the older pyhomematic project with automatic entity discovery, fewer manual device definitions, and faster startup times. The library handles connection management, event routing through a unified EventBus, protocol translation (XML-RPC for standard interfaces, JSON-RPC for CUxD/CCU-Jack), and caching of device descriptions and paramsets.
The library is built on asyncio and fully typed (mypy strict mode), making it suitable for integration into larger async applications—most notably as the backend for the Home Assistant "Homematic(IP) Local" integration. It supports extensible entity classes for complex device types (climate, cover, light, lock, siren, valve), hub entities for CCU programs and system variables, and robust operation through circuit breaker patterns, command retry/throttling, and automatic reconnection after CCU restarts.
Use it for
- Build a Home Assistant integration or custom automation platform that controls Homematic devices without polling.
- Monitor Homematic device state and respond to events in real-time via the EventBus in a standalone Python application.
- Integrate Homematic climate, lighting, or lock devices into a broader home automation system using async/await patterns.
- Manage CCU programs, system variables, and inbox messages programmatically alongside device control.
- Test Homematic protocol implementations using pydevccu without requiring physical hardware.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The library is actively maintained (release 4 days old), has no known vulnerabilities, uses a permissive MIT license, and requires only four lightweight runtime dependencies. It is marked Production/Stable and powers a real Home Assistant integration. Install it if you need to control Homematic devices from Python; the only constraint is a requirement for Python 3.14 or later and network access to a compatible Homematic backend.
Install
aiohomematic on PyPI
Before you install
Low friction install with four runtime dependencies (aiohttp, openccu-data, pydantic, python-slugify). Active maintenance with a release 4 days old and recent commits; marked Production/Stable with 167 repository stars.
Requires Python 3.14 or later; requires network access to a Homematic CCU, OpenCCU, Homegear, CUxD, or CCU-Jack device.
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 aiohomematic
import asyncio
from aiohomematic.central import CentralConfig
from aiohomematic.client import InterfaceConfig
from aiohomematic.const import Interface
async def main():
config = CentralConfig(
central_id="ccu-main",
name="ccu-main",
host="ccu.local",
interface_configs={
InterfaceConfig(central_name="ccu-main", interface=Interface.HMIP_RF, port=2010),
},
)
central = await config.create_central()
await central.start()
Verify before relying
- Whether the library's circuit breaker and reconnection logic handles all failure modes in production environments.
- Performance characteristics when managing large numbers of devices or frequent state changes.
- Compatibility with specific Homematic device models and firmware versions beyond those listed.
Package facts
| License | MIT License permissive |
| Python support | Capped below the current Python release >=3.14 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesaiohttpopenccu-datapydanticpython-slugify |
| Maintenance | Actively maintained 4 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 621,231 / month, #5,719 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: No Input/Output (Daemon)Framework :: AsyncIOIntended Audience :: DevelopersIntended Audience :: End Users/DesktopLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishNatural Language :: GermanOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.14Programming Language :: Python :: Free Threading :: 2 - BetaProgramming Language :: Python :: Implementation :: CPythonTopic :: Home AutomationTopic :: Software Development :: Libraries :: Python ModulesTyping :: Typed |
Evidence: aiohomematic-2026.8.2-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 › “homematic device control library”
- aiohomematicAn async Python library for controlling and monitoring Homematic and…
- openccu-loom-clientAsync Python REST and WebSocket client for the openccu-loom daemon,…
- aiohomematic-configTransforms Homematic device paramset descriptions into UI-ready form…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also aiohomematic-config · openccu-data · openccu-loom-client · xknx · ha-mcp · aiohttp-xmlrpc · ha-mcp-dev · aiohue · aiohomekit · aiomusiccast