Tides card

Today’s tide curve for a supplied station: a now marker, the current height, whether the tide is rising or falling, and the next high and low with their times and heights. Heights in metres or feet.

Built from the supplied station’s extremes in the screenrig.tides/v1 feed, with its optional dense series where provided, this view shows the daily curve, current height, and next high and low. Between extremes, the line follows a cosine; interpolation and unit conversion keep to the existing feed rules. Primetime introduces the height gently and adds quiet, synchronised cues at supplied extremes and feed updates. Stale tables remain marked as stale.

Live card

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

Category: Weather. Tags: Weather and environment, Charts and gauges, Transit and travel.

Data and privacy

Feed: screenrig.tides/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
locationobjectadditionalProperties: falseWhere the tide is for: the nearest NOAA tide prediction station within 100 km serves the board when station is empty. {screen.location} takes the screen's own place.
location.namestringmaxLength: 40; Required
location.latitudenumberminimum: -90; maximum: 90; Required
location.longitudenumberminimum: -180; maximum: 180; Required
stationstring""pattern: "^([0-9A-Za-z]{7})?$"A NOAA tide prediction station id, seven characters (for example 9449880). It wins over location.
unitsstring"auto""auto", "m", "ft"Heights in metres or feet. auto uses the feed's own units.
hour12booleanfalse
timeZonestring, nullnullIANA zone for the day shown; null uses the screen's zone.

Dynamic properties

This card has no dynamic properties.

Example params

{
  "theme": "neomustard",
  "location": {
    "name": "Vancouver",
    "latitude": 49.25,
    "longitude": -123.0
  }
}
screenrig card create --type tides --major 1 --file params.json --context-file context.md

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 and place it with the layouts and anchors.