Managing Cameras
Cameras are recording devices installed in your vehicles for security and monitoring. This page lets you add, configure, and monitor cameras connected to your fleet. Cameras support real-time status monitoring and can be assigned to vehicles.
Viewing Cameras
The Cameras table displays the following columns:
- ID: Unique identifier (hidden by default)
- Name: Your name for the camera
- Device ID: The camera's unique device identifier
- Serial Number: Manufacturer's serial number
- IP Address: Network address of the camera
- Port: Network port used for connection
- Status: Online or Offline with real-time updates
- Vehicle: Which vehicle the camera is installed in
- Last Online: When the camera last connected
- Actions: Preview, Sync, Edit, and Delete options
On mobile devices, columns like Device ID, Serial Number, IP Address, Port, and Last Online are automatically hidden.
Real-Time Status Updates
Camera status updates automatically via WebSocket connection:
- Online: Green checkmark icon indicates the camera is connected and streaming
- Offline: Gray circle icon indicates the camera is disconnected
Status changes appear immediately without refreshing the page. The "Last Online" timestamp shows when the camera was last connected.
Searching for Cameras
Use the search field to find cameras. The search works across name, device ID, serial number, IP address, status, and vehicle name. Results update as you type.
Customizing Columns
- Click the Columns button above the table.
- Check or uncheck columns to show or hide them.
Adding a Camera
- Click the Add Camera button.
- Fill in the camera details:
Form Fields
- Name (Required): A friendly name for the camera (e.g., "Bus 101 Front Camera")
- Device ID (Required): The camera's unique device identifier (must be unique in the system)
- IP Address: The camera's network IP address (e.g., 192.168.1.100)
- Port: Network port for connection (e.g., 8000)
- Password: MD5 password for camera API access
- Heartbeat Interval: How often (in seconds) the camera should send status updates (default: 60)
- Click Create Camera.
Note: Serial number, firmware version, and AI version are automatically populated when the camera connects and syncs its configuration.
Camera Actions
The actions menu provides several options:
Preview Stream
Click Preview to open the camera's RTMP stream. This opens the stream URL in your default video player (such as VLC or QuickTime).
Note: RTSP/RTMP streams cannot be played directly in web browsers. You'll need a compatible video player installed.
Sync Camera Info
Click Sync Info (available only when the camera is online) to manually request the camera to send its system configuration. This updates:
- Serial number
- Firmware version
- AI version
Edit Camera
Click Edit to modify the camera's name, device ID, IP address, port, password, or heartbeat interval.
Delete Camera
Click Delete to remove the camera from the system. You'll be asked to confirm before deletion.
Vehicle Assignment
Cameras can be assigned to vehicles:
- Go to the Vehicles page.
- Edit a vehicle.
- Select a camera from the Camera dropdown.
Only unassigned cameras appear in the dropdown. Each vehicle can have one camera assigned.
The camera's Vehicle column in the table shows which vehicle it's assigned to, or "N/A" if unassigned.
Dashboard Integration
The dashboard includes a Camera Status widget showing:
- Total number of cameras
- Number of online cameras (green)
- Number of offline cameras (red)
- Visual donut chart representation
The widget updates automatically every 30 seconds.
Heartbeat Monitoring
Cameras send periodic heartbeat signals to confirm they're online:
- Default heartbeat interval: 20 seconds
- Timeout threshold: 60 seconds
- If no heartbeat is received within the timeout, the camera is marked offline
Configure the heartbeat interval when adding or editing a camera based on your network conditions.
Pagination
The table displays 10 cameras per page. Use the pagination controls at the bottom to navigate:
- First and Last page buttons
- Previous and Next page buttons
- Current page indicator showing "Showing X to Y of Z"
Subscription Requirements
Camera features require a Professional plan or higher. If you're on a different plan, you'll see an upgrade prompt when trying to add cameras.
Permissions
You need the appropriate permissions to add, edit, or delete cameras:
- Create: Requires camera:create permission
- Edit: Requires camera:update permission
- Delete: Requires camera:delete permission
- Sync: Requires camera:update permission and camera must be online
If these options are not visible, contact your administrator to request access.