Commit Graph
2 Commits
Author SHA1 Message Date
Claude 711c5f3627 EV-20 rig round 1: stuck check armed on the reading before the send; no amp ping-pong; ha_signed meter age
infra-pin / fresh (pull_request) Successful in 4s
checks / unit (pull_request) Failing after 1h11m9s
The stuck check's baseline is the signature of the latest reading taken
before the send (kept at begin_write), never one that arrived while the write
waited; a refused write's first post-send sample is its baseline (EV-36).
After a step down, a step back up needs UP_HYST_W past the boundary. Solar's
15 s meter-age gate applies only where the age measures arrival; on
ha_signed it is the source's meter_max_age_s. Rows in test_ev20_rig.py;
harness modes for the rig's interleave and an on-change meter.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VSY9UpTaUYnjJF5oVtbM1w
2026-11-23 14:28:21 +01:00
Claude 226e5a1e8b EV-20: Car Solar mode, spare sun to the car (charging only)
checks / unit (pull_request) Successful in 57m6s
infra-pin / fresh (pull_request) Successful in 3s
Solar as a second writer next to Manual (carmode.SolarPlan, SolarWriter on
ManualWriter's one write site, safe phase sequence and other-writer watch):
signed spare, Batteries first on the batteries' ratings, the margin, whole
amps rounded down, the 30 s / 1 A rule, start and pause dwells, auto phases,
a one-phase car. Every way out ends at 0 A, retried by EV-04's rule; at
shutdown before the inverters, three tries inside 15 s (D3); start-up and a
returning charger or HA write 0 A first (D2); never over another writer's
hold. The peak guard treats a Solar car as a Manual car (D1 wording). Solar
kWh sensor and card line; select.goodwe_car_sun_first; ev_margin_w,
ev_start_min, ev_pause_min with config, validator, translations, DOCS,
DECISIONS and CHANGELOG.

Checks: test_ev20.py, test_ev20_exits.py, test_ev20_writers.py,
test_ev20_guard.py, test_ev20_long.py, test_ev20_long_car.py,
test_ev20_fuzz.py (harness tools/ev20_sun.py, ev20_kit.py, ev20_day.py);
test_ev03/test_ev04 no longer use Solar as the refused example.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VSY9UpTaUYnjJF5oVtbM1w
2026-11-22 20:31:26 +01:00