Each residence hall laundry room gets a count of free washers and free dryers. Supplied minutes left appear on running machines when enabled; cycle-complete, out-of-order and no-reading states stay distinct from free machines.
Live card
Category: Schools. Tags: Schools and campuses, Queues and waits.
Data and privacy
Feed: screenrig.laundry/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 | "Laundry" | maxLength: 40 | |
showMinutes | boolean | true | Minutes left inside a running machine when the machine is big enough. | |
staleMinutes | integer | 15 | minimum: 1; maximum: 1440 | |
hour12 | boolean | false | ||
timeZone | string, null | null |
Dynamic properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
rooms | array | [] | minItems: 0; maxItems: 6 | Laundry rooms with their machines. A feed (screenrig.laundry/v1) wins when present; the data store supplies the same rows otherwise. |
rooms[].name | string | minLength: 1; maxLength: 40; Required | ||
rooms[].building | string | maxLength: 40 | ||
rooms[].machines | array | maxItems: 60; Required | ||
rooms[].machines[].kind | string | "washer", "dryer"; Required | ||
rooms[].machines[].status | string | "free", "running", "done", "out", "offline"; Required | free: ready to use. running: in a cycle. done: the cycle finished, clothes still inside. out: out of order. offline: no reading. | |
rooms[].machines[].minutesLeft | number | minimum: 0; maximum: 600 | ||
updated | string | "" | maxLength: 32 | When the readings were taken, ISO 8601 (data store only; a feed carries fetchedAt). |
Example params
{
"theme": "neomustard"
}
screenrig card create --type laundry-room --major 1 --file params.json --context-file context.md
Example data
{
"rooms": [],
"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.