> ## Documentation Index
> Fetch the complete documentation index at: https://docs.appliedaifoundation.org/llms.txt
> Use this file to discover all available pages before exploring further.

# BWTS IoT Monitoring Dashboard

> Real-time UV lamp performance monitoring, predictive maintenance, and IMO/USCG compliance for Ballast Water Treatment Systems.

<Card title="Open the Live Dashboard" icon="arrow-up-right-from-square" href="https://ballast-water-treatment-system.apps.metaweave.in" horizontal>
  View real-time BWTS telemetry, lamp health, and compliance status.
</Card>

## What is this dashboard?

The BWTS IoT Monitoring Dashboard is a cloud-hosted web application that ingests telemetry from an onboard Ballast Water Treatment System controller and presents it as six purpose-built views. It gives fleet engineers and compliance officers a single place to monitor UV lamp performance, predict maintenance needs, and verify regulatory compliance — without needing direct access to the shipboard PLC.

Data is recorded every three minutes from the BWTS controller and is always less than 30 seconds stale on the Overview tab.

## Who is it for?

<CardGroup cols={2}>
  <Card title="Fleet Engineers" icon="wrench">
    Monitor live UV intensity, lamp efficiency, and system health. Catch degradation early with runtime-based charts and predictive failure scores before a lamp fails at sea.
  </Card>

  <Card title="Compliance Officers" icon="shield-check">
    Verify IMO D-2 and USCG standards are continuously met. Export full telemetry records to support Ballast Water Record Book requirements.
  </Card>
</CardGroup>

## How it works

<Steps>
  <Step title="Sensors record data">
    The onboard BWTS controller writes sensor readings — UV intensity, lamp status, flow rate, pressure, and more — to a cloud database every three minutes.
  </Step>

  <Step title="API routes serve the data">
    Next.js server-side API routes query the database and return JSON to the browser. Credentials never leave the server.
  </Step>

  <Step title="Dashboard renders and refreshes">
    React client components fetch from the API routes and render the six dashboard tabs. The Overview tab auto-refreshes every 30 seconds.
  </Step>
</Steps>

## Six dashboard tabs

<CardGroup cols={3}>
  <Card title="Overview" icon="gauge" href="/product/overview-tab">
    Real-time 16-lamp diamond array, UV intensity, health gauge, and live alarm feed.
  </Card>

  <Card title="Predictive Maintenance" icon="calendar-check" href="/product/predictive-maintenance-tab">
    ML-based failure probability, remaining useful life per lamp, and cost analysis.
  </Card>

  <Card title="Trend Analysis" icon="chart-line" href="/product/trend-analysis-tab">
    Historical UV, health, and efficiency trends with date-range filtering.
  </Card>

  <Card title="Compliance" icon="shield-check" href="/product/compliance-tab">
    Live IMO D-2 and USCG compliance checks with a full system event audit trail.
  </Card>

  <Card title="Comparative Analysis" icon="code-compare" href="/product/comparative-analysis-tab">
    Hour-by-hour lamp efficiency comparison between any two of the 16 UV lamps.
  </Card>

  <Card title="Data Export" icon="file-export" href="/product/data-export-tab">
    Excel-style column filters and one-click CSV or PDF export.
  </Card>
</CardGroup>

## Key compliance standards

The system monitors against two international regulatory thresholds:

| Standard | UV Intensity Threshold | Scope                              |
| -------- | ---------------------- | ---------------------------------- |
| IMO D-2  | ≥ 252 W/m²             | Global — all international voyages |
| USCG     | ≥ 530 W/m²             | US waters — stricter requirement   |

See [IMO D-2 Regulation](/concepts/imo-d2-regulation) and [USCG Standards](/concepts/uscg-standards) for full details.

## What's next

<CardGroup cols={2}>
  <Card title="Quickstart" icon="rocket" href="/quickstart">
    Get the dashboard running locally in five minutes.
  </Card>

  <Card title="BWTS Overview" icon="ship" href="/concepts/bwts-overview">
    Understand ballast water treatment and the 16-lamp UV array.
  </Card>

  <Card title="Product Tour" icon="map" href="/product/overview-tab">
    Walk through each of the six dashboard tabs.
  </Card>

  <Card title="API Reference" icon="code" href="/data/api-reference">
    Explore all ten REST endpoints and their response shapes.
  </Card>
</CardGroup>
