Reorganization of variables

This commit is contained in:
Sleeper85 committed 2025-12-09 02:45:05 +01:00
1 parent de6d37e308
commit b2c5f65478
26 files changed
+270 -648

No files matched your search

+13 -33
View File
@@ -1,4 +1,4 @@
# Updated : 2025.11.25
# Updated : 2025.12.09
# Version : 1.6.0
# GitHub : https://github.com/Sleeper85/esphome-yambms
@@ -96,44 +96,24 @@ substitutions:
# Max. discharge current : corresponds to the maximum discharge current which may be requested by YamBMS.
# The current requested will be proportional to the BMS count without ever exceeding this value.
yambms_max_requested_discharge_current: '300' # in Ampere
# +--------------------------------------+
# | Shunt Settings |
# +--------------------------------------+
shunt_update_interval: '3s' # frequency at which Shunt data is refreshed
shunt_combine_interval: '1s' # frequency at which Shunt data is combined in YamBMS
# +--------------------------------------+
# | BMS Settings |
# +--------------------------------------+
bms_update_interval: '3s' # frequency at which BMS data is refreshed, going below '3s' can cause problems
bms_combine_interval: '1s' # frequency at which BMS data is combined in YamBMS
bms_cutoff_timer: '50s' # time during which the end of charge conditions must be respected (cut-off + cells not equalizing)
globals:
# +-------------------------------------------------------------------------
# | Temperature-based current limitation
# | Can be disabled via the switch "Temperature-based current limitation"
# | This factor is applied to the battery capacity (Ah), not the current
# | maximum charge/discharge current. For example : 280Ah x 0.5 = 140A
# +-------------------------------------------------------------------------
# | Temperature-based charging rate
# +-------------------------------------------------------------------------
# The default 'initial_value' rate values can be modified.
- id: ${yambms_id}_var_charging_rate
type: float[10]
restore_value: no
# Temp.°C Rate : 0, 5, 10, 15, 20, 25, 45, 50, 55, 60
initial_value: '{0.05, 0.12, 0.3, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.0}'
# +-------------------------------------------------------------------------
# | Temperature-based discharging rate
# +-------------------------------------------------------------------------
# The default 'initial_value' rate values can be modified.
- id: ${yambms_id}_var_discharging_rate
type: float[10]
restore_value: no
# Temp.°C Rate : -30, -20, -10, -5, 0, 5, 45, 50, 55, 60
initial_value: '{0.0, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.0}'
# Charge rate >= temp. °C : 0, 5, 10, 15, 20, 25, 45, 50, 55, 60
yambms_charging_rate_table: '{0.05, 0.12, 0.3, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.0}'
# Discharge rate <= temp. °C : -30, -20, -10, -5, 0, 5, 45, 50, 55, 60
yambms_discharging_rate_table: '{0.0, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.0}'
# +--------------------------------------+
# | Shunt Settings |
# +--------------------------------------+
shunt_update_interval: '3s' # frequency at which Shunt data is refreshed
# +--------------------------------------+
# | BMS Settings |
# +--------------------------------------+
bms_update_interval: '3s' # frequency at which BMS data is refreshed, going below '3s' can cause problems