Repository navigation
chore(drivers): bundle device-drivers 504b0dd, Zaptec Cloud control - #2060
Merged
Merged
Conversation
Moves the bundled driver pin to srcfl/device-drivers c4c39af: - zaptec_cloud 0.2.1 sets the charging current, pauses and resumes (device-drivers #240, #243). It used to declare read_only. - tesla_wall_connector, teslamate_vehicle, home_assistant_vehicle and tesla_cloud now say why they only read (#241). Adds TestZaptecCloudControlsThroughFTWHost, which runs the bundled driver in Core's Lua host against a fake Zaptec API and pins every write. docs/ocpp.md no longer mentions an Easee Modbus driver, which never read a real charger and is gone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Fredrik Ahlgren <fredrik@sourceful-labs.com>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
…geset Review of #2060: - The old Zaptec tests loaded a stale read-only copy in testdata/. They now load the bundled drivers/zaptec_cloud.lua, and the copy is gone. - The power check in the new test can now fail. - The changeset is minor: control of a Zaptec charger is a visible new capability. It now says that a stand-down leaves the charger at 0 A, stored on the charger. - docs/ocpp.md says the Zaptec control is experimental and drops an unsourced claim. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Fredrik Ahlgren <fredrik@sourceful-labs.com>
…0.2.2) zaptec_cloud 0.2.2 (device-drivers #247) returns false when a stand-down is refused, so Core keeps control blocked and retries instead of believing the charger stopped. No other bundled driver changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Fredrik Ahlgren <fredrik@sourceful-labs.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
This moves the bundled driver pin to srcfl/device-drivers
504b0dd:zaptec_cloud0.2.2: FTW now sets the charging current, pauses and resumes a Zaptec Go, Go 2 or Pro. Before this, the driver declaredread_only, so FTW accepted the charger but never steered it. Details are in feat(zaptec_cloud): control the charger's current, pause and resume (0.2.0) device-drivers#240, feat(drivers): CTEK Chargestorm Modbus TCP — API v1 + API v2 #243 and fix(mqtt): re-subscribe on reconnect (Pixii evening MQTT outage) #247. In 0.2.2, a refused stand-down returnsfalse, so Core keeps control blocked and retries instead of believing the charger stopped.tesla_wall_connector,teslamate_vehicle,home_assistant_vehicle,tesla_cloud: each now says why it only reads (fix: read-only EV drivers say why, drop two that read nothing device-drivers#241).It also adds
TestZaptecCloudControlsThroughFTWHost. The test runs the bundled driver in Core's Lua host against a fake Zaptec API and pins every write:maxChargeCurrentThe older test against the
testdata/copy stays as it is.docs/ocpp.mdno longer points to an Easee Modbus driver. That driver never read a real charger and has been removed from device-drivers.Why
A new owner with a Zaptec Go on a 20 A main fuse could not control charging from FTW. L1 overloaded whenever the car charged next to the battery. Fredrik decided on 21 November 2026 that a driver that can command its device ships with control on (srcfl/device-drivers#239).
Evidence
make verifypassed locally.zaptec_cloudwas reviewed independently in three rounds. Its harness test and mutation checks cover the fuse budget, the phase rule, pause and resume, Zaptec's 520/528 codes, stand-alone mode and the stand-down.The control path is not yet confirmed on a real charger. It stays
experimental.Changeset: minor
Control of a Zaptec charger is a visible new capability, so the changeset is
minor. Fredrik asked for this control in chat on 21 November 2026, and his words were "gå hela vägen … pushar ut".What an existing Zaptec owner sees after the update:
Review
An independent review recommended merge. Its follow-ups are in the last commit:
testdata/copy is gone;minorand says what happens on a stand-down;docs/ocpp.mdsays the control is experimental.🤖 Generated with Claude Code