Each service line shows its estimated wait as a number and a bar, both coloured for short, moderate or long so the length reads at a glance. It fills the screen, stretches to any rectangle, sits in the middle, tucks into a corner, runs as one line or as a band along an edge. You set the service lines, the order by shortest or longest first or by name, the minutes where a wait turns moderate and long, the wait that fills a bar, and the line shown in the corner and as one line.
Live card
Category: Retail. Tags: Queues and waits, Healthcare, Restaurants and cafes, Stores, Charts and gauges.
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
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
title | string | "Wait times" | maxLength: 40 | |
order | string | "listed" | "listed", "shortest", "longest", "name" | listed: as given. shortest or longest wait first, closed and unknown lines last. name: A to Z. |
moderateFrom | integer | 15 | minimum: 1; maximum: 500 | Minutes at which a wait stops being short. |
longFrom | integer | 30 | minimum: 2; maximum: 500 | Minutes at which a wait is long (always above moderateFrom). |
scaleMinutes | integer | 60 | minimum: 10; maximum: 480 | The wait that fills a bar. |
focus | string | "rotate" | "rotate", "shortest", "longest", "first" | Which line the corner and the chip show: rotate through them on the wall clock, the shortest wait, the longest, or the first listed. Any other than rotate also makes the center a single line. |
presence | string | "always" | "always", "long" | long: the card shows only while a line is at or above longFrom. |
hourCycle | string | "12" | "12", "24", "military" | How the update time is written: 2:05 PM, 14:05 or 1405. |
Dynamic properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
lines | array | [] | minItems: 0; maxItems: 12 | |
lines[].name | string | minLength: 1; maxLength: 40; Required | ||
lines[].minutes | integer | minimum: 0; maximum: 999 | The estimated wait. 0 reads as no wait; left out, the line shows a dash. | |
lines[].closed | boolean | false | ||
lines[].note | string | "" | maxLength: 40 | A line under the name: a location, a lane, a reason. |
lines[].short | string | "" | maxLength: 14 | A shorter name for the chip, the corner and the strip. |
lines[].previous | integer | minimum: 0; maximum: 999 | The wait before it changed. With updatedAt, the numeral counts from it to the new wait on every screen together. | |
footnote | string | "" | maxLength: 120 | |
updatedAt | string | "" | maxLength: 40 | ISO instant the estimates changed. With a line's previous, the numerals count and the bars ease from it. |
Example params
{
"theme": "neomustard"
}
screenrig card create --type wait-times --major 1 --file params.json --context-file context.md
Example data
{
"lines": [],
"footnote": "",
"updatedAt": ""
}
Layouts
This core card fits every layout: full screen, center, wide, corner, chip, strip, or any free rectangle.
Layouts: full, free, center, wide, corner, chip, strip. Forms: landscape, portrait, square, strip.
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.