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



Views and forms
Views: canvas, corner, chip. Canvas forms: landscape, portrait, square, strip.
Card views, themes and publishing. Browse the gallery.
Data and privacy
This card uses its configured properties and live card data.
Properties
For theme, background, accent and position, see Common properties.
Set static properties in params. Bind data to a project card data key for live values; that document holds only dynamic properties. Without a data key, put the complete configuration in params. Nested rows describe the contents of their parent property.
Static properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
title | string | "Conditions" | maxLength: 40 | |
openLabel | string | "open" | maxLength: 16 | The word after the count: open, playable, swimmable. |
pageSeconds | integer | 10 | minimum: 4; maximum: 60 | When the groups do not fit, the seconds each page stays up. |
hour12 | boolean | false |
Dynamic properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
summary | string | "" | maxLength: 120 | The headline: Powder day, 24 cm new. |
updated | string | "" | maxLength: 32 | When the report was made, ISO 8601. |
facts | array | [] | minItems: 0; maxItems: 6 | The day's readings: Base 142 cm, Water 28°. |
facts[].label | string | minLength: 1; maxLength: 24; Required | ||
facts[].value | string | minLength: 1; maxLength: 16; Required | ||
facts[].detail | string | "" | maxLength: 24 | |
groups | array | [] | minItems: 0; maxItems: 8 | |
groups[].name | string | minLength: 1; maxLength: 120; Required | ||
groups[].items | array | minItems: 0; maxItems: 40; Required | ||
groups[].items[].name | string | minLength: 1; maxLength: 120; Required | ||
groups[].items[].status | string | "open" | "open", "limited", "hold", "scheduled", "closed" | |
groups[].items[].note | string | "" | maxLength: 80 | A line beside the name: Groomed, Expected 10:30, Wait 5 min. |
alert | string | "" | maxLength: 160 | A notice for everyone, shown in a band: Lightning in the area. |
footnote | string | "" | maxLength: 160 |
Canvas example
Add this item to a playlist page’s primitives. Publish the playlist and assign a screen.
{
"id": "conditions",
"primitive": "card",
"card": "conditions",
"major": 1,
"params": {
"theme": "neomustard"
},
"rect": {
"x": 0,
"y": 0,
"width": 1920,
"height": 1080
},
"layer": 0,
"content_fit": "fill",
"data": "conditions-main"
}
Write live data
Create this document before showing the card, then replace it to update the screen without republishing. Use the same project as the playlist. Supply your API authorization through the environment; see API authentication.
curl --request PUT "https://api.screenrig.ai/api/card-data/conditions-main" \
--header "Authorization: Bearer $SCREENRIG_TOKEN" \
--header "ScreenRig-Project: $SCREENRIG_PROJECT" \
--header "Content-Type: application/json" \
--data '{"document":{"summary":"","updated":"","facts":[],"groups":[],"alert":"","footnote":""}}'