Repeater (SenseCAP Solar): battery thresholds settable at runtime, and a cutoff that switches a running node off before the cell runs flat
pub-release / release (push) Successful in 34m55s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
tthandClaude Opus 5.5 committed 2026-11-23 13:22:24 +01:00
1 parent 0066d073db
commit be46cfa5fb
10 files changed
+392 -19

No files matched your search

@@ -66,7 +66,9 @@ void SenseCapSolarBoard::begin() {
#endif
#ifdef NRF52_POWER_MANAGEMENT
#ifndef PWRMGT_RUNTIME // CUSTOM (TeTeHacko): NodeMaintenance checks it with the saved threshold
checkBootVoltage(&power_config);
#endif
#endif
delay(10); // give sx1262 some time to power up
+4
View File
@@ -71,6 +71,10 @@ build_flags =
; of a brown-out boot loop on a weak panel. variant.h and
; SenseCapSolarBoard.cpp had it all wired, only this switch was missing.
-D NRF52_POWER_MANAGEMENT
; ...with the thresholds settable at runtime (`set pwr.bootlock|cutoff`),
; saved on the node; defaults bootlock 3300 mV (variant.h), cutoff off.
; helpers/LowVoltageGuard.h, docs/power.md.
-D PWRMGT_RUNTIME
; -D MESH_PACKET_LOGGING=1
; -D MESH_DEBUG=1
build_src_filter = ${SenseCap_Solar.build_src_filter}