utilities/backend
jtricerolph 811e3e9c31 Expose per-meter cost/estimate detail and a 12-month trend on the internal API
/api/internal/costs and /estimate now include a meters array (same
consumption/cost-split/basis rows as the in-app Reports/Estimates
pages) alongside the existing category totals, so external callers
(reports app's Weekly Actuals) can render a per-meter table instead of
just category rollups.

Adds /api/internal/trend?months=12 — per-category cost/consumption for
the last N months plus the same N months a year earlier, computed in
one call for a "this year vs last year" chart.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-28 14:56:21 +00:00
..
src Expose per-meter cost/estimate detail and a 12-month trend on the internal API 2026-07-28 14:56:21 +00:00
Dockerfile Initial commit — utilities app (meter readings, tariffs, cost tracking) 2026-07-26 17:33:42 +00:00
package.json Commit missing MQTT/history/scheduler files referenced by meters.js 2026-07-28 13:32:22 +00:00