Library and group study rooms free now appear with how long they remain free. Booked rooms list when they free up.
Live card
Category: Schools. Tags: Schools and campuses, Wayfinding and directories, Queues and waits.
Data and privacy
Feed: screenrig.rooms/v1.
Feed documents carry source attribution. The Player supplies the feed to the card.
Times only: booking titles and names never show.
Properties
For theme, background, accent, colour overrides and position, see Common properties.
Static properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
title | string | "Study rooms" | maxLength: 40 | |
minFreeMinutes | integer | 20 | minimum: 0; maximum: 240 | A room free for less than this reads as booked soon, not free. |
opensAt | string | "" | maxLength: 5 | When the library opens, HH:MM in the screen's zone. Empty: always open. |
closesAt | string | "" | maxLength: 5 | When the library closes, HH:MM. Rooms read free until then; empty: until the day's end. |
sort | string | "free" | "free", "feed" | free puts the room free the longest first; feed keeps the order given. |
showSeats | boolean | true | ||
staleMinutes | integer | 10 | minimum: 1; maximum: 1440 | |
hour12 | boolean | false | ||
timeZone | string, null | null |
Dynamic properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
rooms | array | [] | maxItems: 60 | The rooms. A feed (screenrig.rooms/v1) wins when present; the data store supplies the same rows otherwise. |
rooms[].name | string | minLength: 1; maxLength: 40; Required | ||
rooms[].floor | string | maxLength: 24 | Level 2. | |
rooms[].capacity | integer | minimum: 1; maximum: 500 | Seats. | |
rooms[].events | array | maxItems: 60 | The room's bookings. Titles and names never show. | |
rooms[].events[].start | string | maxLength: 32; Required | ISO 8601; with an offset or wall time in the screen's zone. | |
rooms[].events[].end | string | maxLength: 32 | Without it a booking lasts an hour. | |
updated | string | "" | maxLength: 32 | When the bookings were read, ISO 8601 (data store only; a feed carries fetchedAt). |
Example params
{
"theme": "neomustard"
}
screenrig card create --type study-rooms --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.