The screen shows one big air quality number with its category word, one plain sentence, a scale with a marker at the reading, and the UV index beside it, sized to read from across a room. It fills the screen, sits in the middle, tucks into a corner, runs as one line, or stretches as a band along an edge. You choose the place for the readings, a title or the place name, whether to show the UV index beside it, how the reading time is written, and whether it stays always or shows only above a level you set.
Live card
Category: Weather. Tags: Weather and environment, Numbers and metrics.
Data and privacy
Feed: screenrig.airquality/v1.
Feed documents carry source attribution. The Player supplies the feed to the card.
Properties
For theme, background, accent, colour overrides and position, see Common properties.
Static properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
title | string | "" | maxLength: 40 | Empty uses the location name. |
showUv | boolean | true | Show the UV index beside the air quality index. With no air quality reading, the UV index is the hero. | |
hourCycle | string | "24" | "12", "24", "military" | How the time of the reading is written: 12 hour with AM or PM, 24 hour (13:00), or military (1300). |
timeZone | string, null | null | ||
presence | string | "always" | "always", "unhealthy" | always: the card is always shown. unhealthy: only while the air quality index is above presenceFrom (a stale or missing reading keeps it shown). |
presenceFrom | integer | 100 | minimum: 0; maximum: 500 | With presence unhealthy, the index above which the card is shown (100: from unhealthy for sensitive groups). |
location | object | additionalProperties: false | Place the readings are for. Selects the feed. | |
location.name | string | maxLength: 40; Required | ||
location.latitude | number | minimum: -90; maximum: 90; Required | ||
location.longitude | number | minimum: -180; maximum: 180; Required |
Dynamic properties
This card has no dynamic properties.
Example params
{
"theme": "neomustard",
"location": {
"name": "Vancouver",
"latitude": 49.25,
"longitude": -123.0
}
}
screenrig card create --type air-quality --major 1 --file params.json --context-file context.md
Layouts
This core card fits every layout: full screen, center, wide, corner, chip, strip, or any free rectangle.
Layouts: full, free, center, wide, corner, chip, strip. Forms: landscape, portrait, square, strip.
Use this card
Add this card to a playlist as in Publish a card canvas and place it with the layouts and anchors.