Skip to content

Missing clusters #14

Description

@qwandor

A number of clusters are missing from decode_attribute_json, e.g. 0x0405 (relative humidity measurement), 0x040D (carbon dioxide concentration measurement) and 0x042A (PM2.5 concentration measurement).

According to src/clusters/readme.md these files are generated by the gen.sh script, but this script doesn't seem to exist. There are however some Python scripts, but it's not entirely clear which XML files they should be run on. If I run python -m gen.generate ~/src/connectedhomeip/data_model/1.6.1/clusters/ codec (where ~/src/connectedhomeip is a checkout of https://github.com/project-chip/connectedhomeip/) then it adds some new things but also removes several existing clusters.

Looking at the XML files, it looks like the relevant ones for the clusters I'm interested in are ConcentrationMeasurement.xml and WaterContentMeasurement.xml. The corresponding module files are generated for these, but the match arms in mod.rs for their cluster IDs are not.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions