Network status card

Whether the network is up: the verdict, clients, throughput, WAN links and the devices that need attention.

Category: Operations. Tags: Offices and workplaces, Numbers and metrics, Alerts and status.

Previews

Network status
Canvas
Network status
Corner
Network status
Chip

Views and forms

Views: canvas, corner, chip. Canvas forms: landscape, portrait, square, strip.

Card views, themes and publishing. Browse the gallery.

Data and privacy

Feed: screenrig.network/v1.

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

Shows device names and client counts only; never a client's name, address or traffic.

Properties

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

Set static properties in params. Bind data to a project card data key for live values; that document holds only dynamic properties. Without a data key, put the complete configuration in params. Nested rows describe the contents of their parent property.

Static properties

NameTypeDefaultValues and limitsDescription
titlestring"Network status"maxLength: 40
staleMinutesinteger10minimum: 1; maximum: 1440A feed older than this shows how long ago it updated.

Dynamic properties

NameTypeDefaultValues and limitsDescription
sitestring""maxLength: 60The site the network is at; the feed's wins.
wanarray[]maxItems: 6WAN links, the same document as the screenrig.network/v1 feed's wan.
wan[].namestringminLength: 1; maxLength: 40; RequiredThe link (Fibre, Cable, 5G backup).
wan[].statusstring"up"maxLength: 24up, degraded, down or updating.
wan[].latencyMsnumber, nullnullminimum: 0; maximum: 100000
wan[].downMbpsnumber, nullnullminimum: 0; maximum: 1000000The link's current download rate.
devicesarray[]maxItems: 200Devices, the same document as the feed's devices.
devices[].namestringminLength: 1; maxLength: 40; RequiredThe device's name.
devices[].kindstring"other"maxLength: 24ap, switch or gateway; anything else is a device.
devices[].statusstring"online"maxLength: 24online, degraded, offline or updating.
devices[].clientsinteger, nullnullminimum: 0; maximum: 100000Clients on an access point.
clientsinteger, nullnullminimum: 0; maximum: 10000000Clients on the network; empty adds up the devices' clients.
clientSeriesarray[]maxItems: 60Clients each minute, oldest first; the last 30 are drawn.
downMbpsnumber, nullnullminimum: 0; maximum: 10000000Download throughput now.
upMbpsnumber, nullnullminimum: 0; maximum: 10000000Upload throughput now.
downSeriesarray[]maxItems: 60Download Mbps each minute, oldest first; the last 30 are drawn.

Canvas example

Add this item to a playlist page’s primitives. Publish the playlist and assign a screen.

{
  "id": "network-status",
  "primitive": "card",
  "card": "network-status",
  "major": 1,
  "params": {
    "theme": "neomustard"
  },
  "rect": {
    "x": 0,
    "y": 0,
    "width": 1920,
    "height": 1080
  },
  "layer": 0,
  "content_fit": "fill",
  "data": "network-status-main"
}

Write live data

Create this document before showing the card, then replace it to update the screen without republishing. Use the same project as the playlist. Supply your API authorization through the environment; see API authentication.

curl --request PUT "https://api.screenrig.ai/api/card-data/network-status-main" \
  --header "Authorization: Bearer $SCREENRIG_TOKEN" \
  --header "ScreenRig-Project: $SCREENRIG_PROJECT" \
  --header "Content-Type: application/json" \
  --data '{"document":{"site":"","wan":[],"devices":[],"clients":null,"clientSeries":[],"downMbps":null,"upMbps":null,"downSeries":[]}}'