Feature Request: Battery Voltage-Based Power Management

Offen
#4,016 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 2 Tagen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
45/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
c
Bereich
embedded-iot

Rechercherichtung

Start by locating the repeater power management and battery voltage code, then review how the CLI configures TX power and the Repeat function. Decide how the configurable thresholds, power levels, and recovery behavior should interact with those existing controls. Done means the feature can be enabled or disabled from the CLI, applies the requested reductions and critical shutdown, and restores operation when voltage recovers.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Hi

I would like to propose an automatic battery protection feature for solar-powered MeshCore repeaters.

The idea is to introduce configurable battery voltage thresholds that automatically reduce TX power as the battery voltage drops, and eventually disable the Repeat function to conserve energy.

Proposed functionality:

  • Voltage Threshold 1: Reduce TX power to a configurable lower level.
  • Voltage Threshold 2: Further reduce TX power when the battery voltage drops below this level.
  • Critical Voltage Threshold: Automatically disable the Repeat function to prevent excessive battery discharge.
  • Automatically restore the original TX power and Repeat function when the battery voltage recovers.
  • All voltage thresholds and corresponding TX power levels configurable via CLI.
  • A CLI option to enable or completely disable this feature.

Motivation:

During winter, when solar charging is limited or unavailable for extended periods, this feature would help prevent batteries from being deeply discharged. Instead of allowing the repeater to drain the battery completely, it would gradually reduce power consumption and prioritize keeping the device operational for as long as possible. This feature would be particularly useful for repeaters based on a radio system that includes an amplifier.

Vorherrschende Sprache
C
Sterne
3.9k
Forks
1.5k
Ø Merge
2 T. 19 Std.
Gemergte PRs (30 T.)
61

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus meshcore-dev/MeshCore

Alle Issues in meshcore-dev/MeshCore

Ähnliche Issues

Weitere Issues zu C

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.