Skip to main content

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

hahomematic-2025.8.5.tar.gz (197.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hahomematic-2025.8.5-py3-none-any.whl (197.5 kB view details)

Uploaded Python 3

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

Hashes for hahomematic-2025.8.5.tar.gz
Algorithm Hash digest
SHA256 065981bdc2b5f90a86189d3feeb9d4d64a0371f3bbb68c09eafb60e678fdff34
MD5 dccd0e1f99e4c91f97c03f38fdff3a10
BLAKE2b-256 6f747b830d62781a2b1c8e613ebc027e3b5d9a32fa8ded74133d0834b2eba06d

See more details on using hashes here.

Provenance

The following attestation bundles were made for hahomematic-2025.8.5.tar.gz:

Publisher: python-publish.yml on SukramJ/hahomematic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for hahomematic-2025.8.5-py3-none-any.whl
Algorithm Hash digest
SHA256 838e3270557956a8947ff663216d3c60399f3e83984311dd9910d6ec7cd53338
MD5 9bf1156dd807fb878de598a7c21020d4
BLAKE2b-256 561b1313df37504d3734266645acd897616b676e25892288c2f5a99ee97bb609

See more details on using hashes here.

Provenance

The following attestation bundles were made for hahomematic-2025.8.5-py3-none-any.whl:

Publisher: python-publish.yml on SukramJ/hahomematic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page