Mas Agua provides comprehensive pump monitoring and control capabilities through the PumpsTable module. This guide covers monitoring pump status and executing control operations.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/CspmIT/mas-agua-front/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The pump monitoring system provides:- Real-time pump status display (running/stopped)
- Current operation mode tracking (Auto/Manual)
- Control actions (AUTO, ON, OFF)
- Suction system information display
- Automatic status refresh every 30 seconds
Accessing Pump Monitoring
Understanding the Interface
Information Cards
The top section (src/modules/PumpsTable/views/index.jsx:255-281) displays system-level information:Pump Status Table
Each pump row displays: Bomba (Pump Name)- Displays the pump identifier
- En Marcha (Running): Green chip - pump is operating
- Apagada (Stopped): Gray chip - pump is off
- Sin datos (No Data): Orange chip - no status available
- Automático: Orange chip - pump in automatic control mode
- Encendido forzado: Green chip - forced on mode
- Apagado forzado: Red chip - forced off mode
- Sin datos: Blue chip - mode unknown
- Control buttons: AUTO, ON, OFF
Monitoring Pump Status
View Real-Time Status
The table displays current status for all configured pumps. Status updates automatically every 30 seconds.
Interpret Status Colors
- Green (Success): Pump running normally
- Gray (Default): Pump stopped
- Orange (Warning): No data or automatic mode
- Red (Error): Forced off or out of service
Controlling Pumps
Understanding Control Modes
Automatic Mode- Pump control is managed by the PLC automation
- System decides when to start/stop based on process conditions
- Manual override requires changing to forced mode first
- Pump is forced to run regardless of automation
- Override active until changed back to automatic
- Use for maintenance or testing
- Pump is forced to stop regardless of automation
- Override active until changed back to automatic
- Use for maintenance or equipment protection
Switching to Automatic Mode
Click AUTO Button
Click the AUTO button in the Actions column.
The AUTO button is disabled when:
- Pump is already in automatic mode
- No status data is available
Confirm Action
A confirmation dialog appears: “¿Desea cambiar el modo actual de la bomba?”Click “Sí, enviar” to proceed or “Cancelar” to abort.
Forcing Pump ON
Verify Automatic Mode
Ensure the pump is currently in “Automático” mode. The ON button is only enabled in automatic mode.
Forcing Pump OFF
Verify Automatic Mode
Ensure the pump is currently in “Automático” mode. The OFF button is only enabled in automatic mode.
Control Action Flow
The control system (src/modules/PumpsTable/views/index.jsx:192-229) follows this sequence:Automatic Status Updates
The pump monitoring system maintains current status through:Initial Load
On page load, the system fetches:
- All configured pumps with available actions
- Current status for each pump
- System-level information
Periodic Refresh
Every 30 seconds, the system calls
/data_bombeo endpoint to refresh:- Pump status (running/stopped)
- Current operation modes
- System information cards
The 30-second refresh interval balances real-time monitoring with server load. Critical changes from control actions refresh immediately.
Best Practices
Safety
- Understand the process implications before overriding automatic control
- Document why you’re forcing a pump into manual mode
- Return pumps to automatic mode as soon as manual operation is no longer needed
- Monitor pump status after control actions to ensure expected behavior
Operations
- Review system info cards before making control changes
- Check that “Fuera de servicio” count matches expectations
- Verify destination and configuration are appropriate
- Allow time for PLC communication (status may take a few seconds to update)
Maintenance
- Use forced OFF mode when performing pump maintenance
- Return to automatic mode after maintenance completion
- Track manual activations through the info card
- Document any pumps requiring frequent manual intervention
Troubleshooting
Button disabled when it shouldn’t be- Check pump mode - buttons are contextual
- AUTO: Only enabled when pump is in forced mode
- ON/OFF: Only enabled when pump is in automatic mode
- Verify pump has status data (not “Sin datos”)
- The selected action is not configured for this pump
- Check pump configuration in PLC
- Verify action mappings in database
- Wait for 30-second refresh cycle
- Check PLC communication status
- Verify backend API connectivity
- Check browser console for errors
- Verify PLC communication is working
- Check network connectivity to backend
- Ensure PLC is online and accepting commands
- Check user permissions for pump control
- Verify PLC is communicating with backend
- Check that pump is configured in PLC
- Ensure variable mappings are correct
- Verify backend is polling PLC data
System Information Interpretation
Estado (Status)
Indicates overall system health:- Normal operation shows expected status message
- Abnormal conditions trigger alert status
Configuración (Configuration)
Displays active pumping configuration:- Single pump mode
- Dual pump alternating
- Triplex operation
- Custom configurations
Activaciones Manuales (Manual Activations)
Tracks how often operators override automatic control:- High numbers may indicate automation issues
- Low numbers suggest system is functioning as designed
- Use as a metric for system reliability
Fuera de Servicio (Out of Service)
Shows pumps currently unavailable:- Should match known maintenance activities
- Unexpected values indicate equipment problems
- Zero is ideal for full redundancy
Integration with Other Features
Pump monitoring integrates with: Alarms- Pump failures can trigger alarms
- Status changes can be logged
- Configure alerts for unexpected mode changes
- Create pump status charts for dashboards
- Monitor historical pump runtime
- Track start/stop cycles
- Pump status variables can be used in diagrams
- Display pump state on geographic maps
- Create calculated variables from pump data

