Add Inhero MR-2 board variant (nRF52840/RAK4630 solar repeater) - #3132
Draft
liekmarflow wants to merge 2 commits into
Draft
Add Inhero MR-2 board variant (nRF52840/RAK4630 solar repeater)#3132liekmarflow wants to merge 2 commits into
liekmarflow wants to merge 2 commits into
Conversation
Boards can now expose their own functionality without core changes: - MainBoard::tick(): called from the example main loops; default no-op. Lets a board feed its watchdog and run periodic housekeeping. - MainBoard::getCustomGetter()/setCustomSetter(): CommonCLI forwards 'get board.*' / 'set board.*' to the board class; unknown commands reply with an error as before. Default no-op returns keep behavior identical for all existing boards. - MainBoard::queryBoardTelemetry(CayenneLPP&): simple_repeater asks the board for extra telemetry channels (gated by TELEM_PERM_ENVIRONMENT). All defaults are no-ops, so existing variants build and behave unchanged. Used by the Inhero MR-2 variant (separate PR).
Application-specific repeater platform for autonomous off-grid operation, in production and field-deployed: - RAK4630 core module (nRF52840 + SX1262), 45 x 40 mm - BQ25798 buck/boost charger: universal solar input 3.6-24V with MPPT, JEITA temperature-controlled charging - INA228 coulomb counter for SOC tracking and 7-day energy statistics - Li-Ion, LiFePO4, LTO and Na-Ion battery chemistry profiles - RV-3028 RTC wakeup with low-voltage system sleep (<500uA) and autonomous recovery - BME280 environment telemetry - board.* CLI namespace for configuration and diagnostics (uses the board hooks from the previous PR) - documentation under variants/inhero_mr2/docs/ Build environments: Inhero_MR2_repeater, Inhero_MR2_repeater_bridge_rs232, Inhero_MR2_sensor.
liekmarflow
added a commit
to liekmarflow/MeshCore
that referenced
this pull request
Aug 8, 2026
…ev#3131/meshcore-dev#3132) - CONTEXT.md getrackt Stand-Block neu: Issue + beide PRs mit Branch-Zeigern und Naechster-Schritt- Ablauf nach Merge von meshcore-dev#3131. Ueberholte Doktrin ('kein PR-Verkehr zu upstream') entfernt; stattdessen die Sicherungsregel: PR-Branches immer von upstream/main schneiden. Feature-Branches als live PR-Koepfe markiert (nicht loeschen). CONTEXT.md aus .gitignore genommen - auf main getrackt ist sie PR-sicher, weil PR-Branches nie von Fork-main abstammen.
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.
Closes #3130. Builds on #3131 (board hooks) — the diff shows both commits
until that PR is merged; I will rebase and mark this ready once it lands.
Adds the Inhero MR-2, a purpose-built solar repeater platform that is in
production and shipping (https://shop.inhero.de/en/products/inhero-mr-2-solar-mesh-repeater-board-rak4630-sx1262-mppt-red-ce-gepruft).
I am the hardware manufacturer; I can test changes on real hardware and am
happy to be tagged on anything affecting this variant.
Hardware: RAK4630 (nRF52840 + SX1262), BQ25798 buck/boost charger with
universal 3.6-24 V solar input and MPPT, INA228 coulomb counter, RV-3028 RTC,
BME280, 45 x 40 mm, CE-certified (RED 2014/53/EU).
What the variant provides:
temperature-controlled charging and per-chemistry low-voltage thresholds
a time-to-live prediction
board.*CLI namespace for configuration and diagnostics (uses the hooksfrom Add board hooks for variant-specific telemetry and CLI commands #3131), documented in
variants/inhero_mr2/docs/Inhero_MR2_repeater,Inhero_MR2_repeater_bridge_rs232,Inhero_MR2_sensorQuality/testing: field-proven for months on the manufacturer's own
installations (shipping boards come with bootloader only; users flash these
builds themselves); all three environments build green; docs were verified
against the code (CLI replies, thresholds, register values) before submission.
Transparency: this variant was developed with AI assistance under my
continuous engineering direction and review, followed by a full pre-submission
review pass. Stated upfront in line with this project's position on code
provenance. If the project prefers not to take AI-assisted contributions, I
will keep providing the variant through my fork instead — but I would prefer
it to live upstream where every MeshCore release builds it automatically.