Feature Request: Battery Voltage-Based Power Management

Aperta
#4,016 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
c
Ambito
embedded-iot

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
C
Stelle
3.9k
Fork
1.5k
Merge medio
2g 19h
PR unite (30g)
61

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di meshcore-dev/MeshCore

Tutte le issue di meshcore-dev/MeshCore

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.