The screen shows the time in huge, clear figures made to be read from across a room. It fills the screen, sits in the middle, tucks into a corner, runs as one line or stretches as a band along an edge. You choose the face from digital, analog, words, flip cards, lamps, rings or a ruler, pick 12-hour, 24-hour or military time, add seconds and a date, and set a time zone and strip style.
Live card
Category: Time. Tags: Clocks and calendars, Offices and workplaces, Lobbies and reception, Stores.
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 |
|---|---|---|---|---|
face | string | "digital" | "digital", "analog", "words", "flip", "sets", "rings", "ruler" | |
hourCycle | string | "24" | "12", "24", "military" | 12: 2:05 PM. 24: 14:05. military: 1405, four digits with no separator (and HRS when the suffix shows). |
showSeconds | boolean | false | ||
showSuffix | boolean | true | The AM or PM beside a 12-hour time, or HRS beside military time. | |
showDate | boolean | true | ||
dateFormat | string | "long" | "long", "short", "numeric" | |
timeZone | string, null | null | IANA zone; null uses the screen's zone. | |
label | string | "" | maxLength: 40 | |
stripStyle | string | "timeline" | "timeline", "sweep", "zones", "week" | What fills a strip beside the time. timeline: the day as a ruler with a now marker, daylight and the part gone. sweep: the time centred with a fill that crosses the strip each minute. zones: the cities in zones as compact cells. week: weekday, date, ISO week and day of the year. |
zones | array | [] | maxItems: 4 | Other cities for the zones strip, two to four. |
zones[].label | string | minLength: 1; maxLength: 24; Required | ||
zones[].timeZone | string | minLength: 1; maxLength: 64; Required | IANA zone. | |
location | object, null | null | additionalProperties: false | Where the clock is. The timeline strip shades night between sunset and sunrise there; without it the day runs 6:00 to 18:00. |
location.latitude | number | minimum: -90; maximum: 90; Required | ||
location.longitude | number | minimum: -180; maximum: 180; Required |
Dynamic properties
This card has no dynamic properties.
Example params
{
"theme": "neomustard",
"location": {
"latitude": 49.25,
"longitude": -123.0
}
}
screenrig card create --type clock --major 1 --file params.json
Layouts
This core card fits every layout: full screen, center, wide, corner, chip, strip, or any free rectangle.
Layouts: full, 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 and place it with the layouts and anchors.