Appendix D
Remote control
Everything Lunar and the Kiosk do, they do through the programming interface of the processor. The same interface is open to show control, automation and custom tools.
Principles#
- Transport. HTTP requests with JSON bodies to the management address of the processor, and a WebSocket connection for live updates.
- Session. A client logs in with a user name and password and then presents its session with each request, as a browser does.
- One state. There is one set of settings. A change made through the interface appears in Lunar and on the Kiosk, and is listed under Changes by other users.
- Same limits. Values are checked against the same ranges as in Lunar.
What can be controlled#
| Area | Examples |
|---|---|
| Source | Select the input; choose the media file or the pattern; read the detected format; freeze and resume. |
| Geometry | Scale mode, region of interest, viewport, rotation and scrolling. |
| Colour | Signal interpretation; gamma, contrast, CDL and LUT of the colour pipeline; colour replacement. |
| Output | Brightness, blackout, panel sleep, frame rate and genlock, output groups and their adjustment. |
| Calibration | Seam, panel, module and pixel gains; camera-sync settings. |
| Monitoring | State and measurements of every panel; switch and port status. |
| System | Snapshots (save, load, import), versions, software packages, files (media, LUTs, calibration). |
The most common integration is small: recall a snapshot, set the brightness, black out and restore, switch source.
NoteThe interface evolves with the software. Ask Deepsky for the reference that matches the release installed on your processor before you build on it.