Main Page
The main dashboard gives you a real-time overview of all cameras and safety events on your site. This page explains every element you'll see.
Stats Cards
At the top of the dashboard, four cards summarise your current monitoring status at a glance.
| Card | What it shows |
|---|---|
| Online | Number of cameras currently connected and streaming. A camera is "online" when Lokawatch can successfully reach its feed. |
| Total | Total number of cameras registered in the system, regardless of their current connection status. |
| Portable | Count of cameras marked as "Portable" deployment type — cameras that move between locations. |
| False Alarm Rate | Percentage of resolved alerts that were marked as false alarms. Shows "—" when no alerts have been resolved yet. Turns amber when the rate exceeds 20% — a signal to review your detection sensitivity. |
Deployment Filter
Below the stats cards, three filter buttons let you narrow the camera grid by deployment type:
- All — show every registered camera
- Fixed — show only permanently installed cameras
- Portable — show only mobile/temporary cameras
Live Alert Toasts
When a new violation is detected, a notification toast appears in the bottom-right corner of the screen. Each toast shows:
- The rule that was violated (e.g. "No Helmet Detected")
- The camera name and location
- Severity indicator (color-coded: red for critical, orange for high)
- A timestamp
Toasts auto-dismiss after a few seconds. You can also click a toast to open the full violation detail in the Violation Log.
Toasts are delivered in real time via WebSocket. If your browser blocks WebSocket connections, you may miss live alerts — check with your IT team to ensure port 80/443 traffic is allowed.
Camera Cards
Each camera appears as a card in the main grid. A card displays:
- Live snapshot — a periodically refreshed frame from the camera feed
- Camera name — as configured during camera setup
- Site and location — the physical area being monitored
- Status badge — Online (green), Offline (red), or Unknown (gray)
- Active violation indicator — a pulsing red badge when there is an unacknowledged alert from this camera
Camera Card Actions
Hover over a camera card to reveal the action buttons in the top-right corner:
| Action | What it does |
|---|---|
| View Feed (play icon) | Opens the camera's live video stream in a full-screen modal. Supports both RTSP (via HLS proxy) and EZVIZ cloud streams. |
| Edit (pencil icon) | Opens the camera edit form where you can update connection details, deployment type, or per-camera detection overrides. See Cameras. |
| Delete (trash icon) | Permanently removes the camera from Lokawatch. A confirmation prompt appears before deletion. Historical violation records for this camera are retained. |
Adding a New Camera
Tap the teal + button in the bottom-right corner of the page. This opens the Add Camera form. See the Cameras guide for full instructions.