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.
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.mdthese files are generated by thegen.shscript, 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 runpython -m gen.generate ~/src/connectedhomeip/data_model/1.6.1/clusters/ codec(where~/src/connectedhomeipis 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.xmlandWaterContentMeasurement.xml. The corresponding module files are generated for these, but the match arms inmod.rsfor their cluster IDs are not.