Category: Schools. Tags: Countdowns and timers, Schools and campuses.
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 |
|---|---|---|---|---|
icon | string | "timer-01" | "timer-01", "hourglass", "walking", "restaurant-01", "music-note-01", "sparkles", "star", "bell-ring", "user-group", "target-02" | The picture beside the label. |
warnSeconds | integer | 60 | minimum: 0; maximum: 600 | In the last seconds the wedge and the digits turn to the warning colour. 0 never warns. |
showDigits | boolean | true | False shows only the wedge, for the youngest children. |
Dynamic properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
label | string | "Activity time" | maxLength: 40 | What the time is for, for example Clean up or Silent reading. |
minutes | integer | 10 | minimum: 1; maximum: 180 | How long the activity lasts. |
startAt | string | "" | maxLength: 40 | ISO 8601 instant the timer starts (a time without an offset is wall time in the screen's zone). Empty shows the timer ready, full. |
doneText | string | "Time's up" | maxLength: 30 |
Canvas example
Add this item to a playlist page’s primitives. Publish the playlist and assign a screen.
{
"id": "activity-timer",
"primitive": "card",
"card": "activity-timer",
"major": 1,
"params": {
"theme": "neomustard"
},
"rect": {
"x": 0,
"y": 0,
"width": 1920,
"height": 1080
},
"layer": 0,
"content_fit": "fill",
"data": "activity-timer-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/activity-timer-main" \
--header "Authorization: Bearer $SCREENRIG_TOKEN" \
--header "ScreenRig-Project: $SCREENRIG_PROJECT" \
--header "Content-Type: application/json" \
--data '{"document":{"label":"Activity time","minutes":10,"startAt":"","doneText":"Time'\''s up"}}'