A form at the top of the Status page: station dropdown (folders of data/), start and end dates
(end excluded, as --au), and an Analyse button that builds the page for that selection and opens it.
The code is in detectors-view/data-loader/chargeur.py: the form, and its local server (port 8766)
that serves out/ and data/ like the common one, plus /analyse, which runs status.py each time.
python3 detectors-view/status.py without arguments, or detectors-view/status.sh, opens the form
alone; with a station folder it builds the page as before, now opened through the loader server.
common.page.open_served takes another port and server script.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The GIF is the timelapse as shown (focused or global, sensors circled and
labelled), 1000 px wide at most, red border during the event, time at the
bottom. In file:// the browser cannot read the images' pixels, so the
detectors, end-of-session and case-review pages now open through a local
server (open_served, 127.0.0.1:8765, started in the background, serving
out/ and data/ only).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
pomper.py écrit les métriques dans data/<SERIE>/metrics/ ; load_stations les y lit
aussi. Les images dont measurement_uuid est vide (jamais arrivées sur S3) sont
écartées de la requête : plus d'erreur de l'appli, la tranche prend l'image suivante.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
pomper.py now also pumps every system metric of a station, in the format of
the System page download (hourly mean, text lists, empty hour), one CSV per
metric and per day; displacements are written one file per day, today is
never pumped, and a rerun only fetches missing days. Fix image resume: an
image already on disk now counts for its time slot. load_stations merges
several files of the same metric instead of failing on a duplicate.
Not run against the database: first run by the user, with point 27.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Plan points 18 to 26, 30, 39, 40 and the point 37 housekeeping:
- greyed zones per target, vertical scale without the zones to ignore, Fit all,
mm by default with a px switch, Support view, Expand (one row per category);
- cleaned curves: cut in the zones to ignore, raw data kept there in thin grey;
- target02 to target05 count as targets; smoothing questions answered;
- categories.py sorts in slices with 3 days of history by default;
- the pumping script points to ~/monitoring-dashboard and skips diff images;
- CLAUDE.md back under 200 lines; a case page is named after its case.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Energy code moves to src/energy/ and its docs to docs/energy/; shared code
(CSV loading, venv switch, browser, zoom script) goes to src/common/, and the
AIMsight originals to docs/aimsight/. Analyses are no longer numbered: two
Energy scripts remain, daily.py (delivered state and trend) and
all_analyses.py (comparison of the four). Calculations and pages unchanged (D-026).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>