ReferenceDevice capabilities
air-quality-sensor
Multi-metric air-quality slice.
Multi-metric air-quality slice. Covers CO₂, total VOCs, particulate matter at PM2.5 / PM10, and a derived AQI index — all optional so a single-metric source populates only what it observes. Mirrors the HA sensor device_class set (co2, volatile_organic_compounds, pm25, pm10, aqi) collapsed into one cap because a typical air-quality node reports several of these together; modelling them as siblings keeps a single timestamp + one slice subscription.
At a glance
| Capability | air-quality-sensor |
| Provided by | The device's own driver provides it: each device registers its own provider. |
| Active providers per device | one |
| Device types | sensor |
| Source | packages/types/src/capabilities/air-quality-sensor.cap.ts |
Methods
This capability declares no methods.
Runtime state
The state Dominevo keeps for each device with this capability, readable without calling the provider.
| Field | Type | Required | Description |
|---|---|---|---|
co2 | number | no | Carbon dioxide concentration in ppm. |
voc | number | no | Total volatile organic compounds in ppb. |
pm25 | number | no | Particulate matter ≤ 2.5 μm in µg/m³. |
pm10 | number | no | Particulate matter ≤ 10 μm in µg/m³. |
aqi | number | no | Composite AQI value (typically 0..500). |
lastFetchedAt | number | yes | Ms epoch when the slice was last updated. |