Repository navigation
fix: read-only EV drivers say why, drop two that read nothing - #241
Merged
Merged
Conversation
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. |
Fredrik, 21 Nov 2026: a driver that can command its device ships with control on; one that cannot says so plainly. - Remove local easee and zaptec. Easee and Zaptec document no local API; the two drivers read an invented Modbus map and a made-up HTTP path. Use easee_cloud, zaptec_cloud or the charger's OCPP to FTW. - tesla_wall_connector 0.2.0: Tesla offers no way for another system to set its current. driver_command now refuses instead of answering true while writing nothing. - teslamate_vehicle 0.2.1, home_assistant_vehicle 0.1.1, tesla_cloud 0.2.1: the description and notes say why FTW cannot control the car through them and where control goes instead. vag_vehicle waits for #213, which has right of way. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Fredrik Ahlgren <fredrik@sourceful-labs.com>
Review: 'most business cars' skipping Tesla's signed commands has no source, and Home Assistant answering 500 on a failed action was not confirmed. Both were comments only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Fredrik Ahlgren <fredrik@sourceful-labs.com>
frahlg
force-pushed
the
read-only-says-why
branch
from
November 21, 2026 17:01
bccf647 to
a120212
Compare
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.
Why
Fredrik decided on 21 Nov 2026: "a driver that can command its device ships
with control on; one that cannot says so plainly". People read the catalog
and expect a listed device to be controllable. This PR covers the EV-related
drivers that are not ordinary local chargers. Other PRs cover
zaptec_cloud,the other chargers and the policy text.
What
easee(local)zaptec(local)/api/charger/state, which does not exist.tesla_wall_connector0.2.0driver_commandnow refuses instead of answeringtruewhile writing nothing.teslamate_vehicle0.2.1home_assistant_vehicle0.1.1tesla_cloud0.2.1vag_vehicleEach read-only driver's
descriptionand manifest notes now say why FTWcannot control the device and where control goes instead: the car
(
tesla_vehicleover BLE) or a charger FTW can control.The removals follow the
foxessprecedent: a catalog that reports what isknown must not list a map nobody has seen answer.
driver-history.jsonkeeps their record. FTW does not bundle either file. People with an Easee or
Zaptec use
easee_cloud,zaptec_cloud, or point the charger's OCPP atFTW's built-in server (Easee from firmware 344; Zaptec Go, Go 2 and Pro).
If you would rather keep a listing, a read-only stub that reads nothing and
points to the cloud driver is a small change.
Core and vehicle commands
Core already sends a bound vehicle driver
charge_start(aliasev_start)and a telemetry
wake_up(aliasev_wake), but never to aread_onlydriver. It has no contract to stop a car's charge, set its limit or set its
amps.
tesla_cloudcannot usecharge_startbecause Tesla requires signedcommands;
vag_vehicle's EU Data Act portal shares data only.Sources
upstream_docs): https://energylibrary.tesla.com/docs/Public/Charging/WallConnector/ApplicationNote/DynamicPowerManagement/EMEA/en-GB/smart_current_limits_en-GB.pdfTests
drivers/tests/test_ev_read_only_reason.py: each of the four read-onlydrivers declares
read_only = trueandcontrol: false, and states itsreason and where control goes.
test_tesla_wall_connector.lua: every control action returnsfalseandwrites nothing; one warning per run. It fails on the old driver.
make test-driver ID=<id>fortesla_wall_connector,teslamate_vehicle,home_assistant_vehicle,tesla_cloud: 39–41 passed each.make check: 4996 passed, 926 skipped.Generated files (
index.yaml,devices.yaml,support-status.json,SUPPORT_STATUS.md) will conflict with the parallel PRs. Moving FTW'sbundled-driver pin is a separate step.
🤖 Generated with Claude Code