Skip to main content

Installation Guide

Centinela is available as both a web application and a native desktop application. This guide covers installation of the desktop application, which offers enhanced performance and offline capabilities.
The web version requires no installation - simply navigate to your Centinela URL in any modern browser. This guide is for users who want to install the native desktop application.

System Requirements

Before installing, ensure your system meets these requirements:

Minimum Requirements

  • OS: Windows 10 or later (64-bit)
  • RAM: 4 GB minimum, 8 GB recommended
  • Disk Space: 500 MB free space
  • Display: 1024x768 minimum resolution
  • Internet: Broadband connection for real-time data
For optimal experience, we recommend a monitor with at least 1920x1080 resolution when viewing process diagrams and multiple charts simultaneously.

Desktop Application Overview

The Centinela desktop application is built with Tauri, providing:
tauri.conf.json
{
  "productName": "Mas Agua",
  "version": "1.0.4",
  "identifier": "com.masagua.desktop",
  "bundle": {
    "active": true,
    "targets": ["msi", "deb", "rpm", "appimage", "dmg"]
  }
}

Native Performance

Faster startup and smoother interactions than web browsers

Auto-Updates

Automatic updates ensure you always have the latest features

System Integration

Better integration with your operating system

Installation Methods

Option 1: Web Access (No Installation)

The simplest way to use Centinela:
1

Open Your Browser

Launch any modern browser (Chrome, Firefox, Safari, Edge)
2

Navigate to Centinela

Enter your Centinela instance URL (provided by your administrator)Example: https://centinela.yourcompany.com
3

Login

Enter your credentials and start monitoring
We recommend bookmarking the URL for quick access
Web access requires a modern browser:
  • Chrome 90+
  • Firefox 88+
  • Safari 14+
  • Edge 90+

Option 2: Desktop Application Installation

For the best experience, install the native desktop application:

Windows Desktop App

1

Download the Installer

Download the .msi installer from your administrator or the Centinela releases page.File format: Mas-Agua_1.0.4_x64_en-US.msi
2

Run the Installer

  1. Double-click the downloaded .msi file
  2. If prompted by Windows SmartScreen, click “More info” then “Run anyway”
  3. Follow the installation wizard
  4. Choose installation directory (default: C:\Program Files\Mas Agua)
  5. Click “Install” to begin installation
You may need administrator privileges to install. Right-click the installer and select “Run as administrator” if needed.
3

Launch the Application

  • Find “Mas Agua” in your Start Menu
  • Or double-click the desktop shortcut (if created during installation)
  • The application window will open at 1024x768 and maximize automatically
// Default window configuration
{
  "width": 1024,
  "height": 768,
  "resizable": true,
  "maximized": true
}
4

First Launch Setup

On first launch:
  1. The app will check for updates automatically
  2. Enter your server connection details (if not pre-configured)
  3. Login with your credentials

Troubleshooting Windows Installation

If Windows Defender blocks the installation:
  1. Click “More info” on the SmartScreen prompt
  2. Click “Run anyway”
  3. This is normal for new applications without widespread distribution
The installer may require:
  • .NET Framework 4.7.2 or later
  • Visual C++ Redistributable 2015-2022
These are usually included, but can be downloaded from Microsoft if needed.

Auto-Update Configuration

The desktop application includes automatic update functionality:
// Auto-update check (from src/App.jsx)
import { useUpdater } from './hooks/useUpdater';

const { checkForUpdates } = useUpdater();

useEffect(() => {
  if (isTauri()) {
    checkForUpdates();
  }
}, []);
1

Automatic Check

The app checks for updates automatically on startup
2

Update Notification

If an update is available, you’ll see a dialog prompting you to update
3

Download and Install

Click “Update” to download and install the latest version
Updates are downloaded from: https://github.com/CspmIT/mas-agua-front/releases/latest
4

Restart

The app will restart automatically after the update is installed
Do not close the application while an update is being installed. Wait for the automatic restart.

Configuration

First-Time Setup

After installation, configure your connection:
1

Server Configuration

If not pre-configured, enter your server details:
  • API endpoint URL
  • WebSocket server (for real-time data)
  • InfluxDB connection (configured by administrator)
2

Authentication

Login with credentials provided by your administrator:
// Login endpoint
const url = backend.Cooptech + '/login';
3

Verify Connection

The app will test connectivity and load your facility configuration

Application Data Storage

The desktop app stores data locally:
%APPDATA%\com.masagua.desktop\
├── config/          # Application settings
├── cache/           # Cached data
└── logs/            # Application logs

Uninstallation

To remove the desktop application:

Windows Uninstall

Method 1: Settings App
  1. Open Settings > Apps > Installed apps
  2. Find “Mas Agua” in the list
  3. Click the three dots menu
  4. Select “Uninstall”
  5. Confirm the uninstallation
Method 2: Control Panel
  1. Open Control Panel > Programs > Programs and Features
  2. Find “Mas Agua”
  3. Right-click and select “Uninstall”
  4. Follow the uninstall wizard

Comparison: Web vs Desktop

Web Application

Advantages:
  • No installation required
  • Access from any device
  • Always up-to-date
  • Works on tablets and mobile
Best for:
  • Quick access
  • Multiple devices
  • Guest users

Desktop Application

Advantages:
  • Better performance
  • Native OS integration
  • Optimized resource usage
  • Automatic updates
Best for:
  • Primary workstation
  • Daily monitoring
  • Power users
Both versions access the same data and have identical features. Choose based on your workflow preference.

Troubleshooting

Possible solutions:
  1. Check system requirements are met
  2. Verify antivirus isn’t blocking the app
  3. Check logs for error messages:
    • Windows: %APPDATA%\com.masagua.desktop\logs
    • macOS: ~/Library/Application Support/com.masagua.desktop/logs
    • Linux: ~/.config/com.masagua.desktop/logs
  4. Reinstall the application
Check the following:
  1. Verify internet connection is active
  2. Confirm server URL is correct
  3. Check firewall isn’t blocking the application
  4. Test web version to isolate desktop-specific issues
  5. Contact administrator to verify server status
Solutions:
  1. Ensure you have write permissions to installation directory
  2. Temporarily disable antivirus during update
  3. Check available disk space (need at least 500 MB)
  4. Download and install latest version manually if auto-update fails
Try these fixes:
  1. Update graphics drivers
  2. Restart the application
  3. Clear application cache:
    • Close the app
    • Delete cache folder (see “Application Data Storage” above)
    • Restart the app
  4. Check display scaling settings (recommended: 100%)

Technical Details

For system administrators and advanced users:

Application Architecture

package.json
{
  "name": "mas-agua",
  "version": "1.0.0",
  "dependencies": {
    "@tauri-apps/api": "^2.9.1",
    "@tauri-apps/plugin-store": "^2.4.2",
    "@tauri-apps/plugin-updater": "^2.9.0",
    "react": "^18.2.0",
    "socket.io-client": "^4.8.1"
  }
}

Security Capabilities

{
  "security": {
    "capabilities": [
      {
        "identifier": "store-access",
        "platforms": ["linux", "macOS", "windows"],
        "permissions": [
          "store:default",
          "process:default",
          "updater:default",
          "core:app:allow-version"
        ]
      }
    ]
  }
}

Network Requirements

The desktop application requires outbound connections to:
  • API Server: HTTPS (port 443) for data access
  • WebSocket Server: WSS (port 443) for real-time updates
  • Update Server: GitHub releases (for auto-updates)
Ensure your firewall allows outbound HTTPS connections. The application will not function properly if blocked.

Next Steps

After installation:

Quick Start Guide

Learn how to use Centinela effectively

Configuration Guide

Set up alarms, dashboards, and preferences

For technical support with installation issues, contact your Cooptech representative.