Supplied port arrivals and departures are presented with the next vessel, its ETA or ETD, approach distance and berth. Primetime treatment includes a gentle countdown entrance, cyan maritime accents and a slow harbour-bollard background. Boards that hold more vessels than fit turn a page every ten seconds. Quiet cues distinguish fresh data from scheduled times. “Due now” remains an estimate, and passing an ETA does not change the supplied vessel status.
Live card
Category: Public information. Tags: Transit and travel, Schedules.
Data and privacy
Feed: screenrig.vessels/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 | "Vessel traffic" | maxLength: 40 | |
port | string | "" | maxLength: 40 | The port's name, when the feed carries none. |
windowHours | integer | 12 | minimum: 1; maximum: 48 | Vessels due later than this are left out. |
count | integer | 5 | minimum: 2; maximum: 8 | Most vessels in each of the arrivals and departures lists. |
maxDistanceKm | integer | 50 | minimum: 5; maximum: 500 | The length of the approach lane: the distance at which a vessel starts it. |
units | string | "nautical" | "nautical", "metric", "imperial" | nautical: nm and kn. metric: km and km/h. imperial: mi and mph. |
staleMinutes | integer | 15 | minimum: 1; maximum: 1440 | |
hour12 | boolean | false |
Dynamic properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
vessels | array | [] | minItems: 0; maxItems: 100 | Vessels due at or leaving the port. A feed (screenrig.vessels/v1) wins when present; the data store supplies the same rows otherwise. |
vessels[].id | string | maxLength: 40 | ||
vessels[].name | string | minLength: 1; maxLength: 40; Required | ||
vessels[].type | string | maxLength: 30 | Vessel type, for example Container ship. | |
vessels[].flag | string | maxLength: 30 | ||
vessels[].lengthM | number | minimum: 1; maximum: 500 | ||
vessels[].from | string | maxLength: 40 | Port of departure, for an arrival. | |
vessels[].to | string | maxLength: 40 | Next port, for a departure. | |
vessels[].berth | string | maxLength: 40 | ||
vessels[].eta | string | maxLength: 32 | Arrival time, ISO 8601. | |
vessels[].etd | string | maxLength: 32 | Departure time, ISO 8601. | |
vessels[].status | string | "underway", "anchored", "berthed", "departing" | A berthed or departing vessel with an etd is a departure. | |
vessels[].distanceKm | number | minimum: 0; maximum: 5000 | Distance to the port. | |
vessels[].speedKt | number | minimum: 0; maximum: 60 | ||
updated | string | "" | maxLength: 32 | When the positions were fetched, ISO 8601 (data store only; a feed carries fetchedAt). |
Example params
{
"theme": "neomustard"
}
screenrig card create --type vessel-traffic --major 1 --file params.json --context-file context.md
Example data
{
"vessels": [],
"updated": ""
}
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.