Skip to content

Several sites

Luke Switzer edited this page Nov 23, 2026 · 1 revision

Each Command Center install needs its own SITE_ID. The Command Center uses it to tell which site an event came from. The default is default.

  1. Set SITE_ID (and optionally SITE_NAME) before the first start, for example SITE_ID=alpha on one install and SITE_ID=bravo on the other. For Docker, use the .env in the repository root. For a native install, use apps/backend/.env.
  2. Restart the backend after you change it.
  3. To share data between the sites, open Config → MQTT Federation on each one. Give each its own Client ID and the same Broker URL. The default Client ID is command-center-<siteId>.

The Command Center README covers the broker settings under "MQTT Configuration Cheat Sheet".

Clone this wiki locally