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

# Pools and Chemical Profiles

> Define each body of water and configure the chemistry thresholds that drive status evaluation.

This page covers pool setup and chemistry threshold configuration.

## Best for

* defining each body of water separately
* setting chemistry expectations per pool
* preparing the system for meaningful status evaluation

## Pools

Go to:

```text theme={null}
Settings > Pools
```

### What a pool represents

A pool is a trackable body of water under a location.

Examples:

* Lap Pool
* Deep Pool
* Wading Pool
* Spa

### Pool fields

* location
* name
* type
* gallons
* active/inactive status

### Creating a pool

You must have at least one location before creating pools.

For each pool:

* select the parent location
* enter a clear name
* optionally enter the type
* optionally enter gallons

### Why gallons matter

Gallons are not heavily used in the current implementation, but they are useful metadata for future operational calculations and should be entered when known.

## Chemical profiles

Go to:

```text theme={null}
Settings > Chemical Records
```

Open `Configure` for a pool to edit that pool's chemical profile.

### What the chemical profile controls

For each supported chemistry field, you can set:

* ideal min
* ideal max
* alert min
* alert max
* closure min
* closure max
* required yes/no

### Supported fields

* free chlorine
* total chlorine
* combined chlorine
* pH
* alkalinity
* calcium hardness
* pool temperature
* cyanuric acid

### How the thresholds work

* ideal values drive the normal status display
* alert values are intended for future alerting behavior
* closure values mark conditions requiring facility closure
* blank values mean that specific check is not enforced

### Illinois defaults

The demo seed merges in Illinois-based defaults derived from the swimming facility code. Those defaults include:

* free chlorine ideal 1.0 to 4.0 ppm, closure below 0.5 ppm or above 5.0 ppm
* total chlorine closure above 5.0 ppm
* pH ideal 7.2 to 7.6, closure below 6.8 or above 8.0
* alkalinity ideal 50 to 200 ppm
* pool temperature ideal 76 to 92°F
* cyanuric acid alert above 100 ppm

### Best practices

* configure every active pool before relying on status badges
* use closure thresholds carefully because they directly affect operator guidance
* review thresholds any time local rules or operating conditions change

## Typical walkthrough

<Steps>
  <Step title="Open Pools">
    Open `Settings > Pools`.
  </Step>

  <Step title="Add bodies of water">
    Add each trackable body of water under the correct location.
  </Step>

  <Step title="Open Chemical Records settings">
    Open `Settings > Chemical Records`.
  </Step>

  <Step title="Configure thresholds">
    Configure ideal, alert, and closure thresholds for each pool.
  </Step>

  <Step title="Review with leadership">
    Review the values with operations leadership before daily logging begins.
  </Step>
</Steps>

## Suggested screenshots

* pools list
* add/edit pool dialog
* chemical profile configuration screen
