Integration Health
Connection state, endpoint status and calculation self-checks. Errors are shown here and never replaced by demo data.
Data mode
—
Backend API data
Backend status
—
dashboard link: connecting
Portal API latency
0ms
unreachable
Refresh interval
30s
Polling (SSE/WebSocket: future)
Connection details
- Last successful refresh
- never
- Newest source record
- —
- Source data stale?
- WITHIN LIMIT
- Portal host
- — (not configured / demo)
- API token
- held server-side only — never sent to the browser
- Last upstream success
- —
- Last upstream error
- none
- Transport
- — (SSE not enabled)
Health checks
Calculation self-check
Runs the production formulas (src/lib/calc.ts) in your browser
| Test | Result | Expected | |
|---|---|---|---|
| Recovery = 750 ÷ 1000 × 100 | 75.00 | 75.00 | PASS |
| Water rejection = 250 ÷ 1000 × 100 | 25.00 | 25.00 | PASS |
| Salt rejection = (1000 − 20) ÷ 1000 × 100 | 98.00 | 98.00 | PASS |
| Availability = 7 ÷ (7 + 1) × 100 | 87.50 | 87.50 | PASS |
| Zero feed → N/A | N/A | N/A | PASS |
| Missing TDS → N/A | N/A | N/A | PASS |
| Permeate > feed → N/A | N/A | N/A | PASS |
Endpoint status
Proposed integration contract — routes must be mapped by the integration team
| Endpoint | State | Mode | Generated at | Resolution | Source / error | Raw JSON |
|---|---|---|---|---|---|---|
| GET /api/v1/ro/dashboard/summary | PENDING | — | — | — | — | open |
| GET /api/v1/ro/dashboard/process | PENDING | — | — | — | — | open |
| GET /api/v1/ro/dashboard/equipment | PENDING | — | — | — | — | open |
| GET /api/v1/ro/dashboard/flows | PENDING | — | — | — | — | open |
| GET /api/v1/ro/dashboard/quality | PENDING | — | — | — | — | open |
| GET /api/v1/ro/dashboard/tanks | PENDING | — | — | — | — | open |
| GET /api/v1/ro/dashboard/production | PENDING | — | — | — | — | open |
| GET /api/v1/ro/dashboard/trends | PENDING | — | — | — | — | open |
| GET /api/v1/ro/dashboard/alarms | PENDING | — | — | — | — | open |
| GET /api/v1/ro/dashboard/events | PENDING | — | — | — | — | open |
| GET /api/v1/ro/dashboard/health | PENDING | — | — | — | — | open |
| GET /api/v1/ro/configuration | PENDING | — | — | — | — | open |