aiohomematic-2026.2.9
2026.2.9
2026.2.8
2026.2.7
2026.2.6
2026.2.5
2026.2.4
2026.2.3
2026.2.23
2026.2.22
2026.2.21
2026.2.20
2026.2.2
2026.2.19
2026.2.18
2026.2.17
2026.2.16
2026.2.15
2026.2.14
2026.2.13
2026.2.12
2026.2.11
2026.2.10
2026.2.1
2026.2.0
2026.1.9
2026.1.8
2026.1.7
2026.1.6
2026.1.57
2026.1.56
2026.1.55
2026.1.54
2026.1.53
2026.1.52
2026.1.51
2026.1.50
2026.1.5
2026.1.49
2026.1.48
2026.1.47
2026.1.46
2026.1.45
2026.1.44
2026.1.43
2026.1.42
2026.1.41
2026.1.40
2026.1.4
2026.1.39
2026.1.38
2026.1.37
2026.1.36
2026.1.35
2026.1.34
2026.1.33
2026.1.32
2026.1.31
2026.1.30
2026.1.3
2026.1.29
2026.1.28
2026.1.27
2026.1.26
2026.1.25
2026.1.24
2026.1.23
2026.1.22
2026.1.21
2026.1.20
2026.1.2
2026.1.19
2026.1.18
2026.1.17
2026.1.16
2026.1.15
2026.1.14
2026.1.13
2026.1.12
2026.1.11
2026.1.10
2026.1.1
2026.1.0
2025.9.8
2025.9.7
2025.9.6
2025.9.5
2025.9.4
2025.9.3
2025.9.2
2025.9.1
2025.8.9
2025.8.8
2025.8.7
2025.8.6
2025.8.10
2025.12.9
2025.12.8
2025.12.7
2025.12.6
2025.12.55
2025.12.54
2025.12.53
2025.12.52
2025.12.51
2025.12.50
2025.12.5
2025.12.49
2025.12.48
2025.12.47
2025.12.46
2025.12.45
2025.12.44
2025.12.43
2025.12.42
2025.12.41
2025.12.40
2025.12.4
2025.12.38
2025.12.37
2025.12.36
2025.12.35
2025.12.34
2025.12.33
2025.12.32
2025.12.31
2025.12.30
2025.12.3
2025.12.29
2025.12.28
2025.12.27
2025.12.26
2025.12.25
2025.12.24
2025.12.23
2025.12.22
2025.12.21
2025.12.20
2025.12.2
2025.12.19
2025.12.18
2025.12.17
2025.12.16
2025.12.15
2025.12.14
2025.12.13
2025.12.12
2025.12.11
2025.12.10
2025.12.1
2025.12.0
2025.11.9
2025.11.8
2025.11.7
2025.11.6
2025.11.5
2025.11.4
2025.11.30
2025.11.3
2025.11.29
2025.11.28
2025.11.27
2025.11.26
2025.11.25
2025.11.24
2025.11.23
2025.11.22
2025.11.21
2025.11.20
2025.11.2
2025.11.19
2025.11.18
2025.11.17
2025.11.16
2025.11.15
2025.11.14
2025.11.13
2025.11.12
2025.11.11
2025.11.10
2025.11.0
2025.10.9
2025.10.8
2025.10.7
2025.10.6
2025.10.5
2025.10.4
2025.10.3
2025.10.26
2025.10.25
2025.10.24
2025.10.22
2025.10.21
2025.10.20
2025.10.2
2025.10.19
2025.10.18
2025.10.17
2025.10.16
2025.10.15
2025.10.14
2025.10.10
2025.10.1
2025.10.0
2026.2.9
2026.2.8
2026.2.7
2026.2.6
2026.2.5
2026.2.4
2026.2.3
2026.2.23
2026.2.22
2026.2.21
2026.2.20
2026.2.2
2026.2.19
2026.2.18
2026.2.17
2026.2.16
2026.2.15
2026.2.14
2026.2.13
2026.2.12
2026.2.11
2026.2.10
2026.2.1
2026.2.0
2026.1.9
2026.1.8
2026.1.7
2026.1.6
2026.1.57
2026.1.56
2026.1.55
2026.1.54
2026.1.53
2026.1.52
2026.1.51
2026.1.50
2026.1.5
2026.1.49
2026.1.48
2026.1.47
2026.1.46
2026.1.45
2026.1.44
2026.1.43
2026.1.42
2026.1.41
2026.1.40
2026.1.4
2026.1.39
2026.1.38
2026.1.37
2026.1.36
2026.1.35
2026.1.34
2026.1.33
2026.1.32
2026.1.31
2026.1.30
2026.1.3
2026.1.29
2026.1.28
2026.1.27
2026.1.26
2026.1.25
2026.1.24
2026.1.23
2026.1.22
2026.1.21
2026.1.20
2026.1.2
2026.1.19
2026.1.18
2026.1.17
2026.1.16
2026.1.15
2026.1.14
2026.1.13
2026.1.12
2026.1.11
2026.1.10
2026.1.1
2026.1.0
2025.9.8
2025.9.7
2025.9.6
2025.9.5
2025.9.4
2025.9.3
2025.9.2
2025.9.1
2025.8.9
2025.8.8
2025.8.7
2025.8.6
2025.8.10
2025.12.9
2025.12.8
2025.12.7
2025.12.6
2025.12.55
2025.12.54
2025.12.53
2025.12.52
2025.12.51
2025.12.50
2025.12.5
2025.12.49
2025.12.48
2025.12.47
2025.12.46
2025.12.45
2025.12.44
2025.12.43
2025.12.42
2025.12.41
2025.12.40
2025.12.4
2025.12.38
2025.12.37
2025.12.36
2025.12.35
2025.12.34
2025.12.33
2025.12.32
2025.12.31
2025.12.30
2025.12.3
2025.12.29
2025.12.28
2025.12.27
2025.12.26
2025.12.25
2025.12.24
2025.12.23
2025.12.22
2025.12.21
2025.12.20
2025.12.2
2025.12.19
2025.12.18
2025.12.17
2025.12.16
2025.12.15
2025.12.14
2025.12.13
2025.12.12
2025.12.11
2025.12.10
2025.12.1
2025.12.0
2025.11.9
2025.11.8
2025.11.7
2025.11.6
2025.11.5
2025.11.4
2025.11.30
2025.11.3
2025.11.29
2025.11.28
2025.11.27
2025.11.26
2025.11.25
2025.11.24
2025.11.23
2025.11.22
2025.11.21
2025.11.20
2025.11.2
2025.11.19
2025.11.18
2025.11.17
2025.11.16
2025.11.15
2025.11.14
2025.11.13
2025.11.12
2025.11.11
2025.11.10
2025.11.0
2025.10.9
2025.10.8
2025.10.7
2025.10.6
2025.10.5
2025.10.4
2025.10.3
2025.10.26
2025.10.25
2025.10.24
2025.10.22
2025.10.21
2025.10.20
2025.10.2
2025.10.19
2025.10.18
2025.10.17
2025.10.16
2025.10.15
2025.10.14
2025.10.10
2025.10.1
2025.10.0
توضیحات
Homematic interface for Home Assistant running on Python 3.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | aiohomematic-2026.2.9 |
| نام | aiohomematic |
| نسخه کتابخانه | 2026.2.9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | SukramJ <sukramj@icloud.com>, Daniel Perna <danielperna84@gmail.com> |
| آدرس صفحه اصلی | https://github.com/sukramj/aiohomematic |
| آدرس اینترنتی | https://pypi.org/project/aiohomematic/ |
| مجوز | MIT License |
[![Release][releasebadge]][release]
[![License][license-shield]](LICENSE)
[![Python][pythonbadge]][release]
[![GitHub Sponsors][sponsorsbadge]][sponsors]
# aiohomematic
A modern, async Python library for controlling and monitoring [Homematic](https://www.eq-3.com/products/homematic.html) and [HomematicIP](https://www.homematic-ip.com/en/start.html) devices. Powers the Home Assistant integration "Homematic(IP) Local".
This project is the modern successor to [pyhomematic](https://github.com/danielperna84/pyhomematic), focusing on automatic entity creation, fewer manual device definitions, and faster startups.
## Key Features
- **Automatic entity discovery** from device/channel parameters
- **Extensible** via custom entity classes for complex devices (thermostats, lights, covers, locks, sirens)
- **Fast startups** through caching of paramsets
- **Robust operation** with automatic reconnection after CCU restarts
- **Fully typed** with strict mypy compliance
- **Async/await** based on asyncio
## Documentation
**Full documentation:** [sukramj.github.io/aiohomematic](https://sukramj.github.io/aiohomematic/)
| Section | Description |
| ------------------------------------------------------------------------------------ | -------------------------------- |
| [Getting Started](https://sukramj.github.io/aiohomematic/getting_started/) | Installation and first steps |
| [User Guide](https://sukramj.github.io/aiohomematic/user/homeassistant_integration/) | Home Assistant integration guide |
| [Developer Guide](https://sukramj.github.io/aiohomematic/developer/consumer_api/) | API reference for integrations |
| [Architecture](https://sukramj.github.io/aiohomematic/architecture/) | System design overview |
| [Glossary](https://sukramj.github.io/aiohomematic/reference/glossary/) | Terminology reference |
## How It Works
```
┌─────────────────────────────────────────────────────────┐
│ Home Assistant │
│ │
│ ┌────────────────────────────────────────────────────┐ │
│ │ Homematic(IP) Local Integration │ │
│ │ │ │
│ │ • Home Assistant entities (climate, light, etc.) │ │
│ │ • UI configuration flows │ │
│ │ • Services and automations │ │
│ │ • Device/entity registry integration │ │
│ └────────────────────────┬───────────────────────────┘ │
└───────────────────────────┼─────────────────────────────┘
│
│ uses
▼
┌───────────────────────────────────────────────────────────┐
│ aiohomematic │
│ │
│ • Protocol implementation (XML-RPC, JSON-RPC) │
│ • Device model and data point abstraction │
│ • Connection management and reconnection │
│ • Event handling and callbacks │
│ • Caching for fast startups │
└───────────────────────────────────────────────────────────┘
│
│ communicates with
▼
┌───────────────────────────────────────────────────────────┐
│ CCU3 / OpenCCU / Homegear │
└───────────────────────────────────────────────────────────┘
```
### Why Two Projects?
| Aspect | aiohomematic | Homematic(IP) Local |
| ---------------- | ------------------------------------------------------- | ----------------------------------------------------------------- |
| **Purpose** | Python library for Homematic protocol | Home Assistant integration |
| **Scope** | Protocol, devices, data points | HA entities, UI, services |
| **Dependencies** | Standalone (aiohttp, orjson) | Requires Home Assistant |
| **Reusability** | Any Python project | Home Assistant only |
| **Repository** | [aiohomematic](https://github.com/sukramj/aiohomematic) | [homematicip_local](https://github.com/sukramj/homematicip_local) |
**Benefits of this separation:**
- **Reusability**: aiohomematic can be used in any Python project, not just Home Assistant
- **Testability**: The library can be tested independently without Home Assistant
- **Maintainability**: Protocol changes don't affect HA-specific code and vice versa
- **Clear boundaries**: Each project has a focused responsibility
### How They Work Together
1. **Homematic(IP) Local** creates a `CentralUnit` via aiohomematic's API
2. **aiohomematic** connects to the CCU/Homegear and discovers devices
3. **aiohomematic** creates `Device`, `Channel`, and `DataPoint` objects
4. **Homematic(IP) Local** wraps these in Home Assistant entities
5. **aiohomematic** receives events from the CCU and notifies subscribers
6. **Homematic(IP) Local** translates events into Home Assistant state updates
## For Home Assistant Users
Use the Home Assistant custom integration **Homematic(IP) Local**:
1. Add the custom repository: https://github.com/sukramj/homematicip_local
2. Install via HACS
3. Configure via **Settings** → **Devices & Services** → **Add Integration**
See the [Integration Guide](https://sukramj.github.io/aiohomematic/user/homeassistant_integration/) for detailed instructions.
## For Developers
```bash
pip install aiohomematic
```
### Quick Start
```python
from aiohomematic.central import CentralConfig
from aiohomematic.client import InterfaceConfig
from aiohomematic.const import Interface
config = CentralConfig(
central_id="ccu-main",
host="ccu.local",
username="admin",
password="secret",
default_callback_port=43439,
interface_configs={
InterfaceConfig(central_name="ccu-main", interface=Interface.HMIP_RF, port=2010)
},
)
central = config.create_central()
await central.start()
for device in central.devices:
print(f"{device.name}: {device.device_address}")
await central.stop()
```
See [Getting Started](https://sukramj.github.io/aiohomematic/getting_started/) for more examples.
## Requirements
- **Python**: 3.13+
- **CCU Firmware**: CCU2 ≥2.61.x, CCU3 ≥3.61.x
- There is not active testing to identify the minimum required firmware versions.
### Important Notes on Backend Support
**Actively tested backends:**
- OpenCCU with current firmware
**Not actively tested:**
- CCU2
- Homegear
Running outdated firmware versions or using untested backends (CCU2, Homegear) is at your own risk.
**Recommendation:** Keep your CCU firmware up to date. Outdated versions may lack bug fixes, security patches, and compatibility improvements that this library depends on.
## Related Projects
| Project | Description |
| --------------------------------------------------------------------- | -------------------------- |
| [Homematic(IP) Local](https://github.com/sukramj/homematicip_local) | Home Assistant integration |
| [aiohomematic Documentation](https://sukramj.github.io/aiohomematic/) | Full documentation |
## Contributing
Contributions are welcome! See the [Contributing Guide](https://sukramj.github.io/aiohomematic/contributor/contributing/) for details.
## License
MIT License - see [LICENSE](LICENSE) for details.
## Support
[![GitHub Sponsors][sponsorsbadge]][sponsors]
If you find this project useful, consider [sponsoring](https://github.com/sponsors/SukramJ) the development.
[license-shield]: https://img.shields.io/github/license/SukramJ/aiohomematic.svg?style=for-the-badge
[pythonbadge]: https://img.shields.io/badge/Python-3.13+-blue?style=for-the-badge&logo=python&logoColor=white
[release]: https://github.com/SukramJ/aiohomematic/releases
[releasebadge]: https://img.shields.io/github/v/release/SukramJ/aiohomematic?style=for-the-badge
[sponsorsbadge]: https://img.shields.io/github/sponsors/SukramJ?style=for-the-badge&label=Sponsors&color=ea4aaa
[sponsors]: https://github.com/sponsors/SukramJ
نیازمندی
| مقدار | نام |
|---|---|
| - | aiohttp>=3.12.0 |
| - | pydantic>=2.10.0 |
| - | python-slugify>=8.0.0 |
| xtr | orjson>=3.11.0; |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.13 | Python |
نحوه نصب
نصب پکیج whl aiohomematic-2026.2.9:
pip install aiohomematic-2026.2.9.whl
نصب پکیج tar.gz aiohomematic-2026.2.9:
pip install aiohomematic-2026.2.9.tar.gz