Feature Request: Battery Voltage-Based Power Management

未關閉
#4,016 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 2 天內回覆

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
45/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
c
領域
embedded-iot

研究方向

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.

由索引模型根據 Issue 內容生成。

描述

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.

主要語言
C
星號
3.9k
分支
1.5k
平均合併
2 天 19 小時
30 天內合併 PR
61

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

meshcore-dev/MeshCore 的其他 Issue

查看 meshcore-dev/MeshCore 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。