Commit Graph

17 Commits

Author SHA1 Message Date
56b2cc2bf1 Add calibration-charge skill to fix EG4 SoC counter drift (improvement #1)
The everyday profile caps grid charging at 54V, so the bank can go weeks
without a full charge and the EG4 BMS coulomb counters drift (proven: pack 6
read 76% SoC while at the same 53.4V/3.337V-per-cell as packs reading 50-55%
— all paralleled, so physically equal charge; the spread is pure drift).

- profiles/eg4-lp4-v2-calibration.yaml: temporary profile, identical to
  canonical except stop_charge_voltage 54.0 -> 0 (Full), so grid can finish a
  full charge to the 56.4V absorption hold that re-anchors every pack to 100%.
- calibration-charge skill: guided runbook (pre-flight safety, two methods
  solar-only / grid-assist, live monitoring with cell-voltage/temp aborts,
  re-anchor verification, mandatory revert).
- REFERENCE: scoped action-policy exception (this skill alone may flip
  stop_charge, both units, user-confirmed, must revert); corrected pack-6 /
  SoC-drift notes to the verified equal-voltage-different-SoC signature.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-24 12:11:47 -04:00
aa97d65b0c Add solar monitoring/troubleshooting skills for agents
Four Skill-tool skills under .claude/skills/ that let an agent monitor and
troubleshoot the install (2x LVX6048, 6x EG4 LifePower4, OpenEVSE), grounded
in the real MQTT/HA topology rather than generic advice:

- solar-health-check  : whole-system sweep + cross-checks + R/Y/G verdict,
                        incl. cross-unit "silently-dead inverter" detection
- troubleshoot-inverter: FWS fault decode, parallel sync, USB link recovery
- troubleshoot-battery : per-pack imbalance vs SoC-counter-drift, RS485 silence
- power-usage         : PV/load/grid/battery balance + EVSE sessions

Shared lib:
- solar-snapshot : live MQTT capture (creds from powermon.yaml, no hardcoding)
- ha-history     : HA recorder lookback (token from ~/.config/ha/token)
REFERENCE.md documents topology, real HA entity_ids (doubled slug), known
issues, and a safe-remediation-only action policy (restarts yes; setters no).

Action boundary: diagnose + restart wedged daemons / recover USB links;
never touches inverter/battery setters or flash.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-24 11:46:20 -04:00
5484bb5fa6 commissioned 2026-06-23 18:49:47 -04:00
231e03081d fixed battery SoC and various other regs 2026-05-16 07:33:22 -04:00
38ac9ca8e8 Added 3 new batteries 2026-05-11 18:36:58 -04:00
df3fb3466a updates to evse 2026-05-09 11:34:26 -04:00
8c7b5fb711 fixed resolver 2026-05-09 10:18:57 -04:00
a1acf479f0 fix 5min spikes 2026-05-01 19:10:21 -04:00
e1b180e230 lvx, eg4, and evse 2026-05-01 16:56:37 -04:00
7688fc1dd3 Resilience pass: bulletproof recovery + FWS / fault polling + EG4 discovery refresh 2026-04-28 18:10:00 -04:00
04720c3b92 add controls to lvx 2026-04-27 06:50:04 -04:00
00ab311d92 working in production - not entirely validated. parallel mode working. 2026-04-26 19:26:44 -04:00
f771ec2b46 Cleaned up inverter mqtt 2026-04-26 08:49:05 -04:00
b526b10cf5 Cleaned up battery mqtt topics 2026-04-26 08:18:57 -04:00
e893be8c35 Docker PoC for batteries 2026-04-26 07:47:20 -04:00
396e810895 3xbatt-2xinverter 2026-04-25 19:00:44 -04:00
9aca623336 initialize 2026-04-24 16:34:10 -04:00