From b2c5f654783db64c09e159c1f0a5ee51f430bccd Mon Sep 17 00:00:00 2001 From: Sleeper85 Date: Tue, 9 Dec 2025 02:45:05 +0100 Subject: [PATCH] Reorganization of variables --- YamBMS_LP_PVbrain2.yaml | 42 +++++------------ YamBMS_LP_RPi_Pico_Shunts_modbus_server.yaml | 15 ++---- YamBMS_Local_Packages_example.yaml | 46 +++++------------- YamBMS_RP_BASEN_RS485.yaml | 46 +++++------------- YamBMS_RP_Balancer.yaml | 47 +++++-------------- YamBMS_RP_DEMO.yaml | 47 +++++-------------- YamBMS_RP_DEYE-PCS_CAN.yaml | 46 +++++------------- YamBMS_RP_Ethernet_board.yaml | 46 +++++------------- YamBMS_RP_JBD.yaml | 46 +++++------------- YamBMS_RP_JK-B_RS485_Modbus.yaml | 46 +++++------------- YamBMS_RP_JK-PB_RS485_Modbus.yaml | 47 +++++-------------- YamBMS_RP_JK_BLE.yaml | 46 +++++------------- YamBMS_RP_JK_UART_4G-GPS.yaml | 47 +++++-------------- YamBMS_RP_PACE_RS485_Modbus.yaml | 46 +++++------------- YamBMS_RP_PVbrain2.yaml | 42 +++++------------ YamBMS_RP_SEPLOS_V1_V2_RS485_Modbus.yaml | 46 +++++------------- YamBMS_RP_SEPLOS_V3_RS485_Modbus.yaml | 46 +++++------------- YamBMS_RP_SEPLOS_V3_RS485_Modbus_sniffer.yaml | 46 +++++------------- YamBMS_Remote_Packages_example.yaml | 46 +++++------------- ...MS_Remote_Packages_example_dev_branch.yaml | 47 +++++-------------- packages/bms/bms_combine.yaml | 4 +- .../bms/bms_combine_modbus_client_dev.yaml | 2 +- packages/bms/bms_options_charging_logic.yaml | 7 ++- packages/shunt/shunt_combine.yaml | 6 +-- .../shunt_combine_modbus_client_dev.yaml | 2 +- packages/yambms/yambms_combine.yaml | 11 ++++- 26 files changed, 270 insertions(+), 648 deletions(-) diff --git a/YamBMS_LP_PVbrain2.yaml b/YamBMS_LP_PVbrain2.yaml index 2ae4941..b27da58 100644 --- a/YamBMS_LP_PVbrain2.yaml +++ b/YamBMS_LP_PVbrain2.yaml @@ -1,4 +1,4 @@ -# Updated : 2025.11.25 +# Updated : 2025.12.09 # Version : 1.6.0 # GitHub : https://github.com/Sleeper85/esphome-yambms @@ -96,17 +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 + # +------------------------------------------------------------------------- + # | 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 + # +------------------------------------------------------------------------- + # 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 - 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) # +--------------------------------------+ # | UART expander WK2168 | # +--------------------------------------+ @@ -121,33 +128,6 @@ substitutions: -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}' - - - # +--------------------------------------+ # | Packages | # +--------------------------------------+ diff --git a/YamBMS_LP_RPi_Pico_Shunts_modbus_server.yaml b/YamBMS_LP_RPi_Pico_Shunts_modbus_server.yaml index 969cd03..4c7fd0d 100644 --- a/YamBMS_LP_RPi_Pico_Shunts_modbus_server.yaml +++ b/YamBMS_LP_RPi_Pico_Shunts_modbus_server.yaml @@ -1,4 +1,4 @@ -# Updated : 2025.07.29 +# Updated : 2025.12.09 # Version : 1.1.1 # GitHub : https://github.com/Sleeper85/esphome-yambms @@ -39,14 +39,8 @@ substitutions: # | Shunt Settings | # +--------------------------------------+ shunt_update_interval: '5s' # frequency at which Shunt data is refreshed - shunt_combine_interval: '1s' # frequency at which Shunt data is combined in YamBMS - # +--------------------------------------+ - # | Modbus Settings | - # +--------------------------------------+ - modbus_update_interval: '5s' # frequency with which BMS/Shunt modbus servers are queried - modbus_baud_rate: '19200' # 9600 / 19200 / 11520 - modbus_command_throttle: '0ms' # minimum time in between 2 requests to the device - modbus_send_wait_time: '250ms' # time in milliseconds before the next ModBUS command is sent if an answer from a previous command is pending + + # +--------------------------------------+ # | Packages | @@ -66,10 +60,11 @@ packages: uart_6: !include packages/board/board_options_itf_uart_6.yaml modbus: !include - file: packages/base/device_modbus.yaml + file: packages/board/board_options_itf_modbus.yaml vars: modbus_role: 'server' # client / server modbus_uart_id: 'uart_1' # RS485 board + modbus_baud_rate: '19200' # 9600 / 19200 / 11520 shunt1: !include file: packages/shunt/shunt_modbus_Victron_SmartShunt_UART_minimal.yaml diff --git a/YamBMS_Local_Packages_example.yaml b/YamBMS_Local_Packages_example.yaml index c897041..8d5be5a 100644 --- a/YamBMS_Local_Packages_example.yaml +++ b/YamBMS_Local_Packages_example.yaml @@ -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 diff --git a/YamBMS_RP_BASEN_RS485.yaml b/YamBMS_RP_BASEN_RS485.yaml index 907df5b..9cfe75a 100644 --- a/YamBMS_RP_BASEN_RS485.yaml +++ b/YamBMS_RP_BASEN_RS485.yaml @@ -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 diff --git a/YamBMS_RP_Balancer.yaml b/YamBMS_RP_Balancer.yaml index 217420a..2fd7b7a 100644 --- a/YamBMS_RP_Balancer.yaml +++ b/YamBMS_RP_Balancer.yaml @@ -1,4 +1,4 @@ -# Updated : 2025.11.25 +# Updated : 2025.12.09 # Version : 1.6.0 # GitHub : https://github.com/Sleeper85/esphome-yambms @@ -96,45 +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 # +--------------------------------------+ diff --git a/YamBMS_RP_DEMO.yaml b/YamBMS_RP_DEMO.yaml index 9389c6e..55fd3ff 100644 --- a/YamBMS_RP_DEMO.yaml +++ b/YamBMS_RP_DEMO.yaml @@ -1,4 +1,4 @@ -# Updated : 2025.11.25 +# Updated : 2025.12.09 # Version : 1.6.0 # GitHub : https://github.com/Sleeper85/esphome-yambms @@ -96,45 +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 diff --git a/YamBMS_RP_DEYE-PCS_CAN.yaml b/YamBMS_RP_DEYE-PCS_CAN.yaml index 0a2aa82..5c138ae 100644 --- a/YamBMS_RP_DEYE-PCS_CAN.yaml +++ b/YamBMS_RP_DEYE-PCS_CAN.yaml @@ -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 diff --git a/YamBMS_RP_Ethernet_board.yaml b/YamBMS_RP_Ethernet_board.yaml index d776bbd..6fa237e 100644 --- a/YamBMS_RP_Ethernet_board.yaml +++ b/YamBMS_RP_Ethernet_board.yaml @@ -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 diff --git a/YamBMS_RP_JBD.yaml b/YamBMS_RP_JBD.yaml index 7089b20..b392e46 100644 --- a/YamBMS_RP_JBD.yaml +++ b/YamBMS_RP_JBD.yaml @@ -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 diff --git a/YamBMS_RP_JK-B_RS485_Modbus.yaml b/YamBMS_RP_JK-B_RS485_Modbus.yaml index f0fcb18..461702e 100644 --- a/YamBMS_RP_JK-B_RS485_Modbus.yaml +++ b/YamBMS_RP_JK-B_RS485_Modbus.yaml @@ -1,4 +1,4 @@ -# Updated : 2025.12.1 +# Updated : 2025.12.9 # 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 diff --git a/YamBMS_RP_JK-PB_RS485_Modbus.yaml b/YamBMS_RP_JK-PB_RS485_Modbus.yaml index 9e7d8c7..b011f9c 100644 --- a/YamBMS_RP_JK-PB_RS485_Modbus.yaml +++ b/YamBMS_RP_JK-PB_RS485_Modbus.yaml @@ -1,4 +1,4 @@ -# Updated : 2025.12.1 +# Updated : 2025.12.09 # Version : 1.6.0 # GitHub : https://github.com/Sleeper85/esphome-yambms @@ -96,45 +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 # +--------------------------------------+ diff --git a/YamBMS_RP_JK_BLE.yaml b/YamBMS_RP_JK_BLE.yaml index 855161d..cbdb84d 100644 --- a/YamBMS_RP_JK_BLE.yaml +++ b/YamBMS_RP_JK_BLE.yaml @@ -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 diff --git a/YamBMS_RP_JK_UART_4G-GPS.yaml b/YamBMS_RP_JK_UART_4G-GPS.yaml index cdfb088..7d2287e 100644 --- a/YamBMS_RP_JK_UART_4G-GPS.yaml +++ b/YamBMS_RP_JK_UART_4G-GPS.yaml @@ -1,4 +1,4 @@ -# Updated : 2025.11.25 +# Updated : 2025.12.09 # Version : 1.6.0 # GitHub : https://github.com/Sleeper85/esphome-yambms @@ -96,45 +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 # +--------------------------------------+ diff --git a/YamBMS_RP_PACE_RS485_Modbus.yaml b/YamBMS_RP_PACE_RS485_Modbus.yaml index 93eaf03..73c1de4 100644 --- a/YamBMS_RP_PACE_RS485_Modbus.yaml +++ b/YamBMS_RP_PACE_RS485_Modbus.yaml @@ -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 diff --git a/YamBMS_RP_PVbrain2.yaml b/YamBMS_RP_PVbrain2.yaml index f72bca0..8964c26 100644 --- a/YamBMS_RP_PVbrain2.yaml +++ b/YamBMS_RP_PVbrain2.yaml @@ -1,4 +1,4 @@ -# Updated : 2025.11.25 +# Updated : 2025.12.09 # Version : 1.6.0 # GitHub : https://github.com/Sleeper85/esphome-yambms @@ -96,17 +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 + # +------------------------------------------------------------------------- + # | 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 + # +------------------------------------------------------------------------- + # 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 - 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) # +--------------------------------------+ # | UART expander WK2168 | # +--------------------------------------+ @@ -121,33 +128,6 @@ substitutions: -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}' - - - # +--------------------------------------+ # | Packages | # +--------------------------------------+ diff --git a/YamBMS_RP_SEPLOS_V1_V2_RS485_Modbus.yaml b/YamBMS_RP_SEPLOS_V1_V2_RS485_Modbus.yaml index e50925b..f8ffc0c 100644 --- a/YamBMS_RP_SEPLOS_V1_V2_RS485_Modbus.yaml +++ b/YamBMS_RP_SEPLOS_V1_V2_RS485_Modbus.yaml @@ -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 diff --git a/YamBMS_RP_SEPLOS_V3_RS485_Modbus.yaml b/YamBMS_RP_SEPLOS_V3_RS485_Modbus.yaml index 9ca85d3..0a29d1e 100644 --- a/YamBMS_RP_SEPLOS_V3_RS485_Modbus.yaml +++ b/YamBMS_RP_SEPLOS_V3_RS485_Modbus.yaml @@ -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 diff --git a/YamBMS_RP_SEPLOS_V3_RS485_Modbus_sniffer.yaml b/YamBMS_RP_SEPLOS_V3_RS485_Modbus_sniffer.yaml index fa2cc8c..52cf7c5 100644 --- a/YamBMS_RP_SEPLOS_V3_RS485_Modbus_sniffer.yaml +++ b/YamBMS_RP_SEPLOS_V3_RS485_Modbus_sniffer.yaml @@ -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 diff --git a/YamBMS_Remote_Packages_example.yaml b/YamBMS_Remote_Packages_example.yaml index c98bfbf..e465a7e 100644 --- a/YamBMS_Remote_Packages_example.yaml +++ b/YamBMS_Remote_Packages_example.yaml @@ -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 diff --git a/YamBMS_Remote_Packages_example_dev_branch.yaml b/YamBMS_Remote_Packages_example_dev_branch.yaml index 61871a9..ac583b0 100644 --- a/YamBMS_Remote_Packages_example_dev_branch.yaml +++ b/YamBMS_Remote_Packages_example_dev_branch.yaml @@ -1,4 +1,4 @@ -# Updated : 2025.11.26 +# Updated : 2025.12.09 # Version : 1.6.0 # GitHub : https://github.com/Sleeper85/esphome-yambms @@ -96,45 +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 # +--------------------------------------+ diff --git a/packages/bms/bms_combine.yaml b/packages/bms/bms_combine.yaml index bd81390..213e4c1 100644 --- a/packages/bms/bms_combine.yaml +++ b/packages/bms/bms_combine.yaml @@ -1,4 +1,4 @@ -# Updated : 2025.11.23 +# Updated : 2025.12.09 # Version : 1.6.0 # GitHub : https://github.com/Sleeper85/esphome-yambms @@ -40,7 +40,7 @@ binary_sensor: lambda: return (id(bms${bms_id}_online_status).state && id(bms${bms_id}_battery_capacity).state > 0); interval: - - interval: ${bms_combine_interval} + - interval: ${yambms_update_interval} then: - lambda: |- // BMS number to combine ? diff --git a/packages/bms/bms_combine_modbus_client_dev.yaml b/packages/bms/bms_combine_modbus_client_dev.yaml index 915dfa7..634c1be 100644 --- a/packages/bms/bms_combine_modbus_client_dev.yaml +++ b/packages/bms/bms_combine_modbus_client_dev.yaml @@ -34,7 +34,7 @@ modbus_controller: modbus_id: ${modbus_id} setup_priority: -10 address: ${bms_id} - update_interval: ${modbus_update_interval} + update_interval: ${bms_update_interval} max_cmd_retries: 3 # command_throttle: ${modbus_command_throttle} # offline_skip_updates: 5 diff --git a/packages/bms/bms_options_charging_logic.yaml b/packages/bms/bms_options_charging_logic.yaml index 46ea5b2..4757d0f 100644 --- a/packages/bms/bms_options_charging_logic.yaml +++ b/packages/bms/bms_options_charging_logic.yaml @@ -1,5 +1,5 @@ -# Updated : 2025.04.07 -# Version : 1.1.4 +# Updated : 2025.12.09 +# Version : 1.1.5 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -17,6 +17,9 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . +substitutions: + bms_cutoff_timer: '50s' # time during which the end of charge conditions must be respected (cut-off + cells not equalizing) + script: - id: bms${bms_id}_script_cutoff_timer then: diff --git a/packages/shunt/shunt_combine.yaml b/packages/shunt/shunt_combine.yaml index 2687ea9..31a392e 100644 --- a/packages/shunt/shunt_combine.yaml +++ b/packages/shunt/shunt_combine.yaml @@ -1,5 +1,5 @@ -# Updated : 2025.06.10 -# Version : 1.5.6 +# Updated : 2025.12.09 +# Version : 1.5.7 # GitHub : https://github.com/Sleeper85/esphome-yambms # This YAML is free software: you can redistribute it and/or @@ -44,7 +44,7 @@ binary_sensor: lambda: return (id(shunt${shunt_id}_switch_combine).state && id(shunt${shunt_id}_online_status).state); interval: - - interval: ${shunt_combine_interval} + - interval: ${yambms_update_interval} then: - lambda: |- // Shunt number to combine ? diff --git a/packages/shunt/shunt_combine_modbus_client_dev.yaml b/packages/shunt/shunt_combine_modbus_client_dev.yaml index 28eeedb..c8851be 100644 --- a/packages/shunt/shunt_combine_modbus_client_dev.yaml +++ b/packages/shunt/shunt_combine_modbus_client_dev.yaml @@ -29,7 +29,7 @@ modbus_controller: modbus_id: ${modbus_id} setup_priority: -10 address: 20${shunt_id} - update_interval: ${modbus_update_interval} + update_interval: ${shunt_update_interval} max_cmd_retries: 3 # command_throttle: ${modbus_command_throttle} # offline_skip_updates: 5 diff --git a/packages/yambms/yambms_combine.yaml b/packages/yambms/yambms_combine.yaml index bf16fe7..2a75b11 100644 --- a/packages/yambms/yambms_combine.yaml +++ b/packages/yambms/yambms_combine.yaml @@ -1,4 +1,4 @@ -# Updated : 2025.11.25 +# Updated : 2025.12.09 # Version : 1.6.0 # GitHub : https://github.com/Sleeper85/esphome-yambms @@ -180,6 +180,15 @@ globals: type: float restore_value: no initial_value: '0.0' + # YamBMS + - id: ${yambms_id}_var_charging_rate + type: float[10] + restore_value: no + initial_value: ${yambms_charging_rate_table} + - id: ${yambms_id}_var_discharging_rate + type: float[10] + restore_value: no + initial_value: ${yambms_discharging_rate_table} # Combine continuously interval: