Repository navigation
feat: expose filtered soil voltage for calibration - #27
Merged
Merged
Conversation
Owner
Author
|
@coderabbitai review |
✅ Action performedReview finished.
|
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.
Behavior
Extract the generic diagnostic from fork PR #7. One ADC median/plausibility pipeline publishes Soil Voltage; a copy sensor derives Soil Moisture. Keep upstream 1.25 V / 2.8 V calibration, five samples, 3-second spacing, existing moisture name/id and retained conventions.
Target: flowcool/Smart_Plant:upstream/staging-v2r1. Source
c16403e, predecessorc3229d0. Open after the preceding contribution merges so this PR contains only its owned change. The upstream baseline isbcf373144b2d5c7e3a712fd02698e2e98e45aeed. No PR to JGAguado is authorized.Verification
Three tests execute exact pinned ESPHome 2026.9.0 median scheduling/computation, voltage rejection and calibration with the real YAML settings. They cover single fifth-sample publication, spikes, invalid windows and unchanged calibration/cadence. Integrated actual-YAML mode regressions pass. Both exact-source firmware builds are recorded in the delivery note.
Inspect the semantic diff and
git -c core.whitespace=cr-at-eol diff --check; preserve existing line endings. All tracked YAML parses. Firmware fixtures use local fonts/public images and synthetic credentials, never devices or shared builders. Local compilation does not prove deployment.Rollback: revert this isolated PR on staging. No automatic deployment, fleet/NAS/cache purge/MQTT/HA action.
Exact-source isolated ESPHome 2026.9.0 builds: api 0x878c9917, mqtt 0x9f000cd0.
AI assistance
Codex prepared the port or extraction. The author inspected the behavior, contribution boundary, actual-source tests, compatibility and diff. Existing staging OTA confirmation and native shutdown remain intact.
CodeRabbit review
Require current-head completed review and yaml-syntax before merge. Florent approved one manual review request per ignored PR for this series only. Documentation-only PRs use the standing docs gate. Record review/head/checks/merge in owner
infra-3rr.67.Summary by CodeRabbit
Nouvelles fonctionnalités
Tests