Hub / Hardware / Gateway

live / firmware

Gateway

Match server — positions, spells, lighting & audio bridges.

Gateway concept
Product concept — not a photograph

Engineering

Gateway — match server live

Node.js match server with Postgres and admin UI (gateway_server/). Aggregates UWB positions, runs game rules, and bridges spell/position streams to lighting and audio controllers.

Responsibilities

  • Game state, spells, HP/mana, treasure nodes
  • UWB position aggregation / multilateration
  • LED auto-mapping for obstacle fleet
  • UDP bridges to lighting (:4123/:4124) and audio (:4120/:4121)
  • Admin, device management, OTA coordination

What it is not

Unity is for environment collision and VFX sync — not arena audio output or LED addressing. Lighting/audio controllers are separate services that consume gateway UDP streams.

Canonical architecture: REAL_ARENA.md, ARCHITECTURE.md.

CAPEX line
Used SFF PC is part of the ~21k CZK gateway + charger + hazer + props bucket; full v1 CAPEX ~324k CZK without DMX (owner decision 2026-07-22).