Skip to content

Air quality tile

CO₂, fine dust and VOC, coloured by how good they are.

In a dashboard file: "type": "airquality", with the options below. Every tile also has the fields under Every tile.

A tile, as it goes in a screen’s tiles:

{
"type": "airquality",
"label": "Living room",
"layout": { "x": 1, "y": 1, "width": 2, "height": 2 },
"dataSource": { "connection": "demo", "params": { "device": "living-air" } }
}

It reads the demo home: in a dashboard with the connection "demo": { "driver": "demo", "config": {} }, it works as it is. To read a device of your own, its data source names one of your connections, with the params of that connection’s driver (Connections and data sources).

Field Type Default What
source data source name primary Sensor. One of the tile’s data sources, by name, that gives a record.

The styles the app offers for it, after “The dashboard’s style”. Style files says what they set.

  • Centred
  • Left aligned
  • Compact
  • Icon at the left