Lattice 4/4: dormant brand adapters (Solis/Fox/Solax)#4084
Draft
mgazza wants to merge 3 commits into
Draft
Conversation
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>
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.
PR 4/4 of the Lattice merge train. Stacked on #3. All dormant (
controllable=()) until live hardware verification.Commits (story):
write_cid(CIDs 157/160/7224/7226); dormant pending voltage/CID verifydeviceSN; control delegates towrite_battery_schedule_event; dormant pending schedule cache-sync verifysoc_target_control_mode+ plant-id identity → see lattice-spec#3)🤖 Generated with Claude Code