Sensing and measurement91 — Air Quality

Matter Cluster 91 — Air Quality

Matter Cluster 91 (0x005B) Air Quality: attributes, commands, events, data types, shadow paths and bridge payload examples.

Matter Cluster 91 — Air Quality Cluster

Matter Cluster 91, also written as 0x005B, is the Air Quality Cluster. This cluster provides an interface to air quality classification using distinct levels with human-readable labels.

Cluster Identity

FieldValue
Cluster ID decimal91
Cluster ID hex0x005B
Cluster nameAir Quality
Cluster revision (Matter 1.6.1)1
Roleapplication
ScopeEndpoint
PICS codeAIRQUAL
Typical endpoint1

Revision history

RevisionChange
1Initial revision

Shadow Path Format

Cluster 91 values in the device shadow use this format:

endpoint_id / 91 / attribute_id

Example:

{
  "1/91/0": 1
}
PartMeaning
1Endpoint ID
91Air Quality cluster
0AirQuality attribute

Cluster 91 Features

The FeatureMap attribute (1/91/65532) is a bitmap. Each bit set means the device implements that feature and the attributes and commands that depend on it.

BitCodeFeatureConformanceMeaning
0FAIRFairOCluster supports the Fair air quality level
1MODModerateOCluster supports the Moderate air quality level
2VPOORVeryPoorOCluster supports the Very poor air quality level
3XPOORExtremelyPoorOCluster supports the Extremely poor air quality level

Example: FeatureMap = 0 means no optional feature is enabled; 15 means every feature listed above is enabled.


Data Types

AirQualityEnum

The AirQualityEnum provides a representation of the quality of the analyzed air. It is up to the device manufacturer to determine the mapping between the measured values and their corresponding enumeration values.

ValueNameConformanceMeaning
0UnknownMThe air quality is unknown.
1GoodMThe air quality is good.
2FairFAIRThe air quality is fair.
3ModerateMODThe air quality is moderate.
4PoorMThe air quality is poor.
5VeryPoorVPOORThe air quality is very poor.
6ExtremelyPoorXPOORThe air quality is extremely poor.

Cluster 91 Attributes

Cluster 91 defines 1 attribute plus the global attributes. Conformance: M mandatory, O optional, a feature code means "mandatory when that feature is present", square brackets mean "optional when …".

IDHexAttributeTypeConformanceAccessQualitiesDefault
00x0000AirQualityAirQualityEnumMR (read: view)——

Global attributes

IDHexAttributeMeaning
655280xFFF8GeneratedCommandListResponse command IDs this server generates.
655290xFFF9AcceptedCommandListCommand IDs this server accepts.
655310xFFFBAttributeListAttribute IDs implemented.
655320xFFFCFeatureMapImplemented optional features (see above).
655330xFFFDClusterRevisionCluster revision implemented; 1 for a Matter 1.6.1 device.

Attribute Details

Attribute 0 / 0x0000 — AirQuality

Path example:

1/91/0

Indicates a value from AirQualityEnum that is indicative of the currently measured air quality.

PropertyValue
TypeAirQualityEnum
ConformanceM
AccessR (read: view)
Constraintdesc

Values (AirQualityEnum):

ValueNameMeaning
0UnknownThe air quality is unknown.
1GoodThe air quality is good.
2FairThe air quality is fair.
3ModerateThe air quality is moderate.
4PoorThe air quality is poor.
5VeryPoorThe air quality is very poor.
6ExtremelyPoorThe air quality is extremely poor.

Example:

{
  "1/91/0": 1
}

Cluster 91 Commands

Cluster 91 defines no commands. It is read (and, for writable attributes, written) through attribute access only.

Cluster 91 Events

Cluster 91 defines no events.


SmartphoneKey Notes

  • Cluster 91 is not currently exposed by SmartphoneKey devices. This page documents the Matter 1.6.1 specification so that future devices can be interpreted without changes to the backend.
  • Shadow paths follow endpoint/91/attribute; attribute values that the device reports as unreadable are written as n/a.
  • Attribute IDs, command IDs and enum values on this page come from the CSA Matter 1.6.1 data model; descriptions are condensed from the specification text.