Homematic interface for Home Assistant running on Python 3.
This project has been archived.
The maintainers of this project have marked this project as archived. No new releases are expected.
Project description
hahomematic
A lightweight Python 3 library that powers Home Assistant integrations for controlling and monitoring HomeMatic and HomematicIP devices. Some third‑party devices/gateways (e.g., Bosch, Intertechno) may be supported as well.
This project is the modern successor to pyhomematic, focusing on automatic entity creation, fewer manual device definitions, and faster startups.
How it works
Unlike pyhomematic, which required manual device mappings, hahomematic automatically creates entities for each relevant parameter on every device channel (unless blacklisted). To achieve this it:
- Fetches and caches device paramsets (VALUES) for fast successive startups.
- Provides hooks for custom entity classes where complex behavior is needed (e.g., thermostats, lights, covers, climate, locks, sirens).
- Includes helpers for robust operation, such as automatic reconnection after CCU restarts.
Key features
- Automatic entity discovery from device/channel parameters.
- Extensible via custom entity classes for complex devices.
- Caching of paramsets to speed up restarts.
- Designed to integrate with Home Assistant.
Installation (with Home Assistant)
Install via the custom component: custom_homematic.
Follow the installation guide: https://github.com/sukramj/custom_homematic/wiki/Installation
Requirements
Due to a bug in earlier CCU2/CCU3 firmware, hahomematic requires at least the following versions when used with HomematicIP devices:
- CCU2: 2.53.27
- CCU3: 3.53.26
See details here: https://github.com/jens-maus/RaspberryMatic/issues/843. Other CCU‑like platforms using the buggy HmIPServer version are not supported.
Useful links
- Examples: see example.py in this repository.
- Changelog: see changelog.md.
- Source code and documentation: this repository (docs/ directory may contain additional information).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hahomematic-2025.8.5.tar.gz.
File metadata
- Download URL: hahomematic-2025.8.5.tar.gz
- Upload date:
- Size: 197.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
065981bdc2b5f90a86189d3feeb9d4d64a0371f3bbb68c09eafb60e678fdff34
|
|
| MD5 |
dccd0e1f99e4c91f97c03f38fdff3a10
|
|
| BLAKE2b-256 |
6f747b830d62781a2b1c8e613ebc027e3b5d9a32fa8ded74133d0834b2eba06d
|
Provenance
The following attestation bundles were made for hahomematic-2025.8.5.tar.gz:
Publisher:
python-publish.yml on SukramJ/hahomematic
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hahomematic-2025.8.5.tar.gz -
Subject digest:
065981bdc2b5f90a86189d3feeb9d4d64a0371f3bbb68c09eafb60e678fdff34 - Sigstore transparency entry: 383684647
- Sigstore integration time:
-
Permalink:
SukramJ/hahomematic@11f1ffb03a2923000d9474375752be8db2d2bb3a -
Branch / Tag:
refs/tags/2025.8.5 - Owner: https://github.com/SukramJ
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@11f1ffb03a2923000d9474375752be8db2d2bb3a -
Trigger Event:
release
-
Statement type:
File details
Details for the file hahomematic-2025.8.5-py3-none-any.whl.
File metadata
- Download URL: hahomematic-2025.8.5-py3-none-any.whl
- Upload date:
- Size: 197.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
838e3270557956a8947ff663216d3c60399f3e83984311dd9910d6ec7cd53338
|
|
| MD5 |
9bf1156dd807fb878de598a7c21020d4
|
|
| BLAKE2b-256 |
561b1313df37504d3734266645acd897616b676e25892288c2f5a99ee97bb609
|
Provenance
The following attestation bundles were made for hahomematic-2025.8.5-py3-none-any.whl:
Publisher:
python-publish.yml on SukramJ/hahomematic
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hahomematic-2025.8.5-py3-none-any.whl -
Subject digest:
838e3270557956a8947ff663216d3c60399f3e83984311dd9910d6ec7cd53338 - Sigstore transparency entry: 383684668
- Sigstore integration time:
-
Permalink:
SukramJ/hahomematic@11f1ffb03a2923000d9474375752be8db2d2bb3a -
Branch / Tag:
refs/tags/2025.8.5 - Owner: https://github.com/SukramJ
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@11f1ffb03a2923000d9474375752be8db2d2bb3a -
Trigger Event:
release
-
Statement type: