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 communicates with your hardware through the DEJA Server:
- DEJA Cloud → Firebase Realtime Database (commands)
- DEJA Server picks up commands → sends via serial USB to your hardware
- Hardware responds → Server pushes status back through WebSocket + Firebase
The Connect page lets you manage step 1 — selecting which device to talk to and verifying the connection is healthy.
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 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 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.