Repository navigation
Conversation
….1.4) A Solis string inverter stops answering Modbus when the sun is gone. 1.1.3 gave up on its power block (3004-3009) after three misses, like an optional block, then sent 0 W until the driver restarted. An inverter that slept through the night read 0 W all the next day. An owner reported it on an S5-GC20K. The power block is now asked on every poll, and the driver sends nothing while it is silent. The detail blocks keep the three-try rule, are not asked while the power block is silent, and get three fresh tries when it answers again. A field whose register did not answer is left out, never sent as 0, so solis_string leaves invented-number-baseline.json. Field names, scales and registers are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.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. |
This branch has not been deployed
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.
Problem
A Solis string inverter stops answering Modbus when the sun is gone. 1.1.3 gave up on its power block (3004-3009) after three misses, the same way it gives up on an optional block, and then sent
w = 0until the driver restarted. So an inverter that slept through the night read 0 W all the next day. An owner reported this on an S5-GC20K.1.1.3 also filled every field from a failed read with 0.
invented-number-baseline.jsonlisted 21 such fields for this driver.Change
test_absent_register_settles.pyallows this: a driver that emits nothing while failing is not a violation.docs/WRITING-A-DRIVER.md. They are not read while the power block is silent, and they get three fresh tries when it answers again. A sleeping inverter says nothing about which blocks it has.solis_stringleavesinvented-number-baseline.json.The owner also sent a candidate driver. It was not used as is: it dropped the
DRIVERtable,PROTOCOLandset_make(6 test failures), renamed the PV fields to names Core does not accept, read phase current in 0.01 A where Solis's map says 0.1 A, and retried absent blocks with a backoff capped at 12 polls. That cap means one failed read a minute forever on a model that lacks a block. The 10-poll absent-register probe is too short to catch it.Test evidence
make check: 5575 passed, 927 skipped.drivers/tests/test_solis_string_recovery.py: 5 tests. Four fail on 1.1.3: night then morning, absent block left alone, fresh tries after an outage, and no frequency or temperature from a failed status block. The fifth pins phase current at 0.1 A.make absent-register-report ID=solis_string:make invented-number-report ID=solis_string:"invented":[]. 1.1.3 invented 0 fordc_w,hz,l1_v…l3_aand the rest.Not yet verified
Solis stringlog lines.verification_statusstaysexperimental.drivers/BUNDLED_SOURCE.jsonhas to move, or an offline boot keeps running 1.1.3.🤖 Generated with Claude Code