Log Viewer
The Log Viewer provides dedicated full-screen views for each category of system activity. Instead of sharing screen space on the dashboard, each log type gets the full viewport — useful when you need to focus on a specific data stream during debugging or operations.
Accessing Log Views
Open a full-screen view from its dashboard pane (the Turnout, Effect, and device panes link out to theirs), or navigate to any view directly:
| View | Description |
|---|---|
| DCC Logger | All DCC-EX commands flowing through the server |
| Turnout Logs | Turnout state change events |
| Effect Logs | Effect activation and deactivation events |
| Device Serial Monitors | Serial output from all connected devices |
| Single Device | Serial output for one specific device |
Each view requires you to be logged in with a layout selected.
Live Status Indicator
Every log view displays a Live chip in the header bar — a green indicator with a radar icon marking the view as a real-time stream.
DCC Command Log
The DCC Logger captures every DCC-EX command that passes through the system. Each log entry includes:
- Action — The command category (e.g., throttle, turnout, function, power)
- Payload — The parsed DCC-EX command
- Timestamp — When the command was received
Turnout Logs
The Turnout Log displays every turnout state change detected across your layout. Each entry shows:
- Turnout ID — Which turnout changed
- Updated state — The new turnout position (thrown or closed)
Effect Logs
The Effect Log captures every effect activation, deactivation, or property change. Each entry includes:
- Effect ID — Which effect changed
- Effect data — The updated effect state
Device Serial Monitor
The Device Serial Monitor provides a terminal-like view of raw serial communication between the DEJA Server and connected hardware devices.
Monitoring a Device
When you open a device monitor, the app automatically subscribes to that device's serial data stream. You'll see:
- Raw serial data — Every byte sent to or received from the device
- Direction indicators — Whether data is incoming (from device) or outgoing (to device)
- Timestamps — When each message was sent or received
Color-Coded Status
Each device pane shows status chips that update as the connection changes:
- Monitoring — Subscribed and actively streaming serial data
- Connected — Server connection is open
- Connecting… / Disconnected — The connection is being established or has dropped
- Disabled — Monitoring is toggled off for that device
If you open a single-device view for a device ID that doesn't match any registered device in your layout, the view shows a Device not found message with links back to the device list or dashboard.
Multi-Device vs. Single Device
- All devices view — Shows every registered device in its own monitor panel side by side
- Single device view — Isolates one device with its name, connection status, and a link back to the full device list
Demo Mode
A demo view is available for testing the device serial monitor UI without a live server connection. Useful for exploring the interface before your hardware is set up.