Skip to main content

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 Overview Tab showing the 16-lamp diamond array and surrounding metric panels

Layout philosophy

The Overview tab uses a radial “gravitational” design — the 16-lamp diamond array occupies the centre of the screen as the primary focal point, and all supporting metrics float at the edges. There are no card borders or containers; typography hierarchy and spacing replace visual dividers. The background is a radial gradient from light slate to medium slate. Data is fetched from /api/stats and auto-refreshes every 30 seconds.

The diamond lamp array

Diamond lamp array showing 16 UV lamps with efficiency colour coding
The 16 UV lamps are arranged in a diamond pattern (rows: 1-2-3-4-3-2-1). Each lamp circle shows:
  • Lamp number — L01 through L16
  • Efficiency percentage — the current LAMP_XX_EFFICIENCY value
  • Colour — coded by efficiency tier (see table below)
  • Opacity — scales with efficiency, providing an immediate at-a-glance scan
Hover over any lamp circle to see a tooltip with exact efficiency, runtime hours, and operational status.

Lamp colour coding

ColourEfficiencyMeaning
Green≥ 90%Excellent — nominal operation
Yellow70–89%Good — monitor, plan future replacement
Orange50–69%Warning — schedule replacement at next port
Red< 50% or FAILEDCritical — urgent attention required

Metric panels

Top-left: Active Alarms

Displays the last 3 ALARM_TRIGGERED events from the event feed. An animated amber dot appears when any alarm is present. Each entry shows the event description and timestamp. Source: /api/stats → recentEvents.

Top-right: System Health Gauge

An SVG arc gauge showing the overall_score (0–100) from the latest health record. The colour of the gauge arc changes with the score:
ScoreGauge colour
≥ 80Green
60–79Blue
40–59Orange
< 40Red

Left side: UV and power metrics

MetricFieldUnit
UV IntensityUVR_INTENSITYW/m²
Power OutputUVR_POWER_OUTPUT% of rated capacity
Flow RateSYS_FLOW_RATEm³/h

Right side: Operational context

MetricFieldDescription
Operation Typeoperation_typeBALLAST or DEBALLAST
LocationlocationCurrent port name
Water TemperatureUVR_WATER_TEMP°C

Bottom-left: Maintenance Required

Lists up to three lamps with efficiency below 75% or runtime above 2,500 hours, sorted by lowest efficiency first. This provides an at-a-glance maintenance priority list without navigating to the Predictive Maintenance tab.

Bottom-center: System Pressure

Displays SYS_PRESSURE in bar.

Bottom-right: Filter System

MetricField
Differential pressureFLT_DIFF_PRESSURE (bar)
Backflush cycle countFLT_BACKFLUSH_COUNT
Backflush active statusFLT_BACKFLUSH_ACTIVE

What you can do here

  • Get an immediate read on system health without navigating any menus
  • Spot failing or degraded lamps instantly by scanning the diamond for red or orange circles
  • Check whether UV intensity is above the IMO (252 W/m²) or USCG (530 W/m²) compliance threshold
  • See recent alarms and their timestamps
  • Monitor filter backflush activity which can indicate water quality issues

Source

Data is served by /api/stats, which runs four parallel database queries and returns latestTelemetry, latestHealth, recentEvents, and monthlyAvg in a single response. This keeps the Overview tab to a single HTTP round-trip.