Supplied travel times sit alongside usual journey durations in route bars, with congestion words and a four-step meter. The board scales to its routes: a few get large type and a big number, many tighten and page, and long names wrap at word boundaries. Through Primetime, bars grow in row by row against a slow road-interchange background and the minutes count up, accompanied by quiet feed-update cues. Restrained outlines mark heavy, severe and closed routes. Congestion thresholds, ordering and rounding are unchanged.
Live card
Category: Public information. Tags: Transit and travel, Wayfinding and directories, Weather and environment.
Data and privacy
Feed: screenrig.traveltimes/v1.
Feed documents carry source attribution. The Player supplies the feed to the card.
Properties
For theme, background, accent, colour overrides and position, see Common properties.
Static properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
title | string | "" | maxLength: 40 | Empty uses Travel times. |
count | integer | 6 | minimum: 1; maximum: 12 | |
order | string | "listed" | "listed", "fastest", "slowest" | Closed and no-data routes always come last when sorting. |
units | string | "km" | "km", "mi" | |
scaleMinutes | integer | 60 | minimum: 10; maximum: 240 | The trip length a full bar stands for at least; a longer trip on the board widens the bar scale to the next round step. |
hour12 | boolean | false | ||
timeZone | string, null | null |
Dynamic properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
origin | object, null | null | additionalProperties: false | Where the trips start; the feed's wins. |
origin.name | string | minLength: 1; maxLength: 60; Required | ||
routes | array | [] | minItems: 0; maxItems: 24 | Routes, the same rows as the screenrig.traveltimes/v1 feed's routes. A feed wins when present; the data store supplies the same rows otherwise. |
routes[].destination | string | minLength: 1; maxLength: 60; Required | ||
routes[].minutes | number | minimum: 0; maximum: 999 | The trip now. A route without it shows only when congestion is closed. | |
routes[].typicalMinutes | number | minimum: 0; maximum: 999 | The usual trip; the tick on the bar and the congestion when none is given. | |
routes[].via | string | maxLength: 60 | ||
routes[].distanceKm | number | minimum: 0; maximum: 100000 | ||
routes[].mode | string | "drive", "transit", "walk" | drive (the default), transit or walk. | |
routes[].congestion | string | "light", "moderate", "heavy", "severe", "closed" | Empty works it out from the minutes against the usual time. | |
updatedAt | string | "" | maxLength: 40 | When the times were fetched, ISO 8601 (data store only; a feed carries fetchedAt). |
Example params
{
"theme": "neomustard"
}
screenrig card create --type travel-times --major 1 --file params.json --context-file context.md
Example data
{
"origin": null,
"routes": [],
"updatedAt": ""
}
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.