Skip to content

fix(drivers): fail close release-on-zero hybrids - #930

Merged
frahlg merged 1 commit into
masterfrom
agent/zero-hold-driver-pin
Aug 16, 2026
Merged

frahlg merged 1 commit into
masterfrom
agent/zero-hold-driver-pin

Conversation

@frahlg

@frahlg frahlg commented Aug 16, 2026 •

Copy link
Copy Markdown
Member

What changed

  • Move the bundled driver pin to srcfl/device-drivers@042e0efe8827946de8178845746948f8555b3622, the reviewed squash commit from device-drivers feat(pvmodel): hot-reload rated PV + lat/lon without restart #86.
  • Make bundled Huawei and Ferroamp Modbus control fail closed. Both remain available for telemetry; Ferroamp control remains available through its tested MQTT driver.
  • Carry the already merged MyUplink 1.2.0 update from device-drivers fix(config): respect -drivers flag when resolving Lua paths #83; it remains read-only and fail closed.
  • Prove that init, battery commands, curtailment, default and cleanup make no Modbus writes and that both catalog entries declare read_only.

Why

Both former 0 W paths released the hybrid to vendor control instead of holding the battery at zero. Core treats 0 W as an enforced hold, so keeping those write paths could report a successful idle command while native charging continued.

Checks

  • scripts/sync-bundled-drivers.sh — 38 drivers fetched from the exact pin
  • focused driver regressions, 20 runs
  • go test -race ./internal/drivers
  • make verify

The upstream driver change has human approval, all six device-driver checks, and a full make check result of 3618 passed / 1333 skipped.

@frahlg
frahlg requested a review from miravoss26 August 16, 2026 20:38
@frahlg

frahlg commented Aug 16, 2026

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Bravo.

Reviewed commit: e159523697

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@frahlg
frahlg marked this pull request as ready for review August 16, 2026 20:48
@frahlg
frahlg merged commit f9794cf into master Aug 16, 2026
14 checks passed
@frahlg
frahlg deleted the agent/zero-hold-driver-pin branch August 17, 2026 18:18
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