Updated YamBMS multi-node modbus YAMLs

This commit is contained in:
Sleeper85 committed 2025-08-02 11:02:28 +02:00
1 parent 0829fc64b9
commit 5ddf954d0f
12 files changed
+66 -62

No files matched your search

@@ -1,5 +1,5 @@
# Updated : 2025.07.28
# Version : 1.1.1
# Updated : 2025.08.02
# Version : 1.1.2
# GitHub : https://github.com/Sleeper85/esphome-yambms
# YamBMS ( Yet another multi-BMS Merging Solution )
@@ -23,16 +23,10 @@
################################################################################
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:
modbus: !include
file: packages/base/device_modbus.yaml
file: packages/board/board_options_itf_modbus.yaml
vars:
modbus_role: 'client' # client / server
modbus_uart_id: 'uart_esp_1' # RS485 board
@@ -1,5 +1,5 @@
# Updated : 2025.07.28
# Version : 1.1.1
# Updated : 2025.08.02
# Version : 1.1.2
# GitHub : https://github.com/Sleeper85/esphome-yambms
# YamBMS ( Yet another multi-BMS Merging Solution )
@@ -24,15 +24,13 @@
################################################################################
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
friendly_name : 'YamBMS Modbus Server 1' # Prefix added in front of the `entity display name`, also used to classify them.
hostname: 'yambms-modbus-server-1' # Name of your ESPHome node registered on the IP network (DNS name, must be unique) and prefix added in front of the `entity id`.
packages:
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_esp_1' # RS485 board
@@ -1,5 +1,5 @@
# Updated : 2025.07.28
# Version : 1.1.1
# Updated : 2025.08.02
# Version : 1.1.2
# GitHub : https://github.com/Sleeper85/esphome-yambms
# YamBMS ( Yet another multi-BMS Merging Solution )
@@ -24,15 +24,13 @@
################################################################################
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
friendly_name : 'YamBMS Modbus Server 2' # Prefix added in front of the `entity display name`, also used to classify them.
hostname: 'yambms-modbus-server-2' # Name of your ESPHome node registered on the IP network (DNS name, must be unique) and prefix added in front of the `entity id`.
packages:
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_esp_1' # RS485 board
@@ -1,5 +1,5 @@
# Updated : 2025.07.28
# Version : 1.1.1
# Updated : 2025.08.02
# Version : 1.1.2
# GitHub : https://github.com/Sleeper85/esphome-yambms
# YamBMS ( Yet another multi-BMS Merging Solution )
@@ -23,12 +23,6 @@
################################################################################
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:
@@ -37,7 +31,7 @@ packages:
refresh: 0s
files:
# Modbus client
- path: 'packages/base/device_modbus.yaml'
- path: 'packages/board/board_options_itf_modbus.yaml'
vars:
modbus_role: 'client' # client / server
modbus_uart_id: 'uart_esp_1' # RS485 board
@@ -1,5 +1,5 @@
# Updated : 2025.07.28
# Version : 1.1.1
# Updated : 2025.08.02
# Version : 1.1.2
# GitHub : https://github.com/Sleeper85/esphome-yambms
# YamBMS ( Yet another multi-BMS Merging Solution )
@@ -24,10 +24,8 @@
################################################################################
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
friendly_name : 'YamBMS Modbus Server 1' # Prefix added in front of the `entity display name`, also used to classify them.
hostname: 'yambms-modbus-server-1' # Name of your ESPHome node registered on the IP network (DNS name, must be unique) and prefix added in front of the `entity id`.
packages:
@@ -37,7 +35,7 @@ packages:
refresh: 0s
files:
# Modbus server
- path: 'packages/base/device_modbus.yaml'
- path: 'packages/board/board_options_itf_modbus.yaml'
vars:
modbus_role: 'server' # client / server
modbus_uart_id: 'uart_esp_1' # RS485 board
@@ -1,5 +1,5 @@
# Updated : 2025.07.28
# Version : 1.1.1
# Updated : 2025.08.02
# Version : 1.1.2
# GitHub : https://github.com/Sleeper85/esphome-yambms
# YamBMS ( Yet another multi-BMS Merging Solution )
@@ -24,10 +24,8 @@
################################################################################
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
friendly_name : 'YamBMS Modbus Server 2' # Prefix added in front of the `entity display name`, also used to classify them.
hostname: 'yambms-modbus-server-2' # Name of your ESPHome node registered on the IP network (DNS name, must be unique) and prefix added in front of the `entity id`.
packages:
@@ -37,7 +35,7 @@ packages:
refresh: 0s
files:
# Modbus server
- path: 'packages/base/device_modbus.yaml'
- path: 'packages/board/board_options_itf_modbus.yaml'
vars:
modbus_role: 'server' # client / server
modbus_uart_id: 'uart_esp_1' # RS485 board
+3 -3
View File
@@ -1,5 +1,5 @@
# Updated : 2025.06.12
# Version : 1.1.6
# Updated : 2025.08.02
# Version : 1.1.7
# GitHub : https://github.com/Sleeper85/esphome-yambms
# YamBMS ( Yet another multi-BMS Merging Solution )
@@ -30,7 +30,7 @@ packages:
modbus_controller:
- id: modbus_controller${bms_id}
modbus_id: modbus_client
modbus_id: ${modbus_id}
setup_priority: -10
address: ${bms_id}
update_interval: ${modbus_update_interval}
+3 -3
View File
@@ -1,5 +1,5 @@
# Updated : 2025.04.01
# Version : 1.1.3
# Updated : 2025.08.02
# Version : 1.1.4
# GitHub : https://github.com/Sleeper85/esphome-yambms
# YamBMS ( Yet another multi-BMS Merging Solution )
@@ -18,7 +18,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/gpl.html>.
modbus_controller:
- modbus_id: modbus_server
- modbus_id: ${modbus_id}
address: ${bms_id} # max 255 (8bit)
server_registers:
# online_status (1/0)
@@ -1,4 +1,4 @@
# Updated : 2025.03.21
# Updated : 2025.08.02
# Version : 1.1.1
# GitHub : https://github.com/Sleeper85/esphome-yambms
@@ -17,12 +17,24 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/gpl.html>.
# The settings below can be changed via `vars` when importing the package
# or by declaring new `substitutions` in the main YAML.
substitutions:
# UART
modbus_baud_rate: '19200' # 9600 / 19200 / 115200
# Modbus
modbus_id: 'modbus_1'
modbus_send_wait_time: '250ms' # time in milliseconds before the next ModBUS command is sent if an answer from a previous command is pending
# Modbus Controller
modbus_update_interval: '5s' # frequency with which BMS/Shunt modbus servers are queried
modbus_command_throttle: '0ms' # minimum time in between 2 requests to the device
uart:
- id: !extend ${modbus_uart_id}
baud_rate: ${modbus_baud_rate}
modbus:
- uart_id: ${modbus_uart_id}
id: modbus_${modbus_role}
id: ${modbus_id}
role: ${modbus_role}
send_wait_time: ${modbus_send_wait_time}
@@ -1,4 +1,4 @@
# Updated : 2025.03.21
# Updated : 2025.08.02
# Version : 1.1.1
# GitHub : https://github.com/Sleeper85/esphome-yambms
@@ -17,8 +17,20 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/gpl.html>.
# The settings below can be changed via `vars` when importing the package
# or by declaring new `substitutions` in the main YAML.
substitutions:
# UART
modbus_baud_rate: '19200' # 9600 / 19200 / 115200
# Modbus
modbus_id: 'modbus_1'
modbus_send_wait_time: '250ms' # time in milliseconds before the next ModBUS command is sent if an answer from a previous command is pending
# Modbus Controller
modbus_update_interval: '5s' # frequency with which BMS/Shunt modbus servers are queried
modbus_command_throttle: '0ms' # minimum time in between 2 requests to the device
modbus:
- uart_id: ${modbus_uart_id}
id: modbus_${modbus_role}
id: ${modbus_id}
role: ${modbus_role}
send_wait_time: ${modbus_send_wait_time}
@@ -1,5 +1,5 @@
# Updated : 2025.05.19
# Version : 1.1.2
# Updated : 2025.08.02
# Version : 1.1.3
# GitHub : https://github.com/Sleeper85/esphome-yambms
# YamBMS ( Yet another multi-BMS Merging Solution )
@@ -26,7 +26,7 @@ packages:
modbus_controller:
- id: modbus_controller20${shunt_id}
modbus_id: modbus_client
modbus_id: ${modbus_id}
setup_priority: -10
address: 20${shunt_id}
update_interval: ${modbus_update_interval}
+3 -3
View File
@@ -1,5 +1,5 @@
# Updated : 2024.12.23
# Version : 1.1.1
# Updated : 2025.08.02
# Version : 1.1.2
# GitHub : https://github.com/Sleeper85/esphome-yambms
# YamBMS ( Yet another multi-BMS Merging Solution )
@@ -18,7 +18,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/gpl.html>.
modbus_controller:
- modbus_id: modbus_server
- modbus_id: ${modbus_id}
address: 20${shunt_id} # max 255 (8bit)
server_registers:
# online_status (1/0)