Skip to content
SBC-Standard The data standard for libraries

monitor.list, monitor.set and monitor.mark

Commands
monitor.list, monitor.set, monitor.mark
Area
device (monitor)
Profile
manageable
Response
see below

Where several screens are attached to the same computer, setting things up requires clarity about which one belongs to the patron display. These three commands turn that into a matter of seconds instead of guesswork in a configuration file.

monitor.list#

{"v":1,"cmd":"monitor.list"}
{"v":1,"ok":true,"result":{"monitors":[
   {"index":0,"w":1920,"h":1080,"primary":true},
   {"index":1,"w":1920,"h":1080}]}}

monitor.set#

{"v":1,"cmd":"monitor.set","index":1}

Moves the display to the screen given. An unknown index yields 404.

monitor.mark#

{"v":1,"cmd":"monitor.mark","index":1,"ms":3000}

Shows the number of the screen in large type for the time given. Without index this happens on all screens – so a single glance shows which number belongs to which.

Field Required Content
index no number of the screen; without it, all of them
ms no duration in milliseconds, default 3000

ms is deliberately given in milliseconds here rather than seconds: this is a brief flash during setup, not a dwell time in daily use.

This page was translated automatically from the German original. If anything reads oddly or looks wrong, please let us know — the German edition prevails.