Weather card

A live sky for the current condition and time of day, with the hours ahead and a multi-day forecast.

The whole card is a live sky for the current condition and the time of day: a sun with a soft glow, or the moon in its real phase with twinkling stars, clouds that drift with the wind, rain slanted by the wind, snow, sleet, hail, fog, leaves on the wind and lightning. The temperature leads, with the condition and a plain sentence like Rain from 3 PM, then humidity, the wind and the next sunrise or sunset. An hourly and a daily forecast sit on the sky, each hour and day with a small glyph that moves like the sky. It fills the whole screen, stretches to any rectangle, sits in the middle, tucks into a corner, runs as one line in a corner or runs as a band along an edge. You set the location and time zone, choose metric or imperial units, pick how many forecast days to show, and choose whether a full or free layout shows everything, current conditions alone or the forecast alone.

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, Lobbies and reception, Schools and campuses.

Data and privacy

Feed: screenrig.weather/v1.

Feed documents carry source attribution. The Player supplies the feed to the card.

Weather attribution: Weather data by Weatherbit, as named in the feed document.

Properties

For theme, background, accent, colour overrides and position, see Common properties.

Static properties

NameTypeDefaultValues and limitsDescription
locationobjectadditionalProperties: false; Required
location.namestringmaxLength: 40; Required
location.latitudenumberminimum: -90; maximum: 90; Required
location.longitudenumberminimum: -180; maximum: 180; Required
unitsstring"metric""metric", "imperial"
showstring"auto""auto", "current", "forecast"What a full or free screen shows: everything (auto), the current conditions alone (current) or the forecast alone (forecast).
daysinteger5minimum: 3; maximum: 7
showDetailsbooleantrue
hour12booleanfalse
timeZonestring, nullnull

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 weather --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, free, 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.