Conditions report card

The state of a place at a glance: lifts, trails, pools, beaches or holes open, limited, on hold or closed, with a headline count and the day's key readings.

Live card

This card is drawn in your browser by the same code the Players run, with sample data.

Category: Weather. Tags: Weather and environment, Transit and travel.

Data and privacy

This card uses its configured properties and live card data.

Properties

For theme, background, accent, colour overrides and position, see Common properties.

Static properties

NameTypeDefaultValues and limitsDescription
titlestring"Conditions"maxLength: 40
openLabelstring"open"maxLength: 16The word after the count: open, playable, swimmable.
pageSecondsinteger10minimum: 4; maximum: 60When the groups do not fit, the seconds each page stays up.
hour12booleanfalse

Dynamic properties

NameTypeDefaultValues and limitsDescription
summarystring""maxLength: 120The headline: Powder day, 24 cm new.
updatedstring""maxLength: 32When the report was made, ISO 8601.
factsarray[]minItems: 0; maxItems: 6The day's readings: Base 142 cm, Water 28°.
facts[].labelstringminLength: 1; maxLength: 24; Required
facts[].valuestringminLength: 1; maxLength: 16; Required
facts[].detailstring""maxLength: 24
groupsarray[]minItems: 0; maxItems: 8
groups[].namestringminLength: 1; maxLength: 120; Required
groups[].itemsarrayminItems: 0; maxItems: 40; Required
groups[].items[].namestringminLength: 1; maxLength: 120; Required
groups[].items[].statusstring"open""open", "limited", "hold", "scheduled", "closed"
groups[].items[].notestring""maxLength: 80A line beside the name: Groomed, Expected 10:30, Wait 5 min.
alertstring""maxLength: 160A notice for everyone, shown in a band: Lightning in the area.
footnotestring""maxLength: 160

Example params

{
  "theme": "neomustard"
}
screenrig card create --type conditions --major 1 --file params.json --context-file context.md

Example data

{
  "summary": "",
  "updated": "",
  "facts": [],
  "groups": [],
  "alert": "",
  "footnote": ""
}

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.