Skip to content

Lattice 4/4: dormant brand adapters (Solis/Fox/Solax)#4084

Draft
mgazza wants to merge 3 commits into
lattice-pr3-hotpathfrom
lattice-pr4-brands
Draft

Lattice 4/4: dormant brand adapters (Solis/Fox/Solax)#4084
mgazza wants to merge 3 commits into
lattice-pr3-hotpathfrom
lattice-pr4-brands

Conversation

@mgazza

@mgazza mgazza commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator

PR 4/4 of the Lattice merge train. Stacked on #3. All dormant (controllable=()) until live hardware verification.

Commits (story):

  1. Solis — control via proven write_cid (CIDs 157/160/7224/7226); dormant pending voltage/CID verify
  2. Fox — fragment emits real deviceSN; control delegates to write_battery_schedule_event; dormant pending schedule cache-sync verify
  3. Solax — read-only; control deferred (coupled soc_target_control_mode + plant-id identity → see lattice-spec#3)

🤖 Generated with Claude Code

mgazza and others added 3 commits June 18, 2026 09:53
SolisAPI.lattice_control maps reserve/target/charge/discharge to the proven write_cid (CIDs 157/
160/7224/7226, amps at nominal_voltage), case-insensitive serial. Kept controllable=() (dormant)
until live verification of voltage scaling + v1/v2 CID.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
FoxAPI.lattice_fragment emits real deviceSN (device_list is dicts); lattice_control delegates to
the proven write_battery_schedule_event with token-correct entity ids. Kept controllable=()
(dormant) until live verification of the schedule read-modify-write cache-sync.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
SolaxAPI.lattice_fragment is read-only: control is deliberately deferred because soc_target_control_mode
couples (target, power, mode) in one call and node id is plant_id (never merges with a serial).
Documented for the coupled-control spec work (lattice-spec#3).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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