Feature Request: Battery Voltage-Based Power Management

Aberta
#4,016 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 2 dias

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
45/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
c
Domínio
embedded-iot

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
C
Estrelas
3.9k
Forks
1.5k
Merge médio
2d 19h
PRs com merge (30d)
61

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de meshcore-dev/MeshCore

Todas as issues de meshcore-dev/MeshCore

Issues semelhantes

Mais issues de C

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.