Dining halls card

Open campus dining halls now: how long the line is, the meal being served and until when, and what each station serves.

Each open hall leads with how long the line is, over a bar for how busy it is, then the meal being served and until when, and what each station serves. Halls that open later, are done for the day or are closed are listed with when. One hall fills the screen; many halls become rows so every one shows.

Live card

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

Category: Schools. Tags: Schools and campuses, Schedules, Queues and waits.

Data and privacy

Feed: screenrig.dining/v1.

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

Counts and menus only, never who is eating.

Properties

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

Static properties

NameTypeDefaultValues and limitsDescription
titlestring"Dining halls"maxLength: 40
sortstring"status""status", "feed"status lists open halls first, then those opening later, then closed ones; feed keeps the order given.
busyLowinteger40minimum: 1; maximum: 90Under this percent full a hall reads Quiet.
busyHighinteger75minimum: 10; maximum: 100At or above this percent full a hall reads Busy.
maxStationsinteger4minimum: 0; maximum: 6
showStationsbooleantrue
staleMinutesinteger30minimum: 1; maximum: 1440
hour12booleanfalse
timeZonestring, nullnull

Dynamic properties

NameTypeDefaultValues and limitsDescription
hallsarray[]maxItems: 8The halls. A feed (screenrig.dining/v1) wins when present; the data store supplies the same rows otherwise.
halls[].namestringminLength: 1; maxLength: 40; Required
halls[].locationstringmaxLength: 40
halls[].closedbooleanfalseClosed all day (a break, a holiday); note says why.
halls[].notestringmaxLength: 60
halls[].mealsarraymaxItems: 8Today's serving times.
halls[].meals[].kindstringmaxLength: 20; Requiredbreakfast, brunch, lunch, dinner, late-night or snack; other text shows as written.
halls[].meals[].startstringmaxLength: 32; RequiredISO 8601; with an offset or wall time in the screen's zone.
halls[].meals[].endstringmaxLength: 32; Required
halls[].busyPercentintegerminimum: 0; maximum: 100How full the hall is now.
halls[].waitMinutesintegerminimum: 0; maximum: 240The line, in minutes.
halls[].stationsarraymaxItems: 12
halls[].stations[].namestringmaxLength: 30; Required
halls[].stations[].mealstringmaxLength: 20Shows only in this meal; empty: every meal.
halls[].stations[].itemsarraymaxItems: 6
updatedstring""maxLength: 32When the readings were taken, ISO 8601 (data store only; a feed carries fetchedAt).

Example params

{
  "theme": "neomustard"
}
screenrig card create --type dining-halls --major 1 --file params.json --context-file context.md

Example data

{
  "halls": [],
  "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.