Registry / http-networking / home-assistant-chip-clusters

home-assistant-chip-clusters

JSON →
library2025.7.0pypypiunverified

Python bindings for CHIP (Connected Home over IP) clusters, auto-generated from the CHIP specification. Version 2025.7.0 requires Python >=3.7 and provides cluster objects for interacting with Matter devices. Released monthly alongside the CHIP SDK.

pip install home-assistant-chip-clusters
INSTALL
IMPORT
SIG · HOME-ASSISTANT-CHI
H
home-assistant-chip-clusters
http-networkingpythonv2025.7.0
Install
2.2s avg
Import
Disk
24MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v2025.7.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 24.5MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 2.2s · import 0.000s · 25MB
24MB installed
● package 24MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Clusters
from chip import Clusters
from chip.clusters import Clusters

Create a cluster instance and access its attributes.

from chip.clusters import Clusters, Objects cluster = Clusters.OnOff() print(cluster.cluster_id) # 6
Debug
Known issues
gotchaThe package name on PyPI is 'home-assistant-chip-clusters' but the import path is 'chip.clusters' (not 'home_assistant_chip_clusters').
fix
Use 'from chip.clusters import ...' in your code.
affects: all
breakingIn v2025.7.0 some cluster attribute IDs may have changed due to spec updates. Rely on the Attributes object rather than hardcoded IDs.
fix
Use Clusters.OnOff.attributes.OnOff.attribute_id instead of integer literals.
affects: >=2025.0.0
deprecatedThe 'Clusters' module is generated automatically; manual editing of cluster definitions is overwritten on pip upgrade.
fix
Do not modify files under site-packages/chip/clusters/. Fork or patch via hooks.
affects: all
Upgrade
Version history
2025.7.0latest on PyPI · released Jul 1, 2025
Audit
Dependencies
chip-coreoptionalCore CHIP library providing low-level API
Agent activity
23 hits · last 30 days
node
22
Resources
home-assistant-chip-clusters — pip install home-assistant-chip-clusters · libregistry