Vessel Traffic card

Arrivals and departures for a port, led by the next arrival — its countdown, approach to the berth and the movements that follow.

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

This card is drawn in your browser by the same code the Players run, with sample data.

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

NameTypeDefaultValues and limitsDescription
titlestring"Vessel traffic"maxLength: 40
portstring""maxLength: 40The port's name, when the feed carries none.
windowHoursinteger12minimum: 1; maximum: 48Vessels due later than this are left out.
countinteger5minimum: 2; maximum: 8Most vessels in each of the arrivals and departures lists.
maxDistanceKminteger50minimum: 5; maximum: 500The length of the approach lane: the distance at which a vessel starts it.
unitsstring"nautical""nautical", "metric", "imperial"nautical: nm and kn. metric: km and km/h. imperial: mi and mph.
staleMinutesinteger15minimum: 1; maximum: 1440
hour12booleanfalse

Dynamic properties

NameTypeDefaultValues and limitsDescription
vesselsarray[]minItems: 0; maxItems: 100Vessels due at or leaving the port. A feed (screenrig.vessels/v1) wins when present; the data store supplies the same rows otherwise.
vessels[].idstringmaxLength: 40
vessels[].namestringminLength: 1; maxLength: 40; Required
vessels[].typestringmaxLength: 30Vessel type, for example Container ship.
vessels[].flagstringmaxLength: 30
vessels[].lengthMnumberminimum: 1; maximum: 500
vessels[].fromstringmaxLength: 40Port of departure, for an arrival.
vessels[].tostringmaxLength: 40Next port, for a departure.
vessels[].berthstringmaxLength: 40
vessels[].etastringmaxLength: 32Arrival time, ISO 8601.
vessels[].etdstringmaxLength: 32Departure time, ISO 8601.
vessels[].statusstring"underway", "anchored", "berthed", "departing"A berthed or departing vessel with an etd is a departure.
vessels[].distanceKmnumberminimum: 0; maximum: 5000Distance to the port.
vessels[].speedKtnumberminimum: 0; maximum: 60
updatedstring""maxLength: 32When 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.