# Atlantis Reef Tank — open telemetry data (Neptune Apex AC6 + Trident)

Tank location: Thailand. All times below are Asia/Bangkok (+07:00); `ts` columns are unix seconds (UTC).
Readings are logged locally from the Apex (temp °C, pH, ORP mV, level, outlets) with Trident alk (dKH) / Ca (ppm) / Mg (ppm).
Trident values are step functions: they only change when a test completes (several times a day). Trident data starts 2026-07-02; earlier rows have temp/pH/ORP only.

## Latest reading (2026-11-24T23:36:04+07:00)
- Alkalinity: 8.13 dKH
- Calcium: 283 ppm
- Magnesium: 1285 ppm
- Temp: 25.8 °C · pH: 8.29 · ORP: 452 mV

## Coverage
- 48578 readings from 2026-05-05T00:09:00+07:00 to 2026-11-24T23:36:04+07:00
- 17 logged doses (Balling: alk / ca / mg, mL) · 46 maintenance notes synced from Apex Fusion

## Endpoints (all public, GET, CORS *, no key)
- Trident test events, whole history (best for KH/Ca/Mg consumption analysis):
  https://allcorals.com/api/apex/export?table=readings&step=tests&range=all
- Hourly averages, whole history:  https://allcorals.com/api/apex/export?step=hourly&range=all
- Daily averages, whole history:   https://allcorals.com/api/apex/export?step=daily&range=all
- Raw 60-s samples for a window:   https://allcorals.com/api/apex/export?step=raw&from=2026-09-01&to=2026-09-08
- Dose log (every manual/Fusion dose, mL): https://allcorals.com/api/apex/export?table=doses
- Maintenance notes:               https://allcorals.com/api/apex/export?table=notes
- Latest reading + outlets (JSON): https://allcorals.com/api/apex/latest
- 7-day dosing analysis (JSON):    https://allcorals.com/api/apex/dosing-analysis

Parameters: table=readings|doses|notes · step=raw|hourly|daily|tests · range=1d|3d|7d|30d|90d|all
            from=YYYY-MM-DD · to=YYYY-MM-DD (Bangkok dates; unix seconds also accepted) · format=csv (default)|json
Dashboard (needs JavaScript): https://allcorals.com/atlantis/live
