Skip to content

Water Tank Monitoring & Control Technical Overview

Overview

This screen represents the remotely monitored water tank, providing real-time data visualization and control capabilities for managing water levels and pump operations. The interface integrates sensor data from connected devices to display the current water level, volume, and pump status. Users can interact with the system to toggle the pump, set trigger values for alerts, and monitor the tank's status.

Water Tank Monitoring Water Tank Monitoring

Key Functionalities

1. Real-Time Sensor Data Integration

  • Data Acquisition:

    • The system continuously retrieves water level and sensor data from connected devices. Data is fetched at regular intervals (every few seconds) to ensure that the display reflects the current status of the water tank.
    • Key parameters include water level (in centimeters), calculated water volume (liters), percentage fill, and additional sensor readings such as signal strength (RSSI) and timestamp of the last data update.
  • Data Processing and Calculation:

    • Incoming sensor payloads are decoded and processed to calculate the tank’s water level. The system applies specific offsets and mathematical operations to derive the measured values.
    • Calculated values are used to update both visual indicators and textual feedback regarding the current state of the tank.

2. User Interface and Visual Feedback

  • Dynamic Visual Display:

    • A tank visualization presents an intuitive graphical representation of the current water level. This visualization is dynamically scaled based on the tank's dimensions and sensor data.
    • Real-time trend information is provided through integrated sensor trend components, enabling users to review historical changes in water levels.
  • Textual and Iconographic Feedback:

    • Clear textual messages inform the user about the water volume remaining, pump operation status, and any error conditions (e.g., pump timeout or sensor anomalies).
    • Status indicators and icons provide additional context, such as pump activity (pumping duration) and connectivity issues.

3. Pump Control and Trigger Management

  • Remote Pump Control:

    • Users can remotely toggle pump operations through an interactive switch control. The system provides haptic feedback and real-time confirmation once a command is successfully processed.
    • The pump’s operational status is continuously monitored and updated based on sensor data, ensuring that the interface accurately reflects whether the pump is running.
  • Trigger Configuration:

    • The interface allows for configuration of low and high trigger values that determine the thresholds for water level alerts and pump activation.
    • Input fields are provided for users to enter numerical values, with built-in validation ensuring that the low trigger does not exceed the high trigger.
    • A confirmation dialog is used to verify changes before submitting the new trigger settings to the backend.

4. Error Handling and User Feedback

  • Error Messaging:

    • Clear error messages alert users to issues such as communication problems with sensors, pump timeouts, or invalid trigger settings.
    • When errors occur (for example, if the sensor payload is empty or contains unexpected values), the system logs the issue and displays a user-friendly message indicating the problem.
  • Feedback Mechanisms:

    • The module employs both visual (textual messages, color-coded icons, badges) and haptic feedback to provide immediate confirmation of user actions and system status.
    • Status messages update in real time to reflect actions such as submitting trigger values, toggling pump state, or updating water level data.