Connect
The Connect page manages the live bridge between DEJA Cloud and your hardware. When your DEJA Server is running and a device is registered, you can connect, disconnect, and monitor the link from here.

How Connection Works
DEJA Cloud talks to your layout through your DEJA Server, which bridges the cloud and your hardware over a USB serial connection. The Connect page lets you pick which device to talk to and verify the connection is healthy.
Connecting Your Server
The Server Connection section at the bottom of the page shows whether your DEJA Server is online, and how to connect one:
- On the server machine, run
deja login. The CLI prints a short one-time code and opens DEJA Cloud in your browser. - The authorize page shows the code — check it matches your terminal, pick the layout to connect, and click Authorize. (You can deny the request if you don't recognize it.)
- The CLI finishes on its own, and the server stays signed in from then on — it renews its own credentials automatically.

To move your server to a new machine, just run deja login on the new machine — authorizing it replaces the server currently connected to that layout, so the old machine stops syncing on its next restart.
Connecting a Device
From the dashboard or Connect page:
- Select a registered device from the device list.
- Choose the serial port (auto-detected from available USB ports).
- Click Connect — the status indicator turns green when the link is established.
Connection Status
Each connected device shows:
- 🟢 Connected -- Device is online and responding.
- 🔴 Disconnected -- Device is not reachable. Check USB cable and server status.
- 🟡 Reconnecting -- Automatic reconnect in progress after a connection drop.
Troubleshooting
- No ports available -- Make sure your EX-CommandStation is plugged in via USB and the DEJA Server is running. Click Refresh Ports to re-scan.
- Connection drops -- Check USB cable quality. The server will auto-reconnect on brief interruptions.
- Multiple devices -- Each device connects independently. You can have a DCC-EX EX-CommandStation and IO boards connected simultaneously.
Related Pages
- Devices -- Register and configure hardware devices.
- Dashboard -- Quick-connect from the home screen.
- DCC-EX Console -- Send commands once connected.