# Updated : 2025.06.10 # Version : 1.5.6 # 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. ################################################################################ substitutions: modbus_update_interval: '5s' # frequency with which BMS/Shunt modbus servers are queried modbus_baud_rate: '19200' # 9600 / 19200 / 115200 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: yambms_modbus_client: url: https://github.com/Sleeper85/esphome-yambms ref: main refresh: 0s files: # Modbus client - path: 'packages/base/device_modbus.yaml' vars: modbus_role: 'client' # client / server modbus_uart_id: 'uart_esp_1' # RS485 board # Shunt 1 - path: 'packages/shunt/shunt_combine_modbus_client.yaml' vars: shunt_id: '1' # must be a number shunt_name: 'Shunt 1' # BMS 1 - path: 'packages/bms/bms_combine_modbus_client.yaml' vars: bms_id: '1' # must be a number bms_name: 'BMS 1' # BMS 2 - path: 'packages/bms/bms_combine_modbus_client.yaml' vars: bms_id: '2' # must be a number bms_name: 'BMS 2' # BMS 3 - path: 'packages/bms/bms_combine_modbus_client.yaml' vars: bms_id: '3' # must be a number bms_name: 'BMS 3' # # BMS 4 # - path: 'packages/bms/bms_combine_modbus_client.yaml' # vars: # bms_id: '4' # must be a number # bms_name: 'BMS 4' # # BMS 5 # - path: 'packages/bms/bms_combine_modbus_client.yaml' # vars: # bms_id: '5' # must be a number # bms_name: 'BMS 5' # # BMS 6 # - path: 'packages/bms/bms_combine_modbus_client.yaml' # vars: # bms_id: '6' # must be a number # bms_name: 'BMS 6' # # BMS 7 # - path: 'packages/bms/bms_combine_modbus_client.yaml' # vars: # bms_id: '7' # must be a number # bms_name: 'BMS 7' # # BMS 8 # - path: 'packages/bms/bms_combine_modbus_client.yaml' # vars: # bms_id: '8' # must be a number # bms_name: 'BMS 8' # # BMS 9 # - path: 'packages/bms/bms_combine_modbus_client.yaml' # vars: # bms_id: '9' # must be a number # bms_name: 'BMS 9' # # BMS 10 # - path: 'packages/bms/bms_combine_modbus_client.yaml' # vars: # bms_id: '10' # must be a number # bms_name: 'BMS 10'