34d34f6e6cba7c47e3f84988f3835cdff2a0e5e2
Unattended morning runner for the calibration top-off. DEFAULT is solar-only @ 60A: no setter, reads telemetry, weather-gates (PV<4kW by 10:30 -> abort), monitors the charge with cell>3.65V / temp>45C aborts, verifies all 6 packs re-anchor to 100%. Validated end-to-end via --dry-run against live HA. Key firmware finding baked in (confirmed live): MCHGC is LOCKED while charging (NAKs even in device_mode 'Battery' when charger_status='charging') -- so the 80A throttle test is opt-in (THROTTLE=1), gated on a true pre-charge idle window, with retry-on-revert and a guaranteed-safe fallback (cap stays 80A until idle if revert NAKs). No clean noon A/B is possible; documented as such. Also handles the HA pack-temperature unit trap (entities report degF; the script reads unit_of_measurement and converts to degC for the safety check). REFERENCE: documented the MCHGC charging-lock under known issues. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Description
No description provided
Languages
Python
91.7%
Shell
7.2%
Dockerfile
1.1%