The call follows the supplied conditions and configured limits. An office override can set indoor or outdoor recess with a note; the four checks remain visible beneath it.
Live card
Category: Schools. Tags: Schools and campuses, Weather and environment.
Data and privacy
Feed: screenrig.recess/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 | "Recess call" | maxLength: 40 | |
school | string | "" | maxLength: 60 | Shown beside the title. A feed's place name fills it when empty. |
units | string | "metric" | "metric", "imperial" | Temperatures, wind and rain on screen. The limits below stay in metric. |
minFeelsLikeC | number | -15 | minimum: -50; maximum: 10 | Recess moves indoors when it feels this cold or colder (wind chill included), in degrees Celsius. |
maxFeelsLikeC | number | 32 | minimum: 20; maximum: 55 | Recess moves indoors when it feels this hot or hotter, in degrees Celsius. |
maxWindKph | number | 50 | minimum: 15; maximum: 120 | Recess moves indoors at this wind speed, or at gusts of 1.4 times it, in km/h. |
maxAqi | integer | 100 | minimum: 50; maximum: 300 | Recess moves indoors when the US air quality index is above this. |
staleMinutes | integer | 90 | minimum: 10; maximum: 1440 | |
hour12 | boolean | false | ||
timeZone | string, null | null |
Dynamic properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
current | object, null | null | additionalProperties: false | The conditions now, from the data store. A feed (screenrig.recess/v1) wins when present. |
current.temperatureC | number | minimum: -80; maximum: 60 | ||
current.apparentC | number | minimum: -90; maximum: 70 | Feels like. Without it the card works out the wind chill from the temperature and wind. | |
current.windKph | number | minimum: 0; maximum: 400 | ||
current.gustKph | number | minimum: 0; maximum: 500 | ||
current.condition | string | "clear", "partly-cloudy", "cloudy", "fog", "drizzle", "rain", "heavy-rain", "snow", "sleet", "thunderstorm", "wind" | ||
current.precipitationMm | number | minimum: 0; maximum: 500 | Rain or melted snow in the last hour. | |
aqi | number, null | null | minimum: 0; maximum: 1000 | US air quality index from the data store. |
observedAt | string | "" | maxLength: 32 | When the conditions were read, ISO 8601 (data store only; a feed carries observedAt). |
outlook | array | [] | minItems: 0; maxItems: 12 | The next hours, from the data store. A feed's outlook wins when present. |
outlook[].at | string | maxLength: 32; Required | ||
outlook[].apparentC | number | minimum: -90; maximum: 70 | ||
outlook[].temperatureC | number | minimum: -80; maximum: 60 | ||
outlook[].windKph | number | minimum: 0; maximum: 400 | ||
outlook[].condition | string | "clear", "partly-cloudy", "cloudy", "fog", "drizzle", "rain", "heavy-rain", "snow", "sleet", "thunderstorm", "wind" | ||
outlook[].precipitationPct | number | minimum: 0; maximum: 100 | ||
override | string | "auto" | "auto", "outdoor", "indoor" | The office's call. auto follows the conditions. |
note | string | "" | maxLength: 80 | Why the office made the call. Shown under the verdict when override is not auto. |
Example params
{
"theme": "neomustard"
}
screenrig card create --type recess-call --major 1 --file params.json --context-file context.md
Example data
{
"current": null,
"aqi": null,
"observedAt": "",
"outlook": [],
"override": "auto",
"note": ""
}
Layouts
This fullscreen card fills the whole screen in landscape or portrait and is not placed as a corner, chip, or strip.
Layouts: full. Forms: landscape, portrait.
Use this card
Add this card to a playlist as in Publish a card canvas, place it with the layouts and anchors and update its data as in Write live values.