From e5d903005cad07a29d435f5bb6e396fbf835530a Mon Sep 17 00:00:00 2001 From: Sleeper85 Date: Sun, 15 Feb 2026 22:11:47 +0100 Subject: [PATCH] Improved LP / RP examples --- .../LP_BMS_example_BASEN_RS485.yaml | 7 +- .../LP_BMS_example_DEMO_Shunt_and_BMS.yaml | 2 + .../single-node/LP_BMS_example_DEYE_CAN.yaml | 7 +- .../LP_BMS_example_EG4_LLV2_RS485_Modbus.yaml | 7 +- .../LP_BMS_example_JBD_UART_BLE.yaml | 7 +- ...P_BMS_example_JK-B_RS485_Modbus_mode2.yaml | 7 +- ..._BMS_example_JK-PB_RS485_Modbus_mode1.yaml | 7 +- ..._BMS_example_JK-PB_RS485_Modbus_mode2.yaml | 7 +- .../single-node/LP_BMS_example_JK_BLE.yaml | 7 +- .../LP_BMS_example_JK_UART_4G-GPS.yaml | 7 +- .../LP_BMS_example_PACE_RS485.yaml | 7 +- .../LP_BMS_example_SEPLOS_V1_V2_RS485.yaml | 7 +- examples/single-node/LP_Balancer_example.yaml | 67 ++++++++++++++++++ examples/single-node/LP_Shunt_example.yaml | 9 ++- .../RP_BMS_example_BASEN_RS485.yaml | 23 ++++--- .../RP_BMS_example_BMS_Charging_Logic.yaml | 19 +++--- .../RP_BMS_example_DEMO_Shunt_and_BMS.yaml | 7 ++ .../single-node/RP_BMS_example_DEYE_CAN.yaml | 23 ++++--- .../RP_BMS_example_EG4_LLV2_RS485_Modbus.yaml | 21 +++--- .../RP_BMS_example_JBD_UART_BLE.yaml | 21 +++--- ...P_BMS_example_JK-B_RS485_Modbus_mode2.yaml | 24 +++---- ..._BMS_example_JK-PB_RS485_Modbus_mode2.yaml | 24 +++---- .../single-node/RP_BMS_example_JK_BLE.yaml | 21 +++--- .../RP_BMS_example_JK_UART_4G-GPS.yaml | 21 +++--- .../RP_BMS_example_PACE_RS485.yaml | 21 +++--- .../RP_BMS_example_SEPLOS_V1_V2_RS485.yaml | 21 +++--- examples/single-node/RP_Balancer_example.yaml | 68 +++++++++++++++++++ examples/single-node/RP_Shunt_example.yaml | 31 ++++----- 28 files changed, 329 insertions(+), 171 deletions(-) create mode 100644 examples/single-node/LP_Balancer_example.yaml create mode 100644 examples/single-node/RP_Balancer_example.yaml diff --git a/examples/single-node/LP_BMS_example_BASEN_RS485.yaml b/examples/single-node/LP_BMS_example_BASEN_RS485.yaml index 5cb733a..bb6e9b0 100644 --- a/examples/single-node/LP_BMS_example_BASEN_RS485.yaml +++ b/examples/single-node/LP_BMS_example_BASEN_RS485.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.02.03 -# Version : 1.1.2 +# Updated : 2026.02.15 +# Version : 1.1.3 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -19,7 +19,8 @@ ############################ Local Packages Example ############################ -# This is not a working YAML but just code ready to copy into your main YAML. +# This is not a working YAML but just code ready to copy into +# your main YAML below the `packages:` section. ################################################################################ diff --git a/examples/single-node/LP_BMS_example_DEMO_Shunt_and_BMS.yaml b/examples/single-node/LP_BMS_example_DEMO_Shunt_and_BMS.yaml index 581e516..dc3071f 100644 --- a/examples/single-node/LP_BMS_example_DEMO_Shunt_and_BMS.yaml +++ b/examples/single-node/LP_BMS_example_DEMO_Shunt_and_BMS.yaml @@ -24,6 +24,8 @@ ################################################################################ +packages: + shunt1: !include file: packages/shunt/shunt_combine_FAKE.yaml vars: diff --git a/examples/single-node/LP_BMS_example_DEYE_CAN.yaml b/examples/single-node/LP_BMS_example_DEYE_CAN.yaml index a8dc01c..2faa59b 100644 --- a/examples/single-node/LP_BMS_example_DEYE_CAN.yaml +++ b/examples/single-node/LP_BMS_example_DEYE_CAN.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.02.03 -# Version : 1.1.2 +# Updated : 2026.02.15 +# Version : 1.1.3 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -19,7 +19,8 @@ ############################ Local Packages Example ############################ -# This is not a working YAML but just code ready to copy into your main YAML. +# This is not a working YAML but just code ready to copy into +# your main YAML below the `packages:` section. ################################################################################ diff --git a/examples/single-node/LP_BMS_example_EG4_LLV2_RS485_Modbus.yaml b/examples/single-node/LP_BMS_example_EG4_LLV2_RS485_Modbus.yaml index d342730..479b028 100644 --- a/examples/single-node/LP_BMS_example_EG4_LLV2_RS485_Modbus.yaml +++ b/examples/single-node/LP_BMS_example_EG4_LLV2_RS485_Modbus.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.02.03 -# Version : 1.1.3 +# Updated : 2026.02.15 +# Version : 1.1.4 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -19,7 +19,8 @@ ############################ Local Packages Example ############################ -# This is not a working YAML but just code ready to copy into your main YAML. +# This is not a working YAML but just code ready to copy into +# your main YAML below the `packages:` section. ################################################################################ diff --git a/examples/single-node/LP_BMS_example_JBD_UART_BLE.yaml b/examples/single-node/LP_BMS_example_JBD_UART_BLE.yaml index 121a7d2..9421a94 100644 --- a/examples/single-node/LP_BMS_example_JBD_UART_BLE.yaml +++ b/examples/single-node/LP_BMS_example_JBD_UART_BLE.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.02.03 -# Version : 1.1.3 +# Updated : 2026.02.15 +# Version : 1.1.4 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -19,7 +19,8 @@ ############################ Local Packages Example ############################ -# This is not a working YAML but just code ready to copy into your main YAML. +# This is not a working YAML but just code ready to copy into +# your main YAML below the `packages:` section. ################################################################################ diff --git a/examples/single-node/LP_BMS_example_JK-B_RS485_Modbus_mode2.yaml b/examples/single-node/LP_BMS_example_JK-B_RS485_Modbus_mode2.yaml index f81a82a..ad708dd 100644 --- a/examples/single-node/LP_BMS_example_JK-B_RS485_Modbus_mode2.yaml +++ b/examples/single-node/LP_BMS_example_JK-B_RS485_Modbus_mode2.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.02.03 -# Version : 1.1.4 +# Updated : 2026.02.15 +# Version : 1.1.5 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -19,7 +19,8 @@ ############################ Local Packages Example ############################ -# This is not a working YAML but just code ready to copy into your main YAML. +# This is not a working YAML but just code ready to copy into +# your main YAML below the `packages:` section. ################################################################################ diff --git a/examples/single-node/LP_BMS_example_JK-PB_RS485_Modbus_mode1.yaml b/examples/single-node/LP_BMS_example_JK-PB_RS485_Modbus_mode1.yaml index d6f46a5..e722687 100644 --- a/examples/single-node/LP_BMS_example_JK-PB_RS485_Modbus_mode1.yaml +++ b/examples/single-node/LP_BMS_example_JK-PB_RS485_Modbus_mode1.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.02.03 -# Version : 1.1.4 +# Updated : 2026.02.15 +# Version : 1.1.5 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -19,7 +19,8 @@ ############################ Local Packages Example ############################ -# This is not a working YAML but just code ready to copy into your main YAML. +# This is not a working YAML but just code ready to copy into +# your main YAML below the `packages:` section. ################################################################################ diff --git a/examples/single-node/LP_BMS_example_JK-PB_RS485_Modbus_mode2.yaml b/examples/single-node/LP_BMS_example_JK-PB_RS485_Modbus_mode2.yaml index 7881d05..f99a329 100644 --- a/examples/single-node/LP_BMS_example_JK-PB_RS485_Modbus_mode2.yaml +++ b/examples/single-node/LP_BMS_example_JK-PB_RS485_Modbus_mode2.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.02.03 -# Version : 1.1.4 +# Updated : 2026.02.15 +# Version : 1.1.5 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -19,7 +19,8 @@ ############################ Local Packages Example ############################ -# This is not a working YAML but just code ready to copy into your main YAML. +# This is not a working YAML but just code ready to copy into +# your main YAML below the `packages:` section. ################################################################################ diff --git a/examples/single-node/LP_BMS_example_JK_BLE.yaml b/examples/single-node/LP_BMS_example_JK_BLE.yaml index 0e46a5e..ace168f 100644 --- a/examples/single-node/LP_BMS_example_JK_BLE.yaml +++ b/examples/single-node/LP_BMS_example_JK_BLE.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.02.03 -# Version : 1.1.2 +# Updated : 2026.02.15 +# Version : 1.1.3 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -19,7 +19,8 @@ ############################ Local Packages Example ############################ -# This is not a working YAML but just code ready to copy into your main YAML. +# This is not a working YAML but just code ready to copy into +# your main YAML below the `packages:` section. ################################################################################ diff --git a/examples/single-node/LP_BMS_example_JK_UART_4G-GPS.yaml b/examples/single-node/LP_BMS_example_JK_UART_4G-GPS.yaml index e9131a5..70d330c 100644 --- a/examples/single-node/LP_BMS_example_JK_UART_4G-GPS.yaml +++ b/examples/single-node/LP_BMS_example_JK_UART_4G-GPS.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.02.03 -# Version : 1.1.2 +# Updated : 2026.02.15 +# Version : 1.1.3 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -19,7 +19,8 @@ ############################ Local Packages Example ############################ -# This is not a working YAML but just code ready to copy into your main YAML. +# This is not a working YAML but just code ready to copy into +# your main YAML below the `packages:` section. ################################################################################ diff --git a/examples/single-node/LP_BMS_example_PACE_RS485.yaml b/examples/single-node/LP_BMS_example_PACE_RS485.yaml index 8f2a90b..d05b446 100644 --- a/examples/single-node/LP_BMS_example_PACE_RS485.yaml +++ b/examples/single-node/LP_BMS_example_PACE_RS485.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.02.03 -# Version : 1.1.3 +# Updated : 2026.02.15 +# Version : 1.1.4 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -19,7 +19,8 @@ ############################ Local Packages Example ############################ -# This is not a working YAML but just code ready to copy into your main YAML. +# This is not a working YAML but just code ready to copy into +# your main YAML below the `packages:` section. ################################################################################ diff --git a/examples/single-node/LP_BMS_example_SEPLOS_V1_V2_RS485.yaml b/examples/single-node/LP_BMS_example_SEPLOS_V1_V2_RS485.yaml index 4f15efc..c0e9769 100644 --- a/examples/single-node/LP_BMS_example_SEPLOS_V1_V2_RS485.yaml +++ b/examples/single-node/LP_BMS_example_SEPLOS_V1_V2_RS485.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.02.03 -# Version : 1.1.4 +# Updated : 2026.02.15 +# Version : 1.1.5 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -19,7 +19,8 @@ ############################ Local Packages Example ############################ -# This is not a working YAML but just code ready to copy into your main YAML. +# This is not a working YAML but just code ready to copy into +# your main YAML below the `packages:` section. ################################################################################ diff --git a/examples/single-node/LP_Balancer_example.yaml b/examples/single-node/LP_Balancer_example.yaml new file mode 100644 index 0000000..7a9500d --- /dev/null +++ b/examples/single-node/LP_Balancer_example.yaml @@ -0,0 +1,67 @@ +# Updated : 2026.02.15 +# 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 . + +############################ Local Packages Example ############################ + +# This is not a working YAML but just code ready to copy into +# your main YAML below the `packages:` section. + +################################################################################ + +packages: + + # Basen controller + controller: !include + file: packages/bms/bms_combine_BASEN_RS485_controller.yaml + vars: + basen_uart_id: 'uart_esp_1' + basen_uart_baud_rate: '9600' + basen_controller_id: "basen_controller_1" + + # Basen module 1 + bms1: !include + file: packages/bms/bms_combine_BASEN_RS485_full.yaml + vars: + bms_id: '1' # must be a number + bms_name: 'BASEN-BMS 1' + bms_address: '0x01' + + # Basen module 2 + bms2: !include + file: packages/bms/bms_combine_BASEN_RS485_full.yaml + vars: + bms_id: '2' # must be a number + bms_name: 'BASEN-BMS 2' + bms_address: '0x02' + + # Balancer 1 linked to BMS 1 + balancer1: !include + file: packages/balancer/balancer_sensors_JK_NEEY_BLE.yaml + vars: + bms_id: '1' # must match the BMS ID + balancer_name: 'Balancer 1' + balancer_ble_mac_address: 11:22:33:44:55:66 + + # Balancer 2 linked to BMS 2 + balancer2: !include + file: packages/balancer/balancer_sensors_JK_NEEY_BLE.yaml + vars: + bms_id: '2' # must match the BMS ID + balancer_name: 'Balancer 2' + balancer_ble_mac_address: 11:22:33:44:55:67 diff --git a/examples/single-node/LP_Shunt_example.yaml b/examples/single-node/LP_Shunt_example.yaml index afb9a6f..1b3d3e5 100644 --- a/examples/single-node/LP_Shunt_example.yaml +++ b/examples/single-node/LP_Shunt_example.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.02.05 -# Version : 1.1.4 +# Updated : 2026.02.15 +# Version : 1.1.5 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -19,10 +19,13 @@ ############################ Local Packages Example ############################ -# This is not a working YAML but just code ready to copy into your main YAML. +# This is not a working YAML but just code ready to copy into +# your main YAML below the `packages:` section. ################################################################################ +packages: + shunt1: !include file: packages/shunt/shunt_combine_Junctek_KHF_UART.yaml vars: diff --git a/examples/single-node/RP_BMS_example_BASEN_RS485.yaml b/examples/single-node/RP_BMS_example_BASEN_RS485.yaml index 74eb0fd..6f38607 100644 --- a/examples/single-node/RP_BMS_example_BASEN_RS485.yaml +++ b/examples/single-node/RP_BMS_example_BASEN_RS485.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.02.03 -# Version : 1.1.2 +# Updated : 2026.02.15 +# Version : 1.1.3 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -17,19 +17,20 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -############################ Local Packages Example ############################ +############################ Remote Packages Example ########################### -# This is not a working YAML but just code ready to copy into your main YAML. +# 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: ################################################################################ -packages: - - bms: - url: https://github.com/Sleeper85/esphome-yambms - ref: main - refresh: 0s - files: # Basen controller - path: 'packages/bms/bms_combine_BASEN_RS485_controller.yaml' vars: diff --git a/examples/single-node/RP_BMS_example_BMS_Charging_Logic.yaml b/examples/single-node/RP_BMS_example_BMS_Charging_Logic.yaml index 96b870b..2a2389a 100644 --- a/examples/single-node/RP_BMS_example_BMS_Charging_Logic.yaml +++ b/examples/single-node/RP_BMS_example_BMS_Charging_Logic.yaml @@ -1,5 +1,5 @@ -# Updated : 2025.07.26 -# Version : 1.1.1 +# Updated : 2026.02.15 +# Version : 1.1.2 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -19,7 +19,15 @@ ############################ Remote Packages Example ########################### -# This is not a working YAML but just code ready to copy into your main YAML. +# 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: ################################################################################ @@ -29,11 +37,6 @@ # This logic acts directly on the charging MOSFETs; please use it only if necessary and at your own risk. # The BMS charge switch will be turned ON again during ReBulk. - bms_charging_logic: - url: https://github.com/Sleeper85/esphome-yambms - ref: main - refresh: 0s - files: # BMS 1 - path: 'packages/bms/bms_options_charging_logic.yaml' vars: diff --git a/examples/single-node/RP_BMS_example_DEMO_Shunt_and_BMS.yaml b/examples/single-node/RP_BMS_example_DEMO_Shunt_and_BMS.yaml index c751c35..013b151 100644 --- a/examples/single-node/RP_BMS_example_DEMO_Shunt_and_BMS.yaml +++ b/examples/single-node/RP_BMS_example_DEMO_Shunt_and_BMS.yaml @@ -22,6 +22,13 @@ # 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: + ################################################################################ # Shunt 1 diff --git a/examples/single-node/RP_BMS_example_DEYE_CAN.yaml b/examples/single-node/RP_BMS_example_DEYE_CAN.yaml index f7e37c6..70c7ddd 100644 --- a/examples/single-node/RP_BMS_example_DEYE_CAN.yaml +++ b/examples/single-node/RP_BMS_example_DEYE_CAN.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.02.03 -# Version : 1.1.2 +# Updated : 2026.02.15 +# Version : 1.1.3 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -17,19 +17,20 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -############################ Local Packages Example ############################ +############################ Remote Packages Example ########################### -# This is not a working YAML but just code ready to copy into your main YAML. +# 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: ################################################################################ -packages: - - bms: - url: https://github.com/Sleeper85/esphome-yambms - ref: main - refresh: 0s - files: # Deye BMS top unit (required) - path: 'packages/bms/bms_sensors_DEYE_CAN_top_full.yaml' vars: diff --git a/examples/single-node/RP_BMS_example_EG4_LLV2_RS485_Modbus.yaml b/examples/single-node/RP_BMS_example_EG4_LLV2_RS485_Modbus.yaml index c3e39f5..ab54e5e 100644 --- a/examples/single-node/RP_BMS_example_EG4_LLV2_RS485_Modbus.yaml +++ b/examples/single-node/RP_BMS_example_EG4_LLV2_RS485_Modbus.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.02.03 -# Version : 1.1.3 +# Updated : 2026.02.15 +# Version : 1.1.4 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -19,17 +19,18 @@ ############################ Remote Packages Example ########################### -# This is not a working YAML but just code ready to copy into your main YAML. +# 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: ################################################################################ -packages: - - bms: - url: https://github.com/Sleeper85/esphome-yambms - ref: main - refresh: 0s - files: # EG4 Modbus - path: 'packages/bms/bms_combine_EG4_RS485_modbus.yaml' vars: diff --git a/examples/single-node/RP_BMS_example_JBD_UART_BLE.yaml b/examples/single-node/RP_BMS_example_JBD_UART_BLE.yaml index b6f2fbd..3bdc159 100644 --- a/examples/single-node/RP_BMS_example_JBD_UART_BLE.yaml +++ b/examples/single-node/RP_BMS_example_JBD_UART_BLE.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.02.03 -# Version : 1.1.3 +# Updated : 2026.02.15 +# Version : 1.1.4 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -19,17 +19,18 @@ ############################ Remote Packages Example ########################### -# This is not a working YAML but just code ready to copy into your main YAML. +# 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: ################################################################################ -packages: - - bms: - url: https://github.com/Sleeper85/esphome-yambms - ref: main - refresh: 0s - files: # BMS 1 - path: 'packages/bms/bms_combine_JBD_UART_full.yaml' vars: diff --git a/examples/single-node/RP_BMS_example_JK-B_RS485_Modbus_mode2.yaml b/examples/single-node/RP_BMS_example_JK-B_RS485_Modbus_mode2.yaml index c1d4e85..1244ec8 100644 --- a/examples/single-node/RP_BMS_example_JK-B_RS485_Modbus_mode2.yaml +++ b/examples/single-node/RP_BMS_example_JK-B_RS485_Modbus_mode2.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.02.03 -# Version : 1.1.4 +# Updated : 2026.02.15 +# Version : 1.1.5 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -19,20 +19,18 @@ ############################ Remote Packages Example ########################### -# This is not a working YAML but just code ready to copy into your main YAML. +# 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: ################################################################################ -packages: - - # The sniffer represents the ESP node connected to the JK-BMS PB RS485 bus - # If address 0x00 is not detected on the RS485 bus, the sniffer will act directly as a master BMS (mode 2, max 15 BMS) - - bms: - url: https://github.com/Sleeper85/esphome-yambms - ref: main - refresh: 0s - files: # RS485 Sniffer with talk_pin (WS-RS485-CAN and other RS485 boards with a flow_control_pin) # - path: 'packages/bms/bms_combine_JK_RS485_Modbus_sniffer_talk_pin.yaml' # vars: diff --git a/examples/single-node/RP_BMS_example_JK-PB_RS485_Modbus_mode2.yaml b/examples/single-node/RP_BMS_example_JK-PB_RS485_Modbus_mode2.yaml index 9d83b2f..3e6ce4c 100644 --- a/examples/single-node/RP_BMS_example_JK-PB_RS485_Modbus_mode2.yaml +++ b/examples/single-node/RP_BMS_example_JK-PB_RS485_Modbus_mode2.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.02.03 -# Version : 1.1.4 +# Updated : 2026.02.15 +# Version : 1.1.5 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -19,20 +19,18 @@ ############################ Remote Packages Example ########################### -# This is not a working YAML but just code ready to copy into your main YAML. +# 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: ################################################################################ -packages: - - # The sniffer represents the ESP node connected to the JK-BMS PB RS485 bus - # If address 0x00 is not detected on the RS485 bus, the sniffer will act directly as a master BMS (mode 2, max 15 BMS) - - bms: - url: https://github.com/Sleeper85/esphome-yambms - ref: main - refresh: 0s - files: # RS485 Sniffer with talk_pin (WS-RS485-CAN and other RS485 boards with a flow_control_pin) # - path: 'packages/bms/bms_combine_JK_RS485_Modbus_sniffer_talk_pin.yaml' # vars: diff --git a/examples/single-node/RP_BMS_example_JK_BLE.yaml b/examples/single-node/RP_BMS_example_JK_BLE.yaml index 57fac35..9e3d305 100644 --- a/examples/single-node/RP_BMS_example_JK_BLE.yaml +++ b/examples/single-node/RP_BMS_example_JK_BLE.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.02.03 -# Version : 1.1.2 +# Updated : 2026.02.15 +# Version : 1.1.3 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -19,17 +19,18 @@ ############################ Remote Packages Example ########################### -# This is not a working YAML but just code ready to copy into your main YAML. +# 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: ################################################################################ -packages: - - bms: - url: https://github.com/Sleeper85/esphome-yambms - ref: main - refresh: 0s - files: # BMS 1 - path: 'packages/bms/bms_combine_JK_BLE_standard.yaml' vars: diff --git a/examples/single-node/RP_BMS_example_JK_UART_4G-GPS.yaml b/examples/single-node/RP_BMS_example_JK_UART_4G-GPS.yaml index 1f3ed24..8a1f73d 100644 --- a/examples/single-node/RP_BMS_example_JK_UART_4G-GPS.yaml +++ b/examples/single-node/RP_BMS_example_JK_UART_4G-GPS.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.02.03 -# Version : 1.1.2 +# Updated : 2026.02.15 +# Version : 1.1.3 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -19,17 +19,18 @@ ############################ Remote Packages Example ########################### -# This is not a working YAML but just code ready to copy into your main YAML. +# 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: ################################################################################ -packages: - - bms: - url: https://github.com/Sleeper85/esphome-yambms - ref: main - refresh: 0s - files: # BMS 1 - path: 'packages/bms/bms_combine_JK_UART_4G-GPS_full.yaml' vars: diff --git a/examples/single-node/RP_BMS_example_PACE_RS485.yaml b/examples/single-node/RP_BMS_example_PACE_RS485.yaml index 54665f6..43d291e 100644 --- a/examples/single-node/RP_BMS_example_PACE_RS485.yaml +++ b/examples/single-node/RP_BMS_example_PACE_RS485.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.02.03 -# Version : 1.1.3 +# Updated : 2026.02.15 +# Version : 1.1.4 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -19,17 +19,18 @@ ############################ Remote Packages Example ########################### -# This is not a working YAML but just code ready to copy into your main YAML. +# 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: ################################################################################ -packages: - - bms: - url: https://github.com/Sleeper85/esphome-yambms - ref: main - refresh: 0s - files: # Pace Modbus - path: 'packages/bms/bms_combine_PACE_RS485_modbus.yaml' vars: diff --git a/examples/single-node/RP_BMS_example_SEPLOS_V1_V2_RS485.yaml b/examples/single-node/RP_BMS_example_SEPLOS_V1_V2_RS485.yaml index 9143825..4014407 100644 --- a/examples/single-node/RP_BMS_example_SEPLOS_V1_V2_RS485.yaml +++ b/examples/single-node/RP_BMS_example_SEPLOS_V1_V2_RS485.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.02.03 -# Version : 1.1.4 +# Updated : 2026.02.15 +# Version : 1.1.5 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -19,17 +19,18 @@ ############################ Remote Packages Example ########################### -# This is not a working YAML but just code ready to copy into your main YAML. +# 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: ################################################################################ -packages: - - bms: - url: https://github.com/Sleeper85/esphome-yambms - ref: main - refresh: 0s - files: # Seplos Modbus - path: 'packages/bms/bms_combine_SEPLOS_V1_V2_RS485_modbus.yaml' vars: diff --git a/examples/single-node/RP_Balancer_example.yaml b/examples/single-node/RP_Balancer_example.yaml new file mode 100644 index 0000000..b7e7fa2 --- /dev/null +++ b/examples/single-node/RP_Balancer_example.yaml @@ -0,0 +1,68 @@ +# Updated : 2026.02.15 +# 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 below the `packages:` section. + +# packages: +# remote_packages: +# url: https://github.com/Sleeper85/esphome-yambms +# ref: main +# refresh: 60s +# files: + +################################################################################ + + # Basen controller + - path: 'packages/bms/bms_combine_BASEN_RS485_controller.yaml' + vars: + basen_uart_id: 'uart_esp_1' + basen_uart_baud_rate: '9600' + basen_controller_id: "basen_controller_1" + # Basen module 1 + - path: 'packages/bms/bms_combine_BASEN_RS485_full.yaml' + vars: + bms_id: '1' # must be a number + bms_name: 'BASEN-BMS 1' + bms_address: '0x01' + bms_status_led_id: 'esp_light' # led used to show status. Default = esp_light, comment out to disable + # Basen module 2 + - path: 'packages/bms/bms_combine_BASEN_RS485_full.yaml' + vars: + bms_id: '2' # must be a number + bms_name: 'BASEN-BMS 2' + bms_address: '0x02' + bms_status_led_id: 'esp_light' # led used to show status. Default = esp_light, comment out to disable + + # Balancer 1 linked to BMS 1 + - path: 'packages/balancer/balancer_sensors_JK_NEEY_BLE.yaml' + vars: + bms_id: '1' # must match the BMS ID + balancer_name: 'Balancer 1' + balancer_ble_mac_address: 11:22:33:44:55:66 + balancer_status_led_id: 'esp_light' # led used to show status. Default = esp_light, comment out to disable + # Balancer 2 linked to BMS 2 + - path: 'packages/balancer/balancer_sensors_JK_NEEY_BLE.yaml' + vars: + bms_id: '2' # must match the BMS ID + balancer_name: 'Balancer 2' + balancer_ble_mac_address: 11:22:33:44:55:67 + balancer_status_led_id: 'esp_light' # led used to show status. Default = esp_light, comment out or set to 'nullptr' to disable diff --git a/examples/single-node/RP_Shunt_example.yaml b/examples/single-node/RP_Shunt_example.yaml index b352b93..4d54231 100644 --- a/examples/single-node/RP_Shunt_example.yaml +++ b/examples/single-node/RP_Shunt_example.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.02.03 -# Version : 1.1.3 +# Updated : 2026.02.15 +# Version : 1.1.4 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -17,18 +17,21 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -############################ Local Packages Example ############################ +############################ Remote Packages Example ########################### -# This is not a working YAML but just code ready to copy into your main YAML. +# 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: ################################################################################ # Junctek KHF UART - shunt: - url: https://github.com/Sleeper85/esphome-yambms - ref: main - refresh: 0s - files: # Shunt 1 - path: 'packages/shunt/shunt_combine_Junctek_KHF_UART.yaml' vars: @@ -42,11 +45,6 @@ bms_ids: '{1, 2}' # Victron SmartShunt UART - shunt: - url: https://github.com/Sleeper85/esphome-yambms - ref: main - refresh: 0s - files: # Shunt 1 - path: 'packages/shunt/shunt_combine_Victron_SmartShunt_UART.yaml' vars: @@ -60,11 +58,6 @@ bms_ids: '{1, 2}' # Victron SmartShunt BLE - shunt: - url: https://github.com/Sleeper85/esphome-yambms - ref: main - refresh: 0s - files: # Shunt 1 - path: 'packages/shunt/shunt_combine_Victron_SmartShunt_BLE.yaml' vars: