Commit Graph
4 Commits
Author SHA1 Message Date
bonaminandClaude Opus 5.5 42c7d18207 docs: record the verified register map and inverter IDs
P06D is a latched 21450 (not power), P052/P05A static, P063 frozen; power
is computed V*I. Lists what's sent, what isn't, the unmapped diagnostics,
the INV1-INV5 IP assignments, and that timestamps must be real UTC. The
simulator now sends the same payload shape.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 09:43:56 +03:00
bonaminandClaude Opus 5.5 0b0e4b7d6d docs(poller): test the endpoint with a real inverter id, not TEST
Any id posted becomes a permanent inverter card, and there's no delete yet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 09:02:22 +03:00
bonaminandClaude Opus 5.5 9d41c77668 docs(poller): brief for the agent building the on-site poller
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 09:02:12 +03:00
bonaminandClaude Opus 5.5 d4b584e364 feat: solar inverter monitor — FastAPI + SQLite backend, React PWA dashboard
Monitoring for the Refusol 020K inverters. The on-site poller POSTs each
60 s cycle to /api/readings; the dashboard answers first whether every
inverter is operating and whether one is producing far less than its peers
(string fuse / breaker problems).

- Backend: FastAPI + SQLite. Parameters defined once in fields.py (columns
  auto-added on start); unknown poller keys are kept in `extra` since the
  parameter map is still being researched. Idempotent ingest, daily energy
  rollup in site-local days, history downsampling, 2-year retention.
- Health: Offline vs Sleeping (sun elevation) vs No data (datalogger
  silent, detected via empty-batch heartbeats), Fault from error_code,
  underperformance vs fleet median (per kWp when sizes set), MPPT imbalance.
- Frontend: mobile-first React + Tailwind, installable PWA, comparison bars,
  24 h power / 30 day energy charts, detail page with all parameters.
- Docker: backend + frontend + nginx on one port for NPM, as in
  bellsystems-cp; deploy-host.sh pulls main and rebuilds.
- poller/backend_client.py: stdlib client with offline spool for
  refusol_poller.py; fake_poller.py simulates the site.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 07:42:48 +03:00