fix: move solar pump relay to R4 (GPIO2), add RC snubber docs#165
fix: move solar pump relay to R4 (GPIO2), add RC snubber docs#165stritti wants to merge 4 commits into
Conversation
❌MegaLinter analysis: Error
Detailed Issues❌ CPP / clang-format - 1 error
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 29f63ce345
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
- hardware-guide.md/hardware-guide.de.md: fix breadboard image path from ../pool-controller_breadboard.png to pool-controller_breadboard.png - quickstart.md: fix breadboard image URL (non-existent docs/images/ subdirectory → docs/) - quickstart.md, hardware-guide.md, hardware-guide.de.md: replace version-unstable raw/main GitHub URLs with relative file paths
- Config.hpp: PIN_RELAY_SOLAR → GPIO2 (R4), R1 now blocked by static_assert, neutral comment without field story - norvi-ae01-r docs: update pin table, wiring diagram, pin reference, snubber section to use R4 - contactor-guide docs: add ECM pump note, neutral field report, wiring and steps updated to R4 - Hardware guides: nuanced recommendation (contactor >300W, snubber <100W)
29f63ce to
d43ac69
Compare
Native Test Coverage
Report from native unit tests (ASan + gcov). |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d43ac69be8
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…date - P1: StatusLed::begin() no longer overrides LED_BUILTIN when Config.hpp explicitly sets a different pin (NORVI GPIO27) - P1: contactor-guide overview diagram — 230V L path replaced with 24V DC (+) (mains must not enter control circuit) - P2: wiring-contactor.svg — R5/GPIO33 → R4/GPIO2, 300-600W → 6-28W ECM - P2: norvi-ae01-r direct-wiring sketch — added NO0/NO4 contacts Addresses PR #165 review comments.
|
All four review items addressed in
|
|
@codex review please |
Native Test Coverage
Report from native unit tests (ASan + gcov). |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: bc6b2db055
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
- P1: RC snubber capacitor must be X2-rated (mains safety) — specified in contactor-guide EN+DE and norvi-ae01-r EN+DE - P1: DE contactor-guide overview diagram — 230V L → 24V DC (+) - P2: EN contactor-guide overview diagram — N no longer labeled 'via contactor' (single-pole contactor only switches L) Addresses PR #165 review comments.
Native Test Coverage
Report from native unit tests (ASan + gcov). |
|
@codex review please |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7fdbfd531d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| > **⚠️ Note:** ECM pumps (electronically commutated motors <100W) have | ||
| > large input capacitors that cause a brief high charging peak (10–20A | ||
| > for microseconds) each time the relay closes. Over many cycles this | ||
| > capacitive inrush can micro-weld relay contacts. An **RC snubber** |
There was a problem hiding this comment.
Do not present an RC snubber as capacitive-inrush protection
For the stated failure mode—an ECM pump's input-capacitor inrush when the relay closes—an RC network placed across the relay contacts does not limit the closing current through those contacts; it is primarily for suppressing turn-off transients. Thus the new guidance can lead users to direct-wire a <100 W ECM pump and still repeatedly weld the relay. Recommend an inrush-limiting/pre-charge solution, a relay rated for capacitive loads, or retaining the contactor requirement instead.
Useful? React with 👍 / 👎.

Summary
Solar pump relay moved from defunct R1 (GPIO12 — welded contact) to R4 (GPIO2) on NORVI AE01-R.
Changes
Code
PIN_RELAY_SOLAR = 2(R4),static_assertblocks GPIO12, comment neutralizedDocs
Hardware