Skip to main content
The Cámaras module displays all security cameras configured for the institution and lets you verify their connectivity status and update their settings. In the current version, cameras are pre-configured — you cannot add or remove cameras through the UI.

Camera data model

Each camera is represented by the following fields:
Camara.cs
public class Camara
{
    public string Titulo { get; set; }       // Camera label (e.g. "Cámara del piso 1")
    public string IP { get; set; }           // IPv6 or IPv4 address
    public string Ruta { get; set; }         // Storage path for captured images
    public bool EstaConectada { get; set; }  // Connection status (RF_018)

    // Derived — not stored separately
    public string TextoBotonConexion => EstaConectada ? "Conectada" : "Desconectada";
}
FieldTypeDescription
TitulostringHuman-readable label identifying the camera’s location, such as Cámara del piso 1. Displayed in the camera list.
IPstringThe IP address used to reach the camera on the network. Supports both IPv4 and IPv6 addresses.
RutastringThe file system path where images captured by this camera are stored.
EstaConectadaboolIndicates whether the camera currently has network connectivity. Corresponds to requirement RF_018.
TextoBotonConexionstring (derived)Displays “Conectada” when EstaConectada is true, and “Desconectada” when it is false. This value is computed automatically and is not stored.

Connectivity alerts on load (RF_018)

When the Cámaras screen loads, the application runs InicializarCamaras(), which iterates through every configured camera and checks its EstaConectada value. For any camera that is offline, the application immediately shows a warning dialog:
Advertencia: La no tiene conectividad.
You will see one dialog per disconnected camera, so if multiple cameras are offline you will receive multiple sequential warnings.
These alerts appear automatically at startup. Do not dismiss them without investigating — a disconnected camera means a gap in your surveillance coverage. Contact your network administrator if a camera remains offline after checking its physical connection and power supply.

Configured cameras

The following cameras are configured in the current installation. All four cameras use IPv6 addressing:
TítuloIP addressStatus
Cámara del piso 12001:0db8:85a3:0000:0000:8a2e:0370:7334Connected
Cámara del piso 22001:0db8:85a3:0000:0000:8a2e:0370:7334Connected
Cámara del piso 32001:0db8:85a3:0000:0000:8a2e:0370:7334Disconnected
Cámara del piso 42001:0db8:85a3:0000:0000:8a2e:0370:7334Connected
Cámara del piso 3 is currently offline and will trigger a connectivity warning each time the screen loads until its connection is restored.

IPv6 support

All cameras in the default configuration use IPv6 addresses in full notation (e.g., 2001:0db8:85a3:0000:0000:8a2e:0370:7334). The IP field also accepts IPv4 addresses if your network infrastructure requires them. When entering or updating an IP address:
  • For IPv6, use the full 128-bit colon-separated hexadecimal format.
  • For IPv4, use standard dot-decimal notation (e.g., 192.168.1.100).
  • Do not include port numbers in the IP field.

Updating camera configuration

You can re-validate a camera’s IP address and save updated settings directly from the camera list.
1

Locate the camera in the list

The ListaCamaras control displays all configured cameras. Find the camera whose settings you want to update.
2

Edit the IP or path

Modify the IP address or Ruta (storage path) fields for the selected camera entry.
3

Click Actualizar

Click Actualizar. The application re-validates the IP address and saves the changes.On success, you will see the confirmation message:
Configuración de cámara actualizada correctamente.
After updating a camera’s IP address, verify that its TextoBotonConexion changes to “Conectada”. If it remains “Desconectada”, the new IP address may be unreachable from the server. Confirm the address is correct and that the camera is powered on and accessible on the network.

Connection status indicator

Each camera entry in the list displays a status button whose label is driven by the TextoBotonConexion derived property:

Conectada

The camera is reachable on the network. No action is required.

Desconectada

The camera cannot be reached. A warning was shown when the screen loaded. Investigate the camera’s network connection and update its IP address if needed, then click Actualizar to re-validate.

Build docs developers (and LLMs) love