Skip to content

Release v1.210.0 — the winter mid-day shadow sizes on the panel's own solar readings while the Cores are dark - #595

Merged
tesseractAZ merged 1 commit into
mainfrom
fix/midday-shadow-panel-basis
Nov 26, 2026
Merged

tesseractAZ merged 1 commit into
mainfrom
fix/midday-shadow-panel-basis

Conversation

@tesseractAZ

Copy link
Copy Markdown
Owner

Summary

The winter mid-day super off-peak cycle runs in shadow: sized and recorded, never written. Since 1.204.0 the overnight plan takes its solar from the panel's own per-slot readings when the Cores' band cannot be used, but the shadow stayed on the Cores' band. With the Cores dark that band has no scored days, so every mid-day shadow row read "not armed — the plan basis is incomplete" and sized nothing (25 rows on the live ledger, none sized). Each shadow leg now makes the same choice for itself, so the shadow can produce evidence while the Cores are dark.

No device write, push or announcement is added, and nothing arms a mid-day leg.

Changes

  • Its own selection. panelPvSelection.shadowPvBasis runs the overnight plan's choice for a shadow leg, with no latch and no shared state. recomputeNightChargePlan computes it only when sizeShadowLeg passes shadowPvBasis: true. The live plan's lines are unchanged: its latch guard, shadowLeg ? null : selectPvBasis(...), its snapshot, served plan, ledger row and log lines.
  • Daylight. A leg takes the panel band only when every hour it reads, from the plan instant to its horizon, has a fitted solar figure (the clock hour has a slope and a forecast GHI). Elsewhere it keeps today's basis.
  • The row. A refused leg says why in shadow_arm_disposition and sizes nothing; a leg the panel band sized names the band and the evening it was built for. No ledger column is added.
  • Unknown equals today. Where the selection cannot be made (no report, no per-hour data, no span), the shadow's output is today's, to the letter.

Known limit: while the Cores are dark a sized row has no measured window PV to grade it against (the measured PV is the Cores' own meter).

Verification

  • cd server && npm test: 7,164 tests, 0 failures, in both time zones, locally (CI's job counts 7,160: four tests need pandoc or LibreOffice)
  • server/ type-checks, both projects; web/ type-checks and builds
  • python3 scripts/check-no-secrets.py; python3 scripts/validate-addon-config.py (the version only)
  • node scripts/check-mutant-anchors.mjs: 6,720 anchors across 158 harnesses
  • node scripts/check-docs.mjs --check; node scripts/check-doc-claims.mjs --tests 7160: 11 of 11
  • mutate-panel-pv-basis.mjs: 165 of 165 killed in a full run
  • The 94 other harnesses with an anchor in a changed source file: 5,162 of 5,163 killed; the one survivor is mutate-rate-table.mjs v., declared as a known survivor in that harness since 1.191.0 and untouched here
  • An independent test author wrote 25 tests from the specification and tried to make a shadow call reach the live plan; its four findings are fixed

Release

  • ecoflow_panel/config.yaml 1.209.1 to 1.210.0; ## 1.210.0 in ecoflow_panel/CHANGELOG.md.

🤖 Generated with Claude Code

… solar readings while the Cores are dark

The overnight plan takes its solar from the panel's per-slot readings when
the Cores' band cannot be used; the mid-day shadow stayed on the Cores'
band, which has no scored days while they are dark, so it sized nothing.
Each shadow leg now makes the same choice for itself, on a path apart from
the live plan's (no latch, no shared state), and takes the panel band only
where every hour it reads has a fitted figure. No device write is added.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tesseractAZ
tesseractAZ merged commit 6b3f31a into main Nov 26, 2026
15 checks passed
@tesseractAZ
tesseractAZ deleted the fix/midday-shadow-panel-basis branch November 26, 2026 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant