# Updated : 2026.08.29 # Version : 1.1.5 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) # This YAML is free software: you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation, either version 3 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . ############################ Remote Packages Example ########################### # This is not a working YAML but just code ready to copy into # your main YAML below the `packages:` section. # packages: # remote_packages: # url: https://github.com/Sleeper85/esphome-yambms # ref: main # refresh: 60s # files: ################################################################################ # EG4 Modbus - path: 'packages/bms/bms_combine_EG4_RS485_modbus.yaml' vars: eg4_modbus_uart_id: 'uart_esp_1' eg4_modbus_baud_rate: '9600' # BMS 1 - path: 'packages/bms/bms_combine_EG4_LLV2_RS485_bms_full.yaml' vars: bms_id: '1' # must be a number bms_name: 'EG4-BMS 1' ## BMS address must start at 2 with EG4 LLV2, ID 1 is a special case and has different output. bms_address: 2 # BMS 1 modbus address bms_balance_trigger_voltage: '0.030' # V. Cell spread at which the BMS balances, set yours # Fake Equalizing: this BMS does not report its balancing state. When enabled, YamBMS infers it # from the cell spread and holds the Cut-Off timer while the pack balances, instead of ending the charge. # Warning: a BMS without a balancer (or with balancing disabled) never closes its cell spread, so it can # stay in Cut-Off a long time, until the EOC timer (30min default) ends the charge, or forever if disabled. bms_fake_equalizing_enabled: 'false' # true/false, false by default bms_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable # BMS 2 - path: 'packages/bms/bms_combine_EG4_LLV2_RS485_bms_full.yaml' vars: bms_id: '2' # must be a number bms_name: 'EG4-BMS 2' bms_address: 3 # BMS 2 modbus address bms_balance_trigger_voltage: '0.030' # V. Cell spread at which the BMS balances, set yours # Fake Equalizing: this BMS does not report its balancing state. When enabled, YamBMS infers it # from the cell spread and holds the Cut-Off timer while the pack balances, instead of ending the charge. # Warning: a BMS without a balancer (or with balancing disabled) never closes its cell spread, so it can # stay in Cut-Off a long time, until the EOC timer (30min default) ends the charge, or forever if disabled. bms_fake_equalizing_enabled: 'false' # true/false, false by default bms_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable # BMS 3 - path: 'packages/bms/bms_combine_EG4_LLV2_RS485_bms_full.yaml' vars: bms_id: '3' # must be a number bms_name: 'EG4-BMS 3' bms_address: 4 # BMS 3 modbus address bms_balance_trigger_voltage: '0.030' # V. Cell spread at which the BMS balances, set yours # Fake Equalizing: this BMS does not report its balancing state. When enabled, YamBMS infers it # from the cell spread and holds the Cut-Off timer while the pack balances, instead of ending the charge. # Warning: a BMS without a balancer (or with balancing disabled) never closes its cell spread, so it can # stay in Cut-Off a long time, until the EOC timer (30min default) ends the charge, or forever if disabled. bms_fake_equalizing_enabled: 'false' # true/false, false by default bms_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable