Extract and distribute Homematic CCU configuration metadata
(translations, easymodes, link profiles, device images) from
OpenCCU-Base /
OpenCCU.
This repository is the single source of truth for the data artifacts that
are consumed by aiohomematic and
aiohomematic-config. Both
projects vendor the produced JSON archives at runtime.
a local OpenCCU-Base checkout (OPENCCUBASE_PATH=/path/to/OpenCCU-Base), or
a running CCU instance over HTTP/HTTPS (CCU_URL=https://my-ccu.local).
Which source to use is not a free choice — see
DATA_SOURCES.md for why a running CCU is currently
still required, and what has to change before it is not.
If both are set, the easymode/translation extractors merge results; the
profile extractor prefers the running CCU and falls back to local.
The device-image extractor reads a local checkout only (OPENCCUBASE_PATH).
It runs after the translation extractor: every filename in the
table of must exist in the copied tree, and a
missing one fails the run.
device_icons
translation_extract.json.gz
Repository layout
openccu-data/
├── LICENSE MIT (covers the code)
├── NOTICE.md Data-artifact licensing (EQ-3/HMSL 2.0)
├── DATA_SOURCES.md Where the artifacts come from; upstream transition
├── README.md this file
├── CLAUDE.md guide for AI assistants
├── AI_POLICY.md AI contribution policy
├── changelog.md
├── Makefile common dev tasks (`make help`)
├── pyproject.toml
├── openccu_data/
│ ├── const.py
│ ├── easymodes/extractor.py easymode metadata parser
│ ├── translations/extractor.py CCU WebUI translation parser
│ ├── profiles/extractor.py easymode link-profile parser
│ ├── device_images/extractor.py device image copier + device_icons check
│ └── data/ committed, vendored output
│ ├── easymode_extract.json.gz
│ ├── translation_extract.json.gz
│ ├── translation_custom/*.json
│ ├── profiles/*.json.gz (+ _receiver_type_aliases.json)
│ └── device_images/250/*.png (+ coupling/*.png)
├── script/ CLI wrappers
└── tests/
Installation
python -m pip install -e .[test]
No third-party runtime dependencies; only the standard library.
Usage
Console scripts
After installation, four console scripts are available on the PATH:
After regenerating any artifact, copy the relevant files into the consumer
repository and open a PR there as well.
Development
The common tasks are wrapped in a Makefile:
make setup # install dev dependencies + prek hooks
make test # run the pytest suite
make lint # ruff check
make format # ruff format
make typecheck # mypy
make check # lint + typecheck + test
make help lists all targets, including make extract /
make extract-<name> to regenerate the data artifacts. The same commands
also work without make:
Parts of openccu-data are developed with agentic AI assistance, primarily
Claude Code. Submitted issues are
also triaged and analyzed with agentic help. Every change is still reviewed
by a human maintainer and must pass the project's tests before it lands —
AI accelerates the work, it does not replace the review gate.
Contributions may use AI tools as well — see AI_POLICY.md
for the rules that apply.
Data artifacts under openccu_data/data/: derivative of OpenCCU-Base/OpenCCU
and subject to the EQ-3 license (see NOTICE.md). The curated
translation_custom/ overrides are MIT.
"Homematic" and "HomematicIP" are trademarks of eQ-3 AG. This project is not
affiliated with or endorsed by eQ-3 AG.
Works well with
Use together with openccu-data: extensions, drivers, servers and companion tools.
aiohomematicPythie’s Index: 85Async Python library for Homematic(IP) devices via OpenCCU, CCU3, CUxD and CCU-Jack.356K downloads/mo
aiohomematic-configPythie’s Index: 84Presentation-layer library for Homematic device configuration UI.139.4K downloads/mo