From c755dcce83e689198b88b73814ad758819877e02 Mon Sep 17 00:00:00 2001 From: Sleeper85 <153944466+Sleeper85@users.noreply.github.com> Date: Sat, 26 Jul 2025 16:44:12 +0200 Subject: [PATCH] Create RP_BMS_example_DEMO_Shunt_and_BMS.yaml --- .../RP_BMS_example_DEMO_Shunt_and_BMS.yaml | 127 ++++++++++++++++++ 1 file changed, 127 insertions(+) create mode 100644 configuration_examples/RP_BMS_example_DEMO_Shunt_and_BMS.yaml diff --git a/configuration_examples/RP_BMS_example_DEMO_Shunt_and_BMS.yaml b/configuration_examples/RP_BMS_example_DEMO_Shunt_and_BMS.yaml new file mode 100644 index 0000000..8cf432c --- /dev/null +++ b/configuration_examples/RP_BMS_example_DEMO_Shunt_and_BMS.yaml @@ -0,0 +1,127 @@ +# Updated : 2025.07.26 +# Version : 1.1.1 +# 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. + +################################################################################ + + shunt: + url: https://github.com/Sleeper85/esphome-yambms + ref: main + refresh: 0s + files: + # Shunt 1 + - path: 'packages/shunt/shunt_combine_FAKE.yaml' + vars: + shunt_id: '1' # must be a number + shunt_name: 'Shunt 1' + # Shunt sensors values + shunt_voltage: '53.41' # V + shunt_current: '37.5' # A + shunt_power: '2003' # W + shunt_soc: '86' # % + + bms: + url: https://github.com/Sleeper85/esphome-yambms + ref: main + refresh: 0s + files: + # BMS 1 + - path: 'packages/bms/bms_combine_FAKE.yaml' + vars: + bms_id: '1' # must be a number + bms_name: 'BMS 1' + # BMS sensors values + bms_battery_capacity: '280' # Ah + bms_battery_capacity_remaining: '243' # Ah + bms_voltage: '53.45' # V + bms_current: '9.2' # A + bms_power: '492' # W + bms_soc: '87' # % + bms_soh: '98' # % + bms_min_cell_voltage: '3.339' # V + bms_min_voltage_cell: '2' # cell number 1~16 + bms_max_cell_voltage: '3.341' # V + bms_max_voltage_cell: '11' # cell number 1~16 + bms_temperature_sensor_1: '21.1' # °C + bms_temperature_sensor_2: '21.3' # °C + bms_temperature_sensor_3: '21.5' # °C + bms_temperature_sensor_4: '21.7' # °C + bms_max_charge_current: '100' # A + bms_max_discharge_current: '100' # A + bms_cell_ovp: '3.650' # V Used by 'Auto CCL' functions + bms_cell_uvp: '2.800' # V Used by 'Auto DCL' functions and to calculate maximum discharge voltage + bms_balance_trigger_voltage: '0.010' # V Used by 'Auto CVL' functions + bms_charging_cycles: '178' # charging cycles number Used to calculate the SoH + # BMS 2 + - path: 'packages/bms/bms_combine_FAKE.yaml' + vars: + bms_id: '2' # must be a number + bms_name: 'BMS 2' + # BMS sensors values + bms_battery_capacity: '280' # Ah + bms_battery_capacity_remaining: '238' # Ah + bms_voltage: '53.41' # V + bms_current: '11.3' # A + bms_power: '604' # W + bms_soc: '85' # % + bms_soh: '89' # % + bms_min_cell_voltage: '3.337' # V + bms_min_voltage_cell: '14' # cell number 1~16 + bms_max_cell_voltage: '3.339' # V + bms_max_voltage_cell: '3' # cell number 1~16 + bms_temperature_sensor_1: '21.8' # °C + bms_temperature_sensor_2: '21.6' # °C + bms_temperature_sensor_3: '21.4' # °C + bms_temperature_sensor_4: '21.2' # °C + bms_max_charge_current: '100' # A + bms_max_discharge_current: '100' # A + bms_cell_ovp: '3.650' # V Used by 'Auto CCL' functions + bms_cell_uvp: '2.800' # V Used by 'Auto DCL' functions and to calculate maximum discharge voltage + bms_balance_trigger_voltage: '0.010' # V Used by 'Auto CVL' functions + bms_charging_cycles: '226' # charging cycles number Used to calculate the SoH + # BMS 3 + - path: 'packages/bms/bms_combine_FAKE.yaml' + vars: + bms_id: '3' # must be a number + bms_name: 'BMS 3' + # BMS sensors values + bms_battery_capacity: '280' # Ah + bms_battery_capacity_remaining: '232' # Ah + bms_voltage: '53.37' # V + bms_current: '15.7' # A + bms_power: '838' # W + bms_soc: '83' # % + bms_soh: '79' # % + bms_min_cell_voltage: '3.334' # V + bms_min_voltage_cell: '7' # cell number 1~16 + bms_max_cell_voltage: '3.336' # V + bms_max_voltage_cell: '9' # cell number 1~16 + bms_temperature_sensor_1: '21.9' # °C + bms_temperature_sensor_2: '22.0' # °C + bms_temperature_sensor_3: '22.1' # °C + bms_temperature_sensor_4: '22.2' # °C + bms_max_charge_current: '100' # A + bms_max_discharge_current: '100' # A + bms_cell_ovp: '3.650' # V Used by 'Auto CCL' functions + bms_cell_uvp: '2.800' # V Used by 'Auto DCL' functions and to calculate maximum discharge voltage + bms_balance_trigger_voltage: '0.010' # V Used by 'Auto CVL' functions + bms_charging_cycles: '194' # charging cycles number Used to calculate the SoH