Category: Operations. Tags: Alerts and status, Factories and warehouses, Numbers and metrics.
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 | "" | maxLength: 40 | Empty uses Production floor. |
order | string | "listed" | "listed", "attention" | Attention puts stopped lines first, then warning, changeover, idle and running. |
showClock | boolean | true | ||
hour12 | boolean | false | ||
timeZone | string, null | null |
Dynamic properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
lines | array | [] | minItems: 0; maxItems: 8 | |
lines[].name | string | minLength: 1; maxLength: 40; Required | ||
lines[].status | string | "" | maxLength: 20 | running, warning, stopped, idle or changeover. Left out, it comes from the stations: stopped, then warning, then changeover, then running, else idle. Also read: run, ok, active, normal, producing; warn, attention; stop, down, fault, error, e-stop, halted; paused, standby, off, offline; setup. Any other word reads as a warning. |
lines[].reason | string | "" | maxLength: 80 | Why the line is in this status. Left out, the first station in the same status supplies it. |
lines[].since | string | "" | maxLength: 32 | When the line entered this status (ISO 8601 with an offset). Left out, the first station in the same status supplies it. |
lines[].stations | array | [] | maxItems: 12 | |
lines[].stations[].name | string | minLength: 1; maxLength: 30; Required | ||
lines[].stations[].status | string | "" | maxLength: 20 | |
lines[].stations[].reason | string | "" | maxLength: 80 | |
lines[].stations[].since | string | "" | maxLength: 32 | |
footnote | string | "" | maxLength: 120 | A shift or plant note along the foot. |
Canvas example
Add this item to a playlist page’s primitives. Publish the playlist and assign a screen.
{
"id": "andon",
"primitive": "card",
"card": "andon",
"major": 1,
"params": {
"theme": "neomustard"
},
"rect": {
"x": 0,
"y": 0,
"width": 1920,
"height": 1080
},
"layer": 0,
"content_fit": "fill",
"data": "andon-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/andon-main" \
--header "Authorization: Bearer $SCREENRIG_TOKEN" \
--header "ScreenRig-Project: $SCREENRIG_PROJECT" \
--header "Content-Type: application/json" \
--data '{"document":{"lines":[],"footnote":""}}'