b4ck5p4c3 / B4CKSP4CE-Display

Matrix display API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Space Display

Preview
Build status

REST API, Websocket & Lua interpreter for B4CKSP4CE hackerspace LED display. Backend written using Spring Framework. Fronted written using React + node.js.

Swagger available at /swagger-ui/index.html
To find the web panel /

Quick run

  1. Download & install Java 17 (link)
  2. Download latest release of Space Display
  3. java -jar spaceDisplay.jar --data.path=data --display.printer.serial.port=/dev/serial/by-id/DISPLAY_ID --server.baseUrl=http://SERVER_URL:8080 (replace DISPLAY_ID with your device)

Available parameters

--server.port=8080 - API Port

--server.baseUrl=<URL> - Space Display URL where available. Used for frontend configuration. Required if you want use frontend

--display.default.scriptId=<UUID> - UUID of default script. It starts on app boot

--data.path=<PATH> - Path where app files will be stored. Required

--display.printer.serial.port=<PATH> - Display serial path. If there is only one serial, it will be detected automatically, else required

display.width=40 - Width of display. Data will be truncated to this value

display.height=32 - Height of display. Like width but height.

display.printer.serial.baudRate=115200 - BitRate of serial

display.printer.serial.dataBits=8 - Data bits

display.printer.serial.stopBits=1 - Stop bits

display.printer.serial.parity=0 - Parity (PARITY_NONE = 0; PARITY_ODD = 1; PARITY_EVEN = 2; PARITY_MARK = 3; PARITY_SPACE = 4;)

Frontend

Frontend integrated with .jar, but if you want you can run it separately. See #

Contribution

About

Matrix display API


Languages

Language:Java 52.0%Language:JavaScript 39.7%Language:Lua 4.2%Language:CSS 2.8%Language:HTML 1.3%Language:Shell 0.0%