1
0
mirror of https://github.com/sjlongland/cluster-powerctl.git synced 2025-09-14 04:23:15 +10:00

setpoints: Tweak solar and battery thresholds.

Raise battery minimum voltage threshold to account for inaccuracy in the
ADC readings (which can be as much as 500mV).  Lower the solar threshold
so that it doesn't flap when clouds pass over.
This commit is contained in:
Stuart Longland 2018-09-17 22:52:13 +10:00
parent 3f0aff5a00
commit 7e9520db3a
Signed by: stuartl
GPG Key ID: 6AA32EFB18079BAA

View File

@ -62,13 +62,13 @@
* Low battery voltage. If the voltage dips to or below this level, we * Low battery voltage. If the voltage dips to or below this level, we
* should turn the charger on. * should turn the charger on.
*/ */
#define V_L_MV (12400) #define V_L_MV (12800)
/*! /*!
* Solar minimum voltage. If the solar is below this threshold, we * Solar minimum voltage. If the solar is below this threshold, we
* consider it too low to reliably charge the system. * consider it too low to reliably charge the system.
*/ */
#define V_SOL_MIN_MV (18000) #define V_SOL_MIN_MV (14000)
/* --- Timeouts --- */ /* --- Timeouts --- */