YamBMS 1.8.1 LP/RP examples

Update the root YAML and the examples for the UART and CAN declarations, the
RS485 block and the Board Options section.
This commit is contained in:
Sleeper85 committed 2026-11-08 23:08:34 +01:00
1 parent cab5a63e0e
commit faad9e60ce
32 files changed
+800 -989

No files matched your search

+25 -40
View File
@@ -1,5 +1,5 @@
# Updated : 2026.08.11
# Version : 1.8.0
# Updated : 2026.11.05
# Version : 1.8.1
# GitHub : https://github.com/Sleeper85/esphome-yambms
# YamBMS ( Yet another multi-BMS Merging Solution )
@@ -132,6 +132,16 @@ substitutions:
{ 60.0, 0.00 }
}
# +--------------------------------------+
# | YamBMS services |
# +--------------------------------------+
# Update service : checks GitHub for a newer YamBMS version.
# Telemetry service : sends anonymous data about your setup (BMS model, board,
# inverter protocol, YamBMS version). It is what tells me which hardware is
# actually in use, so I know where to spend my time. Public stats and details
# on what is collected : stats.yambms.org
yambms_update_service: 'true' # Set to false to disable update checks
yambms_telemetry_service: 'true' # Set to false to disable the sending of telemetry data
# +--------------------------------------+
# | Shunt Settings |
# +--------------------------------------+
shunt_update_interval: '3s' # frequency at which Shunt data is refreshed
@@ -219,36 +229,6 @@ packages:
# | >>> Uncomment your interfaces and options
# +------------------------------------------------------------------------------+
# UART 1 (uart_id: uart_esp_1)
uart_esp_1: !include packages/board/board_options_itf_uart_esp_1.yaml
# UART 2 (uart_id: uart_esp_2)
# uart_esp_2: !include packages/board/board_options_itf_uart_esp_2.yaml
# UART 3 (uart_id: uart_esp_3)
# uart_esp_3: !include packages/board/board_options_itf_uart_esp_3.yaml
# UART flow control
# uart_flow_control: !include
# file: packages/board/board_options_itf_uart_flow_control.yaml
# vars:
# uart_id: 'uart_esp_1'
# uart_flow_control_pin: ${talk_pin}
# CAN transceiver - ESP32_CAN (TJA105x, SN65HVD230, M5Stack CAN base/unit)
canbus_node_1: !include
file: packages/board/board_options_itf_canbus_esp32_can.yaml
vars:
# to bms = canbus_bms_1
# to inverter = canbus_inverter_1
canbus_node_id: 'canbus_inverter_1'
# CAN transceiver - MCP2515
# canbus_node_2: !include
# file: packages/board/board_options_itf_canbus_mcp2515.yaml
# vars:
# # to bms = canbus_bms_1
# # to inverter = canbus_inverter_1
# canbus_node_id: 'canbus_inverter_1'
# PSRAM octal 80Mhz
# psram_octal_80Mhz: !include packages/board/board_options_PSRAM_octal_80Mhz.yaml
@@ -371,12 +351,14 @@ packages:
vars:
canbus_id: '1' # Must be a number
canbus_name: 'CANBUS 1'
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
canbus_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
# CAN frames sending will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305) before the end of the `canbus_link_timer` (5s by default).
canbus_link_timer_enabled: 'true' # Set it to 'false' if your inverter/charger is not sending ACK (can_id 0x305) every `1s` as specified by the protocol
canbus_link_timer: '5s'
canbus_extended_ack: 'false' # Set to 'true' for enable extended 29-bit IDs for the ACK can_id 0x305 (required for Schneider XW Pro)
canbus_link_timer: '10s' # min 6s with Deye
# CAN setup
canbus_platform: 'esp32_can' # esp32_can / mcp2515
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
canbus_bitrate: '500kbps' # Default : 500kbps
@@ -384,15 +366,18 @@ packages:
# | >>> RS485 bus to Inverter
# +------------------------------------------------------------------------------+
# rs485_pylon: !include
# file: packages/yambms/yambms_rs485_pylon.yaml # yambms_rs485_pylon_web_server.yaml
# rs485_1: !include
# file: 'packages/yambms/yambms_rs485.yaml'
# # file: 'packages/yambms/yambms_rs485_web_server.yaml'
# vars:
# rs485_id: '1' # Must be a number
# rs485_id: '1' # Must be a number
# rs485_name: 'RS485 1'
# rs485_uart_id: 'uart_esp_3' # UART interface to which your inverter is connected
# rs485_uart_baud_rate: '9600'
# rs485_protocol: 'pylon' # pylon / voltronic
# rs485_update_timeout: '10s'
# rs485_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
# # UART setup
# rs485_uart_id: 'uart_esp_3' # UART interface to which your inverter is connected
# rs485_uart_baud_rate: '9600' # Default : 9600 / Epever : 115200
+42 -49
View File
@@ -1,5 +1,5 @@
# Updated : 2026.08.27
# Version : 1.8.0
# Updated : 2026.11.05
# Version : 1.8.1
# GitHub : https://github.com/Sleeper85/esphome-yambms
# YamBMS ( Yet another multi-BMS Merging Solution )
@@ -133,6 +133,16 @@ substitutions:
{ 60.0, 0.00 }
}
# +--------------------------------------+
# | YamBMS services |
# +--------------------------------------+
# Update service : checks GitHub for a newer YamBMS version.
# Telemetry service : sends anonymous data about your setup (BMS model, board,
# inverter protocol, YamBMS version). It is what tells me which hardware is
# actually in use, so I know where to spend my time. Public stats and details
# on what is collected : stats.yambms.org
yambms_update_service: 'true' # Set to false to disable update checks
yambms_telemetry_service: 'true' # Set to false to disable the sending of telemetry data
# +--------------------------------------+
# | Shunt Settings |
# +--------------------------------------+
shunt_update_interval: '3s' # frequency at which Shunt data is refreshed
@@ -154,14 +164,14 @@ substitutions:
# +--------------------------------------+
# | UART expander WK2168 |
# +--------------------------------------+
uart0_baudrate: '2400' # uart_id : uart_${uart_hub_bus}_0 WKS {RJ45-UART0}
uart1_baudrate: '38400' # uart_id : uart_${uart_hub_bus}_1 JSY193
uart2_baudrate: '19200' # uart_id : uart_${uart_hub_bus}_2 SmartShunt
uart3_baudrate: '9600' # uart_id : uart_${uart_hub_bus}_3 SRNE {RJ45-UART3}
uart4_baudrate: '115200' # uart_id : uart_${uart_hub_bus}_4 JK-BMS 1
uart5_baudrate: '115200' # uart_id : uart_${uart_hub_bus}_5 JK-BMS 2
uart6_baudrate: '115200' # uart_id : uart_${uart_hub_bus}_6 Pylontech
uart7_baudrate: '9600' # uart_id : uart_${uart_hub_bus}_7 EPEVER {RJ45-UART7}
# uart_spi_0 : 2400 WKS {RJ45-UART0}
# uart_spi_1 : 38400 JSY193
# uart_spi_2 : 19200 SmartShunt
# uart_spi_3 : 9600 SRNE {RJ45-UART3}
# uart_spi_4 : 115200 JK-BMS 1
# uart_spi_5 : 115200 JK-BMS 2
# uart_spi_6 : 115200 Pylontech
# uart_spi_7 : 9600 EPEVER {RJ45-UART7}
@@ -187,57 +197,34 @@ packages:
# | >>> Uncomment your interfaces and options
# +------------------------------------------------------------------------------+
# UART 1 (uart_id: uart_esp_1)
# uart_esp_1: !include packages/board/board_options_itf_uart_esp_1.yaml
# UART 2 (uart_id: uart_esp_2)
# uart_esp_2: !include packages/board/board_options_itf_uart_esp_2.yaml
# UART 3 (uart_id: uart_esp_3)
# uart_esp_3: !include packages/board/board_options_itf_uart_esp_3.yaml
# BUS
# spi_bus: !include packages/board/board_options_itf_bus_spi.yaml # SPI bus
# i2c_bus: !include packages/board/board_options_itf_bus_i2c.yaml # I2C bus for SX1509 and BME280/BMP280
# one_wire_bus: !include packages/board/board_options_itf_bus_one_wire.yaml # One wire bus for Dallas Temperature Sensor
# WK2168 UART/IO Expander
wk2168_spi: !include packages/board/board_options_itf_wk2168_spi.yaml
# wk2168_i2c: !include packages/board/board_options_itf_wk2168_i2c.yaml
# Modbus 1
# modbus_1: !include
# file: 'packages/board/board_options_itf_modbus_expander.yaml'
# file: 'packages/board/board_options_itf_modbus.yaml'
# vars:
# modbus_id: '1' # can be a number or text or a mixture of both, e.g. full id = modbus_client_1
# modbus_role: 'client' # client / server
# modbus_uart_id: 'uart_${uart_hub_bus}_1'
# modbus_uart_id: 'uart_spi_1'
# Modbus 2
# modbus_2: !include
# file: 'packages/board/board_options_itf_modbus_expander.yaml'
# file: 'packages/board/board_options_itf_modbus.yaml'
# vars:
# modbus_id: '2' # can be a number or text or a mixture of both, e.g. full id = modbus_client_2
# modbus_role: 'client' # client / server
# modbus_uart_id: 'uart_${uart_hub_bus}_2'
# WK2168 UART/IO Expander
wk2168_spi: !include packages/board/board_options_itf_pvbrain2_wk2168_spi.yaml
# wk2168_i2c: !include packages/board/board_options_itf_pvbrain2_wk2168_i2c.yaml
# modbus_uart_id: 'uart_spi_2'
# SX1509 16 channel I/O Expander
# sx1509: !include packages/board/board_options_itf_pvbrain2_sx1509.yaml
# CAN transceiver - ESP32_CAN (TJA105x, SN65HVD230, M5Stack CAN base/unit)
canbus_node_1: !include
file: packages/board/board_options_itf_canbus_esp32_can.yaml
vars:
# to bms = canbus_bms_1
# to inverter = canbus_inverter_1
canbus_node_id: 'canbus_inverter_1'
# CAN transceiver - SPI bus and MCP2515
# canbus_node_2: !include
# file: packages/board/board_options_itf_canbus_mcp2515.yaml
# vars:
# # to bms = canbus_bms_1
# # to inverter = canbus_inverter_1
# canbus_node_id: 'canbus_inverter_1'
# PSRAM octal 80Mhz
psram_octal_80Mhz: !include packages/board/board_options_PSRAM_octal_80Mhz.yaml
@@ -282,12 +269,14 @@ packages:
vars:
canbus_id: '1' # Must be a number
canbus_name: 'CANBUS 1'
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
canbus_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
# CAN frames sending will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305) before the end of the `canbus_link_timer` (5s by default).
canbus_link_timer_enabled: 'true' # Set it to 'false' if your inverter/charger is not sending ACK (can_id 0x305) every `1s` as specified by the protocol
canbus_link_timer: '5s'
canbus_extended_ack: 'false' # Set to 'true' for enable extended 29-bit IDs for the ACK can_id 0x305 (required for Schneider XW Pro)
canbus_link_timer: '10s' # min 6s with Deye
# CAN setup
canbus_platform: 'esp32_can' # esp32_can / mcp2515
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
canbus_bitrate: '500kbps' # Default : 500kbps
@@ -295,15 +284,19 @@ packages:
# | >>> RS485 bus to Inverter
# +------------------------------------------------------------------------------+
# rs485_pylon: !include
# file: packages/yambms/yambms_rs485_pylon_core.yaml
# rs485_1: !include
# file: 'packages/yambms/yambms_rs485.yaml'
# # file: 'packages/yambms/yambms_rs485_web_server.yaml'
# vars:
# rs485_id: '1' # Must be a number
# rs485_id: '1' # Must be a number
# rs485_name: 'RS485 1'
# rs485_uart_id: 'uart_${uart_hub_bus}_3' # UART interface to which your inverter is connected
# rs485_uart_baud_rate: '9600'
# rs485_protocol: 'pylon' # pylon / voltronic
# rs485_update_timeout: '10s'
# rs485_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
# # UART setup
# rs485_uart_id: 'uart_spi_3' # UART interface to which your inverter is connected
# rs485_uart_baud_rate: '9600' # Default : 9600 / Epever : 115200
# +------------------------------------------------------------------------------+
+37 -49
View File
@@ -1,5 +1,5 @@
# Updated : 2026.07.30
# Version : 1.7.1
# Updated : 2026.11.05
# Version : 1.8.1
# GitHub : https://github.com/Sleeper85/esphome-yambms
# YamBMS ( Yet another multi-BMS Merging Solution )
@@ -117,7 +117,7 @@ substitutions:
{ 55.0, 0.50 },
{ 60.0, 0.00 }
}
# Temperature °C -> Discharge Rate (0.0C to 1.0C)
# Temperature °C -> Discharge Rate (0.0C to 1.0C)
yambms_discharging_rate_table: |
{
{-30.0, 0.00 },
@@ -132,18 +132,28 @@ substitutions:
{ 60.0, 0.00 }
}
# +--------------------------------------+
# | YamBMS services |
# +--------------------------------------+
# Update service : checks GitHub for a newer YamBMS version.
# Telemetry service : sends anonymous data about your setup (BMS model, board,
# inverter protocol, YamBMS version). It is what tells me which hardware is
# actually in use, so I know where to spend my time. Public stats and details
# on what is collected : stats.yambms.org
yambms_update_service: 'true' # Set to false to disable update checks
yambms_telemetry_service: 'true' # Set to false to disable the sending of telemetry data
# +--------------------------------------+
# | Shunt Settings |
# +--------------------------------------+
shunt_update_interval: '3s' # frequency at which Shunt data is refreshed
shunt_update_interval: '3s' # frequency at which Shunt data is refreshed
# +--------------------------------------+
# | BMS Settings |
# +--------------------------------------+
bms_update_interval: '3s' # frequency at which BMS data is refreshed, going below '3s' can cause problems
bms_update_interval: '3s' # frequency at which BMS data is refreshed, going below '3s' can cause problems
# +--------------------------------------+
# | Health & LED Assignment Logs |
# +--------------------------------------+
enable_led_logging: 'false' # Set to true to see if an led is assigned to a component correctly, logged every 60 seconds
enable_health_logging: 'false' # Set to true to see if component health for all component instances, logged every 60 seconds
enable_led_logging: 'false' # Set to true to see if an led is assigned to a component correctly, logged every 60 seconds
enable_health_logging: 'false' # Set to true to see if component health for all component instances, logged every 60 seconds
# +--------------------------------------+
# | Advanced options |
# +--------------------------------------+
@@ -219,36 +229,6 @@ packages:
# | >>> Uncomment your interfaces and options
# +------------------------------------------------------------------------------+
# UART 1 (uart_id: uart_esp_1)
uart_esp_1: !include packages/board/board_options_itf_uart_esp_1.yaml
# UART 2 (uart_id: uart_esp_2)
# uart_esp_2: !include packages/board/board_options_itf_uart_esp_2.yaml
# UART 3 (uart_id: uart_esp_3)
# uart_esp_3: !include packages/board/board_options_itf_uart_esp_3.yaml
# UART flow control
# uart_flow_control: !include
# file: packages/board/board_options_itf_uart_flow_control.yaml
# vars:
# uart_id: 'uart_esp_1'
# uart_flow_control_pin: ${talk_pin}
# CAN transceiver - ESP32_CAN (TJA105x, SN65HVD230, M5Stack CAN base/unit)
canbus_node_1: !include
file: packages/board/board_options_itf_canbus_esp32_can.yaml
vars:
# to bms = canbus_bms_1
# to inverter = canbus_inverter_1
canbus_node_id: 'canbus_inverter_1'
# CAN transceiver - MCP2515
# canbus_node_2: !include
# file: packages/board/board_options_itf_canbus_mcp2515.yaml
# vars:
# # to bms = canbus_bms_1
# # to inverter = canbus_inverter_1
# canbus_node_id: 'canbus_inverter_1'
# PSRAM octal 80Mhz
# psram_octal_80Mhz: !include packages/board/board_options_PSRAM_octal_80Mhz.yaml
@@ -289,16 +269,19 @@ packages:
# +------------------------------------------------------------------------------+
canbus1: !include
file: packages/yambms/yambms_canbus.yaml # yambms_canbus_web_server.yaml
file: packages/yambms/yambms_canbus.yaml
# file: packages/yambms/yambms_canbus_web_server.yaml
vars:
canbus_id: '1' # Must be a number
canbus_id: '1' # Must be a number
canbus_name: 'CANBUS 1'
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
canbus_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
canbus_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
# CAN frames sending will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305) before the end of the `canbus_link_timer` (5s by default).
canbus_link_timer_enabled: 'true' # Set it to 'false' if your inverter/charger is not sending ACK (can_id 0x305) every `1s` as specified by the protocol
canbus_link_timer: '5s'
canbus_extended_ack: 'false' # Set to 'true' for enable extended 29-bit IDs for the ACK can_id 0x305 (required for Schneider XW Pro)
canbus_link_timer_enabled: 'true' # Set it to 'false' if your inverter/charger is not sending ACK (can_id 0x305) every `1s` as specified by the protocol
canbus_link_timer: '10s' # min 6s with Deye
# CAN setup
canbus_platform: 'esp32_can' # esp32_can / mcp2515
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
canbus_bitrate: '500kbps' # Default : 500kbps
@@ -306,15 +289,20 @@ packages:
# | >>> RS485 bus to Inverter
# +------------------------------------------------------------------------------+
# rs485_pylon: !include
# file: packages/yambms/yambms_rs485_pylon.yaml # yambms_rs485_pylon_web_server.yaml
# rs485_1: !include
# file: 'packages/yambms/yambms_rs485.yaml'
# # file: 'packages/yambms/yambms_rs485_web_server.yaml'
# vars:
# rs485_id: '1' # Must be a number
# rs485_id: '1' # Must be a number
# rs485_name: 'RS485 1'
# rs485_uart_id: 'uart_esp_3' # UART interface to which your inverter is connected
# rs485_uart_baud_rate: '9600'
# rs485_protocol: 'pylon' # pylon / voltronic
# rs485_update_timeout: '10s'
# rs485_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
# # UART setup
# rs485_uart_id: 'uart_esp_3' # UART interface to which your inverter is connected
# # ESP32 : uart_esp_1 to uart_esp_3
# # WK2168 : uart_spi_0 to uart_spi_7 / uart_i2c_0 to uart_i2c_7
# rs485_uart_baud_rate: '9600' # Default : 9600 / Epever : 115200
+24 -36
View File
@@ -1,5 +1,5 @@
# Updated : 2026.08.11
# Version : 1.8.0
# Updated : 2026.11.05
# Version : 1.8.1
# GitHub : https://github.com/Sleeper85/esphome-yambms
# YamBMS ( Yet another multi-BMS Merging Solution )
@@ -132,6 +132,16 @@ substitutions:
{ 60.0, 0.00 }
}
# +--------------------------------------+
# | YamBMS services |
# +--------------------------------------+
# Update service : checks GitHub for a newer YamBMS version.
# Telemetry service : sends anonymous data about your setup (BMS model, board,
# inverter protocol, YamBMS version). It is what tells me which hardware is
# actually in use, so I know where to spend my time. Public stats and details
# on what is collected : stats.yambms.org
yambms_update_service: 'true' # Set to false to disable update checks
yambms_telemetry_service: 'true' # Set to false to disable the sending of telemetry data
# +--------------------------------------+
# | Shunt Settings |
# +--------------------------------------+
shunt_update_interval: '3s' # frequency at which Shunt data is refreshed
@@ -220,33 +230,6 @@ packages:
# | >>> Uncomment your interfaces and options
# +------------------------------------------------------------------------------+
# UART 1 (uart_id: uart_esp_1)
- path: 'packages/board/board_options_itf_uart_esp_1.yaml'
# UART 2 (uart_id: uart_esp_2)
# - path: 'packages/board/board_options_itf_uart_esp_2.yaml'
# UART 3 (uart_id: uart_esp_3)
# - path: 'packages/board/board_options_itf_uart_esp_3.yaml'
# UART flow control
# - path: 'packages/board/board_options_itf_uart_flow_control.yaml'
# vars:
# uart_id: 'uart_esp_1'
# uart_flow_control_pin: ${talk_pin}
# CAN transceiver - ESP32_CAN (TJA105x, SN65HVD230, M5Stack CAN base/unit)
- path: 'packages/board/board_options_itf_canbus_esp32_can.yaml'
vars:
# to bms = canbus_bms_1
# to inverter = canbus_inverter_1
canbus_node_id: 'canbus_inverter_1'
# CAN transceiver - MCP2515
# - path: 'packages/board/board_options_itf_canbus_mcp2515.yaml'
# vars:
# # to bms = canbus_bms_1
# # to inverter = canbus_inverter_1
# canbus_node_id: 'canbus_inverter_1'
# PSRAM octal 80Mhz
# - path: 'packages/board/board_options_PSRAM_octal_80Mhz.yaml'
@@ -314,12 +297,14 @@ packages:
vars:
canbus_id: '1' # must be a number
canbus_name: 'CANBUS 1'
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
canbus_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
# CAN frames sending will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305) before the end of the `canbus_link_timer` (5s by default).
canbus_link_timer_enabled: 'true' # Set it to 'false' if your inverter/charger is not sending ACK (can_id 0x305) every `1s` as specified by the protocol
canbus_link_timer: '5s'
canbus_extended_ack: 'false' # Set to 'true' for enable extended 29-bit IDs (required for Schneider XW Pro)
canbus_link_timer: '10s' # min 6s with Deye
# CAN setup
canbus_platform: 'esp32_can' # esp32_can / mcp2515
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
canbus_bitrate: '500kbps' # Default : 500kbps
@@ -327,14 +312,17 @@ packages:
# | >>> RS485 bus to Inverter
# +------------------------------------------------------------------------------+
# - path: 'packages/yambms/yambms_rs485_pylon.yaml' # yambms_rs485_pylon_web_server.yaml
# - path: 'packages/yambms/yambms_rs485.yaml'
# # - path: 'packages/yambms/yambms_rs485_web_server.yaml'
# vars:
# rs485_id: '1' # Must be a number
# rs485_id: '1' # Must be a number
# rs485_name: 'RS485 1'
# rs485_uart_id: 'uart_esp_3' # UART interface to which your inverter is connected
# rs485_uart_baud_rate: '9600'
# rs485_protocol: 'pylon' # pylon / voltronic
# rs485_update_timeout: '10s'
# rs485_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
# # UART setup
# rs485_uart_id: 'uart_esp_3' # UART interface to which your inverter is connected
# rs485_uart_baud_rate: '9600' # Default : 9600 / Epever : 115200
+26 -36
View File
@@ -1,5 +1,5 @@
# Updated : 2026.08.11
# Version : 1.8.0
# Updated : 2026.11.05
# Version : 1.8.1
# GitHub : https://github.com/Sleeper85/esphome-yambms
# YamBMS ( Yet another multi-BMS Merging Solution )
@@ -132,6 +132,16 @@ substitutions:
{ 60.0, 0.00 }
}
# +--------------------------------------+
# | YamBMS services |
# +--------------------------------------+
# Update service : checks GitHub for a newer YamBMS version.
# Telemetry service : sends anonymous data about your setup (BMS model, board,
# inverter protocol, YamBMS version). It is what tells me which hardware is
# actually in use, so I know where to spend my time. Public stats and details
# on what is collected : stats.yambms.org
yambms_update_service: 'true' # Set to false to disable update checks
yambms_telemetry_service: 'true' # Set to false to disable the sending of telemetry data
# +--------------------------------------+
# | Shunt Settings |
# +--------------------------------------+
shunt_update_interval: '3s' # frequency at which Shunt data is refreshed
@@ -221,33 +231,6 @@ packages:
# | >>> Uncomment your interfaces and options
# +------------------------------------------------------------------------------+
# UART 1 (uart_id: uart_esp_1)
# - path: 'packages/board/board_options_itf_uart_esp_1.yaml'
# UART 2 (uart_id: uart_esp_2)
# - path: 'packages/board/board_options_itf_uart_esp_2.yaml'
# UART 3 (uart_id: uart_esp_3)
# - path: 'packages/board/board_options_itf_uart_esp_3.yaml'
# UART flow control
# - path: 'packages/board/board_options_itf_uart_flow_control.yaml'
# vars:
# uart_id: 'uart_esp_1'
# uart_flow_control_pin: ${talk_pin}
# CAN transceiver - ESP32_CAN (TJA105x, SN65HVD230, M5Stack CAN base/unit)
- path: 'packages/board/board_options_itf_canbus_esp32_can.yaml'
vars:
# to bms = canbus_bms_1
# to inverter = canbus_inverter_1
canbus_node_id: 'canbus_inverter_1'
# CAN transceiver - MCP2515
- path: 'packages/board/board_options_itf_canbus_mcp2515.yaml'
vars:
# to bms = canbus_bms_1
# to inverter = canbus_inverter_1
canbus_node_id: 'canbus_bms_1'
# PSRAM octal 80Mhz
# - path: 'packages/board/board_options_PSRAM_octal_80Mhz.yaml'
@@ -280,6 +263,8 @@ packages:
vars:
# CAN BUS ID
canbus_id: 'canbus_bms_1'
canbus_platform: 'mcp2515' # esp32_can / mcp2515
canbus_bitrate: '500kbps' # Default : 500kbps
deye_name: 'DEYE-Top 1'
deye_id: '1'
# Deye module 1
@@ -323,12 +308,14 @@ packages:
vars:
canbus_id: '1' # must be a number
canbus_name: 'CANBUS 1'
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
canbus_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
# CAN frames sending will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305) before the end of the `canbus_link_timer` (5s by default).
canbus_link_timer_enabled: 'true' # Set it to 'false' if your inverter/charger is not sending ACK (can_id 0x305) every `1s` as specified by the protocol
canbus_link_timer: '5s'
canbus_extended_ack: 'false' # Set to 'true' for enable extended 29-bit IDs (required for Schneider XW Pro)
canbus_link_timer: '10s' # min 6s with Deye
# CAN setup
canbus_platform: 'esp32_can' # esp32_can / mcp2515
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
canbus_bitrate: '500kbps' # Default : 500kbps
@@ -336,14 +323,17 @@ packages:
# | >>> RS485 bus to Inverter
# +------------------------------------------------------------------------------+
# - path: 'packages/yambms/yambms_rs485_pylon.yaml' # yambms_rs485_pylon_web_server.yaml
# - path: 'packages/yambms/yambms_rs485.yaml'
# # - path: 'packages/yambms/yambms_rs485_web_server.yaml'
# vars:
# rs485_id: '1' # Must be a number
# rs485_id: '1' # Must be a number
# rs485_name: 'RS485 1'
# rs485_uart_id: 'uart_esp_3' # UART interface to which your inverter is connected
# rs485_uart_baud_rate: '9600'
# rs485_protocol: 'pylon' # pylon / voltronic
# rs485_update_timeout: '10s'
# rs485_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
# # UART setup
# rs485_uart_id: 'uart_esp_3' # UART interface to which your inverter is connected
# rs485_uart_baud_rate: '9600' # Default : 9600 / Epever : 115200
+24 -36
View File
@@ -1,5 +1,5 @@
# Updated : 2026.08.29
# Version : 1.8.0
# Updated : 2026.11.05
# Version : 1.8.1
# GitHub : https://github.com/Sleeper85/esphome-yambms
# YamBMS ( Yet another multi-BMS Merging Solution )
@@ -132,6 +132,16 @@ substitutions:
{ 60.0, 0.00 }
}
# +--------------------------------------+
# | YamBMS services |
# +--------------------------------------+
# Update service : checks GitHub for a newer YamBMS version.
# Telemetry service : sends anonymous data about your setup (BMS model, board,
# inverter protocol, YamBMS version). It is what tells me which hardware is
# actually in use, so I know where to spend my time. Public stats and details
# on what is collected : stats.yambms.org
yambms_update_service: 'true' # Set to false to disable update checks
yambms_telemetry_service: 'true' # Set to false to disable the sending of telemetry data
# +--------------------------------------+
# | Shunt Settings |
# +--------------------------------------+
shunt_update_interval: '3s' # frequency at which Shunt data is refreshed
@@ -220,33 +230,6 @@ packages:
# | >>> Uncomment your interfaces and options
# +------------------------------------------------------------------------------+
# UART 1 (uart_id: uart_esp_1)
- path: 'packages/board/board_options_itf_uart_esp_1.yaml'
# UART 2 (uart_id: uart_esp_2)
# - path: 'packages/board/board_options_itf_uart_esp_2.yaml'
# UART 3 (uart_id: uart_esp_3)
# - path: 'packages/board/board_options_itf_uart_esp_3.yaml'
# UART flow control
# - path: 'packages/board/board_options_itf_uart_flow_control.yaml'
# vars:
# uart_id: 'uart_esp_1'
# uart_flow_control_pin: ${talk_pin}
# CAN transceiver - ESP32_CAN (TJA105x, SN65HVD230, M5Stack CAN base/unit)
- path: 'packages/board/board_options_itf_canbus_esp32_can.yaml'
vars:
# to bms = canbus_bms_1
# to inverter = canbus_inverter_1
canbus_node_id: 'canbus_inverter_1'
# CAN transceiver - MCP2515
# - path: 'packages/board/board_options_itf_canbus_mcp2515.yaml'
# vars:
# # to bms = canbus_bms_1
# # to inverter = canbus_inverter_1
# canbus_node_id: 'canbus_inverter_1'
# PSRAM octal 80Mhz
# - path: 'packages/board/board_options_PSRAM_octal_80Mhz.yaml'
@@ -323,12 +306,14 @@ packages:
vars:
canbus_id: '1' # must be a number
canbus_name: 'CANBUS 1'
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
canbus_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
# CAN frames sending will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305) before the end of the `canbus_link_timer` (5s by default).
canbus_link_timer_enabled: 'true' # Set it to 'false' if your inverter/charger is not sending ACK (can_id 0x305) every `1s` as specified by the protocol
canbus_link_timer: '5s'
canbus_extended_ack: 'false' # Set to 'true' for enable extended 29-bit IDs (required for Schneider XW Pro)
canbus_link_timer: '10s' # min 6s with Deye
# CAN setup
canbus_platform: 'esp32_can' # esp32_can / mcp2515
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
canbus_bitrate: '500kbps' # Default : 500kbps
@@ -336,14 +321,17 @@ packages:
# | >>> RS485 bus to Inverter
# +------------------------------------------------------------------------------+
# - path: 'packages/yambms/yambms_rs485_pylon.yaml' # yambms_rs485_pylon_web_server.yaml
# - path: 'packages/yambms/yambms_rs485.yaml'
# # - path: 'packages/yambms/yambms_rs485_web_server.yaml'
# vars:
# rs485_id: '1' # Must be a number
# rs485_id: '1' # Must be a number
# rs485_name: 'RS485 1'
# rs485_uart_id: 'uart_esp_3' # UART interface to which your inverter is connected
# rs485_uart_baud_rate: '9600'
# rs485_protocol: 'pylon' # pylon / voltronic
# rs485_update_timeout: '10s'
# rs485_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
# # UART setup
# rs485_uart_id: 'uart_esp_3' # UART interface to which your inverter is connected
# rs485_uart_baud_rate: '9600' # Default : 9600 / Epever : 115200
+25 -36
View File
@@ -1,5 +1,5 @@
# Updated : 2026.08.11
# Version : 1.8.0
# Updated : 2026.11.05
# Version : 1.8.1
# GitHub : https://github.com/Sleeper85/esphome-yambms
# YamBMS ( Yet another multi-BMS Merging Solution )
@@ -132,6 +132,16 @@ substitutions:
{ 60.0, 0.00 }
}
# +--------------------------------------+
# | YamBMS services |
# +--------------------------------------+
# Update service : checks GitHub for a newer YamBMS version.
# Telemetry service : sends anonymous data about your setup (BMS model, board,
# inverter protocol, YamBMS version). It is what tells me which hardware is
# actually in use, so I know where to spend my time. Public stats and details
# on what is collected : stats.yambms.org
yambms_update_service: 'true' # Set to false to disable update checks
yambms_telemetry_service: 'true' # Set to false to disable the sending of telemetry data
# +--------------------------------------+
# | Shunt Settings |
# +--------------------------------------+
shunt_update_interval: '3s' # frequency at which Shunt data is refreshed
@@ -220,33 +230,6 @@ packages:
# | >>> Uncomment your interfaces and options
# +------------------------------------------------------------------------------+
# UART 1 (uart_id: uart_esp_1)
- path: 'packages/board/board_options_itf_uart_esp_1.yaml'
# UART 2 (uart_id: uart_esp_2)
# - path: 'packages/board/board_options_itf_uart_esp_2.yaml'
# UART 3 (uart_id: uart_esp_3)
# - path: 'packages/board/board_options_itf_uart_esp_3.yaml'
# UART flow control
# - path: 'packages/board/board_options_itf_uart_flow_control.yaml'
# vars:
# uart_id: 'uart_esp_1'
# uart_flow_control_pin: ${talk_pin}
# CAN transceiver - ESP32_CAN (TJA105x, SN65HVD230, M5Stack CAN base/unit)
- path: 'packages/board/board_options_itf_canbus_esp32_can.yaml'
vars:
# to bms = canbus_bms_1
# to inverter = canbus_inverter_1
canbus_node_id: 'canbus_inverter_1'
# CAN transceiver - MCP2515
# - path: 'packages/board/board_options_itf_canbus_mcp2515.yaml'
# vars:
# # to bms = canbus_bms_1
# # to inverter = canbus_inverter_1
# canbus_node_id: 'canbus_inverter_1'
# PSRAM octal 80Mhz
# - path: 'packages/board/board_options_PSRAM_octal_80Mhz.yaml'
@@ -321,12 +304,14 @@ packages:
vars:
canbus_id: '1' # must be a number
canbus_name: 'CANBUS 1'
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
canbus_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
# CAN frames sending will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305) before the end of the `canbus_link_timer` (5s by default).
canbus_link_timer_enabled: 'true' # Set it to 'false' if your inverter/charger is not sending ACK (can_id 0x305) every `1s` as specified by the protocol
canbus_link_timer: '5s'
canbus_extended_ack: 'false' # Set to 'true' for enable extended 29-bit IDs (required for Schneider XW Pro)
canbus_link_timer: '10s' # min 6s with Deye
# CAN setup
canbus_platform: 'esp32_can' # esp32_can / mcp2515
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
canbus_bitrate: '500kbps' # Default : 500kbps
@@ -334,14 +319,18 @@ packages:
# | >>> RS485 bus to Inverter
# +------------------------------------------------------------------------------+
# - path: 'packages/yambms/yambms_rs485_pylon.yaml' # yambms_rs485_pylon_web_server.yaml
# - path: 'packages/yambms/yambms_rs485.yaml'
# # - path: 'packages/yambms/yambms_rs485_web_server.yaml'
# vars:
# rs485_id: '1' # Must be a number
# rs485_id: '1' # Must be a number
# rs485_name: 'RS485 1'
# rs485_uart_id: 'uart_esp_3' # UART interface to which your inverter is connected
# rs485_uart_baud_rate: '9600'
# rs485_protocol: 'pylon' # pylon / voltronic
# rs485_update_timeout: '10s'
# rs485_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
# # UART setup
# rs485_uart_id: 'uart_esp_3' # UART interface to which your inverter is connected
# rs485_uart_baud_rate: '9600' # Default : 9600 / Epever : 115200
# +------------------------------------------------------------------------------+
+24 -36
View File
@@ -1,5 +1,5 @@
# Updated : 2026.08.11
# Version : 1.8.0
# Updated : 2026.11.05
# Version : 1.8.1
# GitHub : https://github.com/Sleeper85/esphome-yambms
# YamBMS ( Yet another multi-BMS Merging Solution )
@@ -132,6 +132,16 @@ substitutions:
{ 60.0, 0.00 }
}
# +--------------------------------------+
# | YamBMS services |
# +--------------------------------------+
# Update service : checks GitHub for a newer YamBMS version.
# Telemetry service : sends anonymous data about your setup (BMS model, board,
# inverter protocol, YamBMS version). It is what tells me which hardware is
# actually in use, so I know where to spend my time. Public stats and details
# on what is collected : stats.yambms.org
yambms_update_service: 'true' # Set to false to disable update checks
yambms_telemetry_service: 'true' # Set to false to disable the sending of telemetry data
# +--------------------------------------+
# | Shunt Settings |
# +--------------------------------------+
shunt_update_interval: '3s' # frequency at which Shunt data is refreshed
@@ -220,33 +230,6 @@ packages:
# | >>> Uncomment your interfaces and options
# +------------------------------------------------------------------------------+
# UART 1 (uart_id: uart_esp_1)
- path: 'packages/board/board_options_itf_uart_esp_1.yaml'
# UART 2 (uart_id: uart_esp_2)
# - path: 'packages/board/board_options_itf_uart_esp_2.yaml'
# UART 3 (uart_id: uart_esp_3)
# - path: 'packages/board/board_options_itf_uart_esp_3.yaml'
# UART flow control
# - path: 'packages/board/board_options_itf_uart_flow_control.yaml'
# vars:
# uart_id: 'uart_esp_1'
# uart_flow_control_pin: ${talk_pin}
# CAN transceiver - ESP32_CAN (TJA105x, SN65HVD230, M5Stack CAN base/unit)
- path: 'packages/board/board_options_itf_canbus_esp32_can.yaml'
vars:
# to bms = canbus_bms_1
# to inverter = canbus_inverter_1
canbus_node_id: 'canbus_inverter_1'
# CAN transceiver - MCP2515
# - path: 'packages/board/board_options_itf_canbus_mcp2515.yaml'
# vars:
# # to bms = canbus_bms_1
# # to inverter = canbus_inverter_1
# canbus_node_id: 'canbus_inverter_1'
# PSRAM octal 80Mhz
# - path: 'packages/board/board_options_PSRAM_octal_80Mhz.yaml'
@@ -330,12 +313,14 @@ packages:
vars:
canbus_id: '1' # must be a number
canbus_name: 'CANBUS 1'
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
canbus_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
# CAN frames sending will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305) before the end of the `canbus_link_timer` (5s by default).
canbus_link_timer_enabled: 'true' # Set it to 'false' if your inverter/charger is not sending ACK (can_id 0x305) every `1s` as specified by the protocol
canbus_link_timer: '5s'
canbus_extended_ack: 'false' # Set to 'true' for enable extended 29-bit IDs (required for Schneider XW Pro)
canbus_link_timer: '10s' # min 6s with Deye
# CAN setup
canbus_platform: 'esp32_can' # esp32_can / mcp2515
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
canbus_bitrate: '500kbps' # Default : 500kbps
@@ -343,14 +328,17 @@ packages:
# | >>> RS485 bus to Inverter
# +------------------------------------------------------------------------------+
# - path: 'packages/yambms/yambms_rs485_pylon.yaml' # yambms_rs485_pylon_web_server.yaml
# - path: 'packages/yambms/yambms_rs485.yaml'
# # - path: 'packages/yambms/yambms_rs485_web_server.yaml'
# vars:
# rs485_id: '1' # Must be a number
# rs485_id: '1' # Must be a number
# rs485_name: 'RS485 1'
# rs485_uart_id: 'uart_esp_3' # UART interface to which your inverter is connected
# rs485_uart_baud_rate: '9600'
# rs485_protocol: 'pylon' # pylon / voltronic
# rs485_update_timeout: '10s'
# rs485_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
# # UART setup
# rs485_uart_id: 'uart_esp_3' # UART interface to which your inverter is connected
# rs485_uart_baud_rate: '9600' # Default : 9600 / Epever : 115200
+25 -42
View File
@@ -1,5 +1,5 @@
# Updated : 2026.08.11
# Version : 1.8.0
# Updated : 2026.11.05
# Version : 1.8.1
# GitHub : https://github.com/Sleeper85/esphome-yambms
# YamBMS ( Yet another multi-BMS Merging Solution )
@@ -132,6 +132,16 @@ substitutions:
{ 60.0, 0.00 }
}
# +--------------------------------------+
# | YamBMS services |
# +--------------------------------------+
# Update service : checks GitHub for a newer YamBMS version.
# Telemetry service : sends anonymous data about your setup (BMS model, board,
# inverter protocol, YamBMS version). It is what tells me which hardware is
# actually in use, so I know where to spend my time. Public stats and details
# on what is collected : stats.yambms.org
yambms_update_service: 'true' # Set to false to disable update checks
yambms_telemetry_service: 'true' # Set to false to disable the sending of telemetry data
# +--------------------------------------+
# | Shunt Settings |
# +--------------------------------------+
shunt_update_interval: '3s' # frequency at which Shunt data is refreshed
@@ -220,33 +230,6 @@ packages:
# | >>> Uncomment your interfaces and options
# +------------------------------------------------------------------------------+
# UART 1 (uart_id: uart_esp_1)
- path: 'packages/board/board_options_itf_uart_esp_1.yaml'
# UART 2 (uart_id: uart_esp_2)
# - path: 'packages/board/board_options_itf_uart_esp_2.yaml'
# UART 3 (uart_id: uart_esp_3)
# - path: 'packages/board/board_options_itf_uart_esp_3.yaml'
# UART flow control
# - path: 'packages/board/board_options_itf_uart_flow_control.yaml'
# vars:
# uart_id: 'uart_esp_1'
# uart_flow_control_pin: ${talk_pin}
# CAN transceiver - ESP32_CAN (TJA105x, SN65HVD230, M5Stack CAN base/unit)
- path: 'packages/board/board_options_itf_canbus_esp32_can.yaml'
vars:
# to bms = canbus_bms_1
# to inverter = canbus_inverter_1
canbus_node_id: 'canbus_inverter_1'
# CAN transceiver - MCP2515
# - path: 'packages/board/board_options_itf_canbus_mcp2515.yaml'
# vars:
# # to bms = canbus_bms_1
# # to inverter = canbus_inverter_1
# canbus_node_id: 'canbus_inverter_1'
# PSRAM octal 80Mhz
# - path: 'packages/board/board_options_PSRAM_octal_80Mhz.yaml'
@@ -274,17 +257,12 @@ packages:
# 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:
# sniffer_protocol: 'JK02_32S'
# sniffer_uart_id: 'uart_esp_1'
# sniffer_talk_pin: ${talk_pin} # can be replaced by the GPIO number
# RS485 Sniffer
- path: 'packages/bms/bms_combine_JK_RS485_Modbus_sniffer.yaml'
vars:
sniffer_protocol: 'JK02_32S'
sniffer_uart_id: 'uart_esp_1'
# uart_flow_control_pin: ${talk_pin} # WS-RS485-CAN and other RS485 boards with a flow_control_pin
# BMS 1
- path: 'packages/bms/bms_combine_JK_RS485_Modbus_JK-B_standard.yaml'
vars:
@@ -360,12 +338,14 @@ packages:
vars:
canbus_id: '1' # must be a number
canbus_name: 'CANBUS 1'
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
canbus_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
# CAN frames sending will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305) before the end of the `canbus_link_timer` (5s by default).
canbus_link_timer_enabled: 'true' # Set it to 'false' if your inverter/charger is not sending ACK (can_id 0x305) every `1s` as specified by the protocol
canbus_link_timer: '5s'
canbus_extended_ack: 'false' # Set to 'true' for enable extended 29-bit IDs (required for Schneider XW Pro)
canbus_link_timer: '10s' # min 6s with Deye
# CAN setup
canbus_platform: 'esp32_can' # esp32_can / mcp2515
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
canbus_bitrate: '500kbps' # Default : 500kbps
@@ -373,14 +353,17 @@ packages:
# | >>> RS485 bus to Inverter
# +------------------------------------------------------------------------------+
# - path: 'packages/yambms/yambms_rs485_pylon.yaml' # yambms_rs485_pylon_web_server.yaml
# - path: 'packages/yambms/yambms_rs485.yaml'
# # - path: 'packages/yambms/yambms_rs485_web_server.yaml'
# vars:
# rs485_id: '1' # Must be a number
# rs485_id: '1' # Must be a number
# rs485_name: 'RS485 1'
# rs485_uart_id: 'uart_esp_3' # UART interface to which your inverter is connected
# rs485_uart_baud_rate: '9600'
# rs485_protocol: 'pylon' # pylon / voltronic
# rs485_update_timeout: '10s'
# rs485_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
# # UART setup
# rs485_uart_id: 'uart_esp_3' # UART interface to which your inverter is connected
# rs485_uart_baud_rate: '9600' # Default : 9600 / Epever : 115200
+25 -42
View File
@@ -1,5 +1,5 @@
# Updated : 2026.08.11
# Version : 1.8.0
# Updated : 2026.11.05
# Version : 1.8.1
# GitHub : https://github.com/Sleeper85/esphome-yambms
# YamBMS ( Yet another multi-BMS Merging Solution )
@@ -132,6 +132,16 @@ substitutions:
{ 60.0, 0.00 }
}
# +--------------------------------------+
# | YamBMS services |
# +--------------------------------------+
# Update service : checks GitHub for a newer YamBMS version.
# Telemetry service : sends anonymous data about your setup (BMS model, board,
# inverter protocol, YamBMS version). It is what tells me which hardware is
# actually in use, so I know where to spend my time. Public stats and details
# on what is collected : stats.yambms.org
yambms_update_service: 'true' # Set to false to disable update checks
yambms_telemetry_service: 'true' # Set to false to disable the sending of telemetry data
# +--------------------------------------+
# | Shunt Settings |
# +--------------------------------------+
shunt_update_interval: '3s' # frequency at which Shunt data is refreshed
@@ -220,33 +230,6 @@ packages:
# | >>> Uncomment your interfaces and options
# +------------------------------------------------------------------------------+
# UART 1 (uart_id: uart_esp_1)
- path: 'packages/board/board_options_itf_uart_esp_1.yaml'
# UART 2 (uart_id: uart_esp_2)
# - path: 'packages/board/board_options_itf_uart_esp_2.yaml'
# UART 3 (uart_id: uart_esp_3)
# - path: 'packages/board/board_options_itf_uart_esp_3.yaml'
# UART flow control
# - path: 'packages/board/board_options_itf_uart_flow_control.yaml'
# vars:
# uart_id: 'uart_esp_1'
# uart_flow_control_pin: ${talk_pin}
# CAN transceiver - ESP32_CAN (TJA105x, SN65HVD230, M5Stack CAN base/unit)
- path: 'packages/board/board_options_itf_canbus_esp32_can.yaml'
vars:
# to bms = canbus_bms_1
# to inverter = canbus_inverter_1
canbus_node_id: 'canbus_inverter_1'
# CAN transceiver - MCP2515
# - path: 'packages/board/board_options_itf_canbus_mcp2515.yaml'
# vars:
# # to bms = canbus_bms_1
# # to inverter = canbus_inverter_1
# canbus_node_id: 'canbus_inverter_1'
# PSRAM octal 80Mhz
# - path: 'packages/board/board_options_PSRAM_octal_80Mhz.yaml'
@@ -274,17 +257,12 @@ packages:
# 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:
# sniffer_protocol: 'JK02_32S'
# sniffer_uart_id: 'uart_esp_1'
# sniffer_talk_pin: ${talk_pin} # can be replaced by the GPIO number
# RS485 Sniffer
- path: 'packages/bms/bms_combine_JK_RS485_Modbus_sniffer.yaml'
vars:
sniffer_protocol: 'JK02_32S'
sniffer_uart_id: 'uart_esp_1'
# uart_flow_control_pin: ${talk_pin} # WS-RS485-CAN and other RS485 boards with a flow_control_pin
# BMS 1
- path: 'packages/bms/bms_combine_JK_RS485_Modbus_bms_standard.yaml'
vars:
@@ -360,12 +338,14 @@ packages:
vars:
canbus_id: '1' # must be a number
canbus_name: 'CANBUS 1'
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
canbus_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
# CAN frames sending will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305) before the end of the `canbus_link_timer` (5s by default).
canbus_link_timer_enabled: 'true' # Set it to 'false' if your inverter/charger is not sending ACK (can_id 0x305) every `1s` as specified by the protocol
canbus_link_timer: '5s'
canbus_extended_ack: 'false' # Set to 'true' for enable extended 29-bit IDs (required for Schneider XW Pro)
canbus_link_timer: '10s' # min 6s with Deye
# CAN setup
canbus_platform: 'esp32_can' # esp32_can / mcp2515
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
canbus_bitrate: '500kbps' # Default : 500kbps
@@ -373,14 +353,17 @@ packages:
# | >>> RS485 bus to Inverter
# +------------------------------------------------------------------------------+
# - path: 'packages/yambms/yambms_rs485_pylon.yaml' # yambms_rs485_pylon_web_server.yaml
# - path: 'packages/yambms/yambms_rs485.yaml'
# # - path: 'packages/yambms/yambms_rs485_web_server.yaml'
# vars:
# rs485_id: '1' # Must be a number
# rs485_id: '1' # Must be a number
# rs485_name: 'RS485 1'
# rs485_uart_id: 'uart_esp_3' # UART interface to which your inverter is connected
# rs485_uart_baud_rate: '9600'
# rs485_protocol: 'pylon' # pylon / voltronic
# rs485_update_timeout: '10s'
# rs485_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
# # UART setup
# rs485_uart_id: 'uart_esp_3' # UART interface to which your inverter is connected
# rs485_uart_baud_rate: '9600' # Default : 9600 / Epever : 115200
+24 -36
View File
@@ -1,5 +1,5 @@
# Updated : 2026.08.11
# Version : 1.8.0
# Updated : 2026.11.05
# Version : 1.8.1
# GitHub : https://github.com/Sleeper85/esphome-yambms
# YamBMS ( Yet another multi-BMS Merging Solution )
@@ -132,6 +132,16 @@ substitutions:
{ 60.0, 0.00 }
}
# +--------------------------------------+
# | YamBMS services |
# +--------------------------------------+
# Update service : checks GitHub for a newer YamBMS version.
# Telemetry service : sends anonymous data about your setup (BMS model, board,
# inverter protocol, YamBMS version). It is what tells me which hardware is
# actually in use, so I know where to spend my time. Public stats and details
# on what is collected : stats.yambms.org
yambms_update_service: 'true' # Set to false to disable update checks
yambms_telemetry_service: 'true' # Set to false to disable the sending of telemetry data
# +--------------------------------------+
# | Shunt Settings |
# +--------------------------------------+
shunt_update_interval: '3s' # frequency at which Shunt data is refreshed
@@ -220,33 +230,6 @@ packages:
# | >>> Uncomment your interfaces and options
# +------------------------------------------------------------------------------+
# UART 1 (uart_id: uart_esp_1)
# - path: 'packages/board/board_options_itf_uart_esp_1.yaml'
# UART 2 (uart_id: uart_esp_2)
# - path: 'packages/board/board_options_itf_uart_esp_2.yaml'
# UART 3 (uart_id: uart_esp_3)
# - path: 'packages/board/board_options_itf_uart_esp_3.yaml'
# UART flow control
# - path: 'packages/board/board_options_itf_uart_flow_control.yaml'
# vars:
# uart_id: 'uart_esp_1'
# uart_flow_control_pin: ${talk_pin}
# CAN transceiver - ESP32_CAN (TJA105x, SN65HVD230, M5Stack CAN base/unit)
- path: 'packages/board/board_options_itf_canbus_esp32_can.yaml'
vars:
# to bms = canbus_bms_1
# to inverter = canbus_inverter_1
canbus_node_id: 'canbus_inverter_1'
# CAN transceiver - MCP2515
# - path: 'packages/board/board_options_itf_canbus_mcp2515.yaml'
# vars:
# # to bms = canbus_bms_1
# # to inverter = canbus_inverter_1
# canbus_node_id: 'canbus_inverter_1'
# PSRAM octal 80Mhz
# - path: 'packages/board/board_options_PSRAM_octal_80Mhz.yaml'
@@ -315,12 +298,14 @@ packages:
vars:
canbus_id: '1' # must be a number
canbus_name: 'CANBUS 1'
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
canbus_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
# CAN frames sending will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305) before the end of the `canbus_link_timer` (5s by default).
canbus_link_timer_enabled: 'true' # Set it to 'false' if your inverter/charger is not sending ACK (can_id 0x305) every `1s` as specified by the protocol
canbus_link_timer: '5s'
canbus_extended_ack: 'false' # Set to 'true' for enable extended 29-bit IDs (required for Schneider XW Pro)
canbus_link_timer: '10s' # min 6s with Deye
# CAN setup
canbus_platform: 'esp32_can' # esp32_can / mcp2515
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
canbus_bitrate: '500kbps' # Default : 500kbps
@@ -328,14 +313,17 @@ packages:
# | >>> RS485 bus to Inverter
# +------------------------------------------------------------------------------+
# - path: 'packages/yambms/yambms_rs485_pylon.yaml' # yambms_rs485_pylon_web_server.yaml
# - path: 'packages/yambms/yambms_rs485.yaml'
# # - path: 'packages/yambms/yambms_rs485_web_server.yaml'
# vars:
# rs485_id: '1' # Must be a number
# rs485_id: '1' # Must be a number
# rs485_name: 'RS485 1'
# rs485_uart_id: 'uart_esp_3' # UART interface to which your inverter is connected
# rs485_uart_baud_rate: '9600'
# rs485_protocol: 'pylon' # pylon / voltronic
# rs485_update_timeout: '10s'
# rs485_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
# # UART setup
# rs485_uart_id: 'uart_esp_3' # UART interface to which your inverter is connected
# rs485_uart_baud_rate: '9600' # Default : 9600 / Epever : 115200
+24 -36
View File
@@ -1,5 +1,5 @@
# Updated : 2026.08.11
# Version : 1.8.0
# Updated : 2026.11.05
# Version : 1.8.1
# GitHub : https://github.com/Sleeper85/esphome-yambms
# YamBMS ( Yet another multi-BMS Merging Solution )
@@ -132,6 +132,16 @@ substitutions:
{ 60.0, 0.00 }
}
# +--------------------------------------+
# | YamBMS services |
# +--------------------------------------+
# Update service : checks GitHub for a newer YamBMS version.
# Telemetry service : sends anonymous data about your setup (BMS model, board,
# inverter protocol, YamBMS version). It is what tells me which hardware is
# actually in use, so I know where to spend my time. Public stats and details
# on what is collected : stats.yambms.org
yambms_update_service: 'true' # Set to false to disable update checks
yambms_telemetry_service: 'true' # Set to false to disable the sending of telemetry data
# +--------------------------------------+
# | Shunt Settings |
# +--------------------------------------+
shunt_update_interval: '3s' # frequency at which Shunt data is refreshed
@@ -220,33 +230,6 @@ packages:
# | >>> Uncomment your interfaces and options
# +------------------------------------------------------------------------------+
# UART 1 (uart_id: uart_esp_1)
- path: 'packages/board/board_options_itf_uart_esp_1.yaml'
# UART 2 (uart_id: uart_esp_2)
- path: 'packages/board/board_options_itf_uart_esp_2.yaml'
# UART 3 (uart_id: uart_esp_3)
# - path: 'packages/board/board_options_itf_uart_esp_3.yaml'
# UART flow control
# - path: 'packages/board/board_options_itf_uart_flow_control.yaml'
# vars:
# uart_id: 'uart_esp_1'
# uart_flow_control_pin: ${talk_pin}
# CAN transceiver - ESP32_CAN (TJA105x, SN65HVD230, M5Stack CAN base/unit)
- path: 'packages/board/board_options_itf_canbus_esp32_can.yaml'
vars:
# to bms = canbus_bms_1
# to inverter = canbus_inverter_1
canbus_node_id: 'canbus_inverter_1'
# CAN transceiver - MCP2515
# - path: 'packages/board/board_options_itf_canbus_mcp2515.yaml'
# vars:
# # to bms = canbus_bms_1
# # to inverter = canbus_inverter_1
# canbus_node_id: 'canbus_inverter_1'
# PSRAM octal 80Mhz
# - path: 'packages/board/board_options_PSRAM_octal_80Mhz.yaml'
@@ -313,12 +296,14 @@ packages:
vars:
canbus_id: '1' # must be a number
canbus_name: 'CANBUS 1'
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
canbus_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
# CAN frames sending will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305) before the end of the `canbus_link_timer` (5s by default).
canbus_link_timer_enabled: 'true' # Set it to 'false' if your inverter/charger is not sending ACK (can_id 0x305) every `1s` as specified by the protocol
canbus_link_timer: '5s'
canbus_extended_ack: 'false' # Set to 'true' for enable extended 29-bit IDs (required for Schneider XW Pro)
canbus_link_timer: '10s' # min 6s with Deye
# CAN setup
canbus_platform: 'esp32_can' # esp32_can / mcp2515
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
canbus_bitrate: '500kbps' # Default : 500kbps
@@ -326,14 +311,17 @@ packages:
# | >>> RS485 bus to Inverter
# +------------------------------------------------------------------------------+
# - path: 'packages/yambms/yambms_rs485_pylon.yaml' # yambms_rs485_pylon_web_server.yaml
# - path: 'packages/yambms/yambms_rs485.yaml'
# # - path: 'packages/yambms/yambms_rs485_web_server.yaml'
# vars:
# rs485_id: '1' # Must be a number
# rs485_id: '1' # Must be a number
# rs485_name: 'RS485 1'
# rs485_uart_id: 'uart_esp_3' # UART interface to which your inverter is connected
# rs485_uart_baud_rate: '9600'
# rs485_protocol: 'pylon' # pylon / voltronic
# rs485_update_timeout: '10s'
# rs485_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
# # UART setup
# rs485_uart_id: 'uart_esp_3' # UART interface to which your inverter is connected
# rs485_uart_baud_rate: '9600' # Default : 9600 / Epever : 115200
+24 -36
View File
@@ -1,5 +1,5 @@
# Updated : 2026.08.11
# Version : 1.8.0
# Updated : 2026.11.05
# Version : 1.8.1
# GitHub : https://github.com/Sleeper85/esphome-yambms
# YamBMS ( Yet another multi-BMS Merging Solution )
@@ -132,6 +132,16 @@ substitutions:
{ 60.0, 0.00 }
}
# +--------------------------------------+
# | YamBMS services |
# +--------------------------------------+
# Update service : checks GitHub for a newer YamBMS version.
# Telemetry service : sends anonymous data about your setup (BMS model, board,
# inverter protocol, YamBMS version). It is what tells me which hardware is
# actually in use, so I know where to spend my time. Public stats and details
# on what is collected : stats.yambms.org
yambms_update_service: 'true' # Set to false to disable update checks
yambms_telemetry_service: 'true' # Set to false to disable the sending of telemetry data
# +--------------------------------------+
# | Shunt Settings |
# +--------------------------------------+
shunt_update_interval: '3s' # frequency at which Shunt data is refreshed
@@ -220,33 +230,6 @@ packages:
# | >>> Uncomment your interfaces and options
# +------------------------------------------------------------------------------+
# UART 1 (uart_id: uart_esp_1)
- path: 'packages/board/board_options_itf_uart_esp_1.yaml'
# UART 2 (uart_id: uart_esp_2)
# - path: 'packages/board/board_options_itf_uart_esp_2.yaml'
# UART 3 (uart_id: uart_esp_3)
# - path: 'packages/board/board_options_itf_uart_esp_3.yaml'
# UART flow control
# - path: 'packages/board/board_options_itf_uart_flow_control.yaml'
# vars:
# uart_id: 'uart_esp_1'
# uart_flow_control_pin: ${talk_pin}
# CAN transceiver - ESP32_CAN (TJA105x, SN65HVD230, M5Stack CAN base/unit)
- path: 'packages/board/board_options_itf_canbus_esp32_can.yaml'
vars:
# to bms = canbus_bms_1
# to inverter = canbus_inverter_1
canbus_node_id: 'canbus_inverter_1'
# CAN transceiver - MCP2515
# - path: 'packages/board/board_options_itf_canbus_mcp2515.yaml'
# vars:
# # to bms = canbus_bms_1
# # to inverter = canbus_inverter_1
# canbus_node_id: 'canbus_inverter_1'
# PSRAM octal 80Mhz
# - path: 'packages/board/board_options_PSRAM_octal_80Mhz.yaml'
@@ -310,12 +293,14 @@ packages:
vars:
canbus_id: '1' # must be a number
canbus_name: 'CANBUS 1'
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
canbus_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
# CAN frames sending will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305) before the end of the `canbus_link_timer` (5s by default).
canbus_link_timer_enabled: 'true' # Set it to 'false' if your inverter/charger is not sending ACK (can_id 0x305) every `1s` as specified by the protocol
canbus_link_timer: '5s'
canbus_extended_ack: 'false' # Set to 'true' for enable extended 29-bit IDs (required for Schneider XW Pro)
canbus_link_timer: '10s' # min 6s with Deye
# CAN setup
canbus_platform: 'esp32_can' # esp32_can / mcp2515
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
canbus_bitrate: '500kbps' # Default : 500kbps
@@ -323,14 +308,17 @@ packages:
# | >>> RS485 bus to Inverter
# +------------------------------------------------------------------------------+
# - path: 'packages/yambms/yambms_rs485_pylon.yaml' # yambms_rs485_pylon_web_server.yaml
# - path: 'packages/yambms/yambms_rs485.yaml'
# # - path: 'packages/yambms/yambms_rs485_web_server.yaml'
# vars:
# rs485_id: '1' # Must be a number
# rs485_id: '1' # Must be a number
# rs485_name: 'RS485 1'
# rs485_uart_id: 'uart_esp_3' # UART interface to which your inverter is connected
# rs485_uart_baud_rate: '9600'
# rs485_protocol: 'pylon' # pylon / voltronic
# rs485_update_timeout: '10s'
# rs485_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
# # UART setup
# rs485_uart_id: 'uart_esp_3' # UART interface to which your inverter is connected
# rs485_uart_baud_rate: '9600' # Default : 9600 / Epever : 115200
+24 -36
View File
@@ -1,5 +1,5 @@
# Updated : 2026.08.11
# Version : 1.8.0
# Updated : 2026.11.05
# Version : 1.8.1
# GitHub : https://github.com/Sleeper85/esphome-yambms
# YamBMS ( Yet another multi-BMS Merging Solution )
@@ -132,6 +132,16 @@ substitutions:
{ 60.0, 0.00 }
}
# +--------------------------------------+
# | YamBMS services |
# +--------------------------------------+
# Update service : checks GitHub for a newer YamBMS version.
# Telemetry service : sends anonymous data about your setup (BMS model, board,
# inverter protocol, YamBMS version). It is what tells me which hardware is
# actually in use, so I know where to spend my time. Public stats and details
# on what is collected : stats.yambms.org
yambms_update_service: 'true' # Set to false to disable update checks
yambms_telemetry_service: 'true' # Set to false to disable the sending of telemetry data
# +--------------------------------------+
# | Shunt Settings |
# +--------------------------------------+
shunt_update_interval: '3s' # frequency at which Shunt data is refreshed
@@ -220,33 +230,6 @@ packages:
# | >>> Uncomment your interfaces and options
# +------------------------------------------------------------------------------+
# UART 1 (uart_id: uart_esp_1)
- path: 'packages/board/board_options_itf_uart_esp_1.yaml'
# UART 2 (uart_id: uart_esp_2)
# - path: 'packages/board/board_options_itf_uart_esp_2.yaml'
# UART 3 (uart_id: uart_esp_3)
# - path: 'packages/board/board_options_itf_uart_esp_3.yaml'
# UART flow control
# - path: 'packages/board/board_options_itf_uart_flow_control.yaml'
# vars:
# uart_id: 'uart_esp_1'
# uart_flow_control_pin: ${talk_pin}
# CAN transceiver - ESP32_CAN (TJA105x, SN65HVD230, M5Stack CAN base/unit)
- path: 'packages/board/board_options_itf_canbus_esp32_can.yaml'
vars:
# to bms = canbus_bms_1
# to inverter = canbus_inverter_1
canbus_node_id: 'canbus_inverter_1'
# CAN transceiver - MCP2515
# - path: 'packages/board/board_options_itf_canbus_mcp2515.yaml'
# vars:
# # to bms = canbus_bms_1
# # to inverter = canbus_inverter_1
# canbus_node_id: 'canbus_inverter_1'
# PSRAM octal 80Mhz
# - path: 'packages/board/board_options_PSRAM_octal_80Mhz.yaml'
@@ -346,12 +329,14 @@ packages:
vars:
canbus_id: '1' # must be a number
canbus_name: 'CANBUS 1'
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
canbus_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
# CAN frames sending will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305) before the end of the `canbus_link_timer` (5s by default).
canbus_link_timer_enabled: 'true' # Set it to 'false' if your inverter/charger is not sending ACK (can_id 0x305) every `1s` as specified by the protocol
canbus_link_timer: '5s'
canbus_extended_ack: 'false' # Set to 'true' for enable extended 29-bit IDs (required for Schneider XW Pro)
canbus_link_timer: '10s' # min 6s with Deye
# CAN setup
canbus_platform: 'esp32_can' # esp32_can / mcp2515
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
canbus_bitrate: '500kbps' # Default : 500kbps
@@ -359,14 +344,17 @@ packages:
# | >>> RS485 bus to Inverter
# +------------------------------------------------------------------------------+
# - path: 'packages/yambms/yambms_rs485_pylon.yaml' # yambms_rs485_pylon_web_server.yaml
# - path: 'packages/yambms/yambms_rs485.yaml'
# # - path: 'packages/yambms/yambms_rs485_web_server.yaml'
# vars:
# rs485_id: '1' # Must be a number
# rs485_id: '1' # Must be a number
# rs485_name: 'RS485 1'
# rs485_uart_id: 'uart_esp_3' # UART interface to which your inverter is connected
# rs485_uart_baud_rate: '9600'
# rs485_protocol: 'pylon' # pylon / voltronic
# rs485_update_timeout: '10s'
# rs485_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
# # UART setup
# rs485_uart_id: 'uart_esp_3' # UART interface to which your inverter is connected
# rs485_uart_baud_rate: '9600' # Default : 9600 / Epever : 115200
@@ -1,5 +1,5 @@
# Updated : 2026.08.11
# Version : 1.8.0
# Updated : 2026.11.05
# Version : 1.8.1
# GitHub : https://github.com/Sleeper85/esphome-yambms
# YamBMS ( Yet another multi-BMS Merging Solution )
@@ -132,6 +132,16 @@ substitutions:
{ 60.0, 0.00 }
}
# +--------------------------------------+
# | YamBMS services |
# +--------------------------------------+
# Update service : checks GitHub for a newer YamBMS version.
# Telemetry service : sends anonymous data about your setup (BMS model, board,
# inverter protocol, YamBMS version). It is what tells me which hardware is
# actually in use, so I know where to spend my time. Public stats and details
# on what is collected : stats.yambms.org
yambms_update_service: 'true' # Set to false to disable update checks
yambms_telemetry_service: 'true' # Set to false to disable the sending of telemetry data
# +--------------------------------------+
# | Shunt Settings |
# +--------------------------------------+
shunt_update_interval: '3s' # frequency at which Shunt data is refreshed
@@ -220,33 +230,6 @@ packages:
# | >>> Uncomment your interfaces and options
# +------------------------------------------------------------------------------+
# UART 1 (uart_id: uart_esp_1)
- path: 'packages/board/board_options_itf_uart_esp_1.yaml'
# UART 2 (uart_id: uart_esp_2)
# - path: 'packages/board/board_options_itf_uart_esp_2.yaml'
# UART 3 (uart_id: uart_esp_3)
# - path: 'packages/board/board_options_itf_uart_esp_3.yaml'
# UART flow control
# - path: 'packages/board/board_options_itf_uart_flow_control.yaml'
# vars:
# uart_id: 'uart_esp_1'
# uart_flow_control_pin: ${talk_pin}
# CAN transceiver - ESP32_CAN (TJA105x, SN65HVD230, M5Stack CAN base/unit)
- path: 'packages/board/board_options_itf_canbus_esp32_can.yaml'
vars:
# to bms = canbus_bms_1
# to inverter = canbus_inverter_1
canbus_node_id: 'canbus_inverter_1'
# CAN transceiver - MCP2515
# - path: 'packages/board/board_options_itf_canbus_mcp2515.yaml'
# vars:
# # to bms = canbus_bms_1
# # to inverter = canbus_inverter_1
# canbus_node_id: 'canbus_inverter_1'
# PSRAM octal 80Mhz
# - path: 'packages/board/board_options_PSRAM_octal_80Mhz.yaml'
@@ -345,12 +328,14 @@ packages:
vars:
canbus_id: '1' # must be a number
canbus_name: 'CANBUS 1'
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
canbus_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
# CAN frames sending will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305) before the end of the `canbus_link_timer` (5s by default).
canbus_link_timer_enabled: 'true' # Set it to 'false' if your inverter/charger is not sending ACK (can_id 0x305) every `1s` as specified by the protocol
canbus_link_timer: '5s'
canbus_extended_ack: 'false' # Set to 'true' for enable extended 29-bit IDs (required for Schneider XW Pro)
canbus_link_timer: '10s' # min 6s with Deye
# CAN setup
canbus_platform: 'esp32_can' # esp32_can / mcp2515
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
canbus_bitrate: '500kbps' # Default : 500kbps
@@ -358,14 +343,17 @@ packages:
# | >>> RS485 bus to Inverter
# +------------------------------------------------------------------------------+
# - path: 'packages/yambms/yambms_rs485_pylon.yaml' # yambms_rs485_pylon_web_server.yaml
# - path: 'packages/yambms/yambms_rs485.yaml'
# # - path: 'packages/yambms/yambms_rs485_web_server.yaml'
# vars:
# rs485_id: '1' # Must be a number
# rs485_id: '1' # Must be a number
# rs485_name: 'RS485 1'
# rs485_uart_id: 'uart_esp_3' # UART interface to which your inverter is connected
# rs485_uart_baud_rate: '9600'
# rs485_protocol: 'pylon' # pylon / voltronic
# rs485_update_timeout: '10s'
# rs485_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
# # UART setup
# rs485_uart_id: 'uart_esp_3' # UART interface to which your inverter is connected
# rs485_uart_baud_rate: '9600' # Default : 9600 / Epever : 115200
+24 -36
View File
@@ -1,5 +1,5 @@
# Updated : 2026.08.11
# Version : 1.8.0
# Updated : 2026.11.05
# Version : 1.8.1
# GitHub : https://github.com/Sleeper85/esphome-yambms
# YamBMS ( Yet another multi-BMS Merging Solution )
@@ -132,6 +132,16 @@ substitutions:
{ 60.0, 0.00 }
}
# +--------------------------------------+
# | YamBMS services |
# +--------------------------------------+
# Update service : checks GitHub for a newer YamBMS version.
# Telemetry service : sends anonymous data about your setup (BMS model, board,
# inverter protocol, YamBMS version). It is what tells me which hardware is
# actually in use, so I know where to spend my time. Public stats and details
# on what is collected : stats.yambms.org
yambms_update_service: 'true' # Set to false to disable update checks
yambms_telemetry_service: 'true' # Set to false to disable the sending of telemetry data
# +--------------------------------------+
# | Shunt Settings |
# +--------------------------------------+
shunt_update_interval: '3s' # frequency at which Shunt data is refreshed
@@ -220,33 +230,6 @@ packages:
# | >>> Uncomment your interfaces and options
# +------------------------------------------------------------------------------+
# UART 1 (uart_id: uart_esp_1)
- path: 'packages/board/board_options_itf_uart_esp_1.yaml'
# UART 2 (uart_id: uart_esp_2)
# - path: 'packages/board/board_options_itf_uart_esp_2.yaml'
# UART 3 (uart_id: uart_esp_3)
# - path: 'packages/board/board_options_itf_uart_esp_3.yaml'
# UART flow control
# - path: 'packages/board/board_options_itf_uart_flow_control.yaml'
# vars:
# uart_id: 'uart_esp_1'
# uart_flow_control_pin: ${talk_pin}
# CAN transceiver - ESP32_CAN (TJA105x, SN65HVD230, M5Stack CAN base/unit)
- path: 'packages/board/board_options_itf_canbus_esp32_can.yaml'
vars:
# to bms = canbus_bms_1
# to inverter = canbus_inverter_1
canbus_node_id: 'canbus_inverter_1'
# CAN transceiver - MCP2515
# - path: 'packages/board/board_options_itf_canbus_mcp2515.yaml'
# vars:
# # to bms = canbus_bms_1
# # to inverter = canbus_inverter_1
# canbus_node_id: 'canbus_inverter_1'
# PSRAM octal 80Mhz
# - path: 'packages/board/board_options_PSRAM_octal_80Mhz.yaml'
@@ -328,12 +311,14 @@ packages:
vars:
canbus_id: '1' # must be a number
canbus_name: 'CANBUS 1'
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
canbus_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
# CAN frames sending will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305) before the end of the `canbus_link_timer` (5s by default).
canbus_link_timer_enabled: 'true' # Set it to 'false' if your inverter/charger is not sending ACK (can_id 0x305) every `1s` as specified by the protocol
canbus_link_timer: '5s'
canbus_extended_ack: 'false' # Set to 'true' for enable extended 29-bit IDs (required for Schneider XW Pro)
canbus_link_timer: '10s' # min 6s with Deye
# CAN setup
canbus_platform: 'esp32_can' # esp32_can / mcp2515
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
canbus_bitrate: '500kbps' # Default : 500kbps
@@ -341,14 +326,17 @@ packages:
# | >>> RS485 bus to Inverter
# +------------------------------------------------------------------------------+
# - path: 'packages/yambms/yambms_rs485_pylon.yaml' # yambms_rs485_pylon_web_server.yaml
# - path: 'packages/yambms/yambms_rs485.yaml'
# # - path: 'packages/yambms/yambms_rs485_web_server.yaml'
# vars:
# rs485_id: '1' # Must be a number
# rs485_id: '1' # Must be a number
# rs485_name: 'RS485 1'
# rs485_uart_id: 'uart_esp_3' # UART interface to which your inverter is connected
# rs485_uart_baud_rate: '9600'
# rs485_protocol: 'pylon' # pylon / voltronic
# rs485_update_timeout: '10s'
# rs485_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
# # UART setup
# rs485_uart_id: 'uart_esp_3' # UART interface to which your inverter is connected
# rs485_uart_baud_rate: '9600' # Default : 9600 / Epever : 115200
+24 -36
View File
@@ -1,5 +1,5 @@
# Updated : 2026.08.11
# Version : 1.8.0
# Updated : 2026.11.05
# Version : 1.8.1
# GitHub : https://github.com/Sleeper85/esphome-yambms
# YamBMS ( Yet another multi-BMS Merging Solution )
@@ -132,6 +132,16 @@ substitutions:
{ 60.0, 0.00 }
}
# +--------------------------------------+
# | YamBMS services |
# +--------------------------------------+
# Update service : checks GitHub for a newer YamBMS version.
# Telemetry service : sends anonymous data about your setup (BMS model, board,
# inverter protocol, YamBMS version). It is what tells me which hardware is
# actually in use, so I know where to spend my time. Public stats and details
# on what is collected : stats.yambms.org
yambms_update_service: 'true' # Set to false to disable update checks
yambms_telemetry_service: 'true' # Set to false to disable the sending of telemetry data
# +--------------------------------------+
# | Shunt Settings |
# +--------------------------------------+
shunt_update_interval: '3s' # frequency at which Shunt data is refreshed
@@ -220,33 +230,6 @@ packages:
# | >>> Uncomment your interfaces and options
# +------------------------------------------------------------------------------+
# UART 1 (uart_id: uart_esp_1)
# - path: 'packages/board/board_options_itf_uart_esp_1.yaml'
# UART 2 (uart_id: uart_esp_2)
# - path: 'packages/board/board_options_itf_uart_esp_2.yaml'
# UART 3 (uart_id: uart_esp_3)
# - path: 'packages/board/board_options_itf_uart_esp_3.yaml'
# UART flow control
# - path: 'packages/board/board_options_itf_uart_flow_control.yaml'
# vars:
# uart_id: 'uart_esp_1'
# uart_flow_control_pin: ${talk_pin}
# CAN transceiver - ESP32_CAN (TJA105x, SN65HVD230, M5Stack CAN base/unit)
- path: 'packages/board/board_options_itf_canbus_esp32_can.yaml'
vars:
# to bms = canbus_bms_1
# to inverter = canbus_inverter_1
canbus_node_id: 'canbus_inverter_1'
# CAN transceiver - MCP2515
# - path: 'packages/board/board_options_itf_canbus_mcp2515.yaml'
# vars:
# # to bms = canbus_bms_1
# # to inverter = canbus_inverter_1
# canbus_node_id: 'canbus_inverter_1'
# PSRAM octal 80Mhz
# - path: 'packages/board/board_options_PSRAM_octal_80Mhz.yaml'
@@ -360,12 +343,14 @@ packages:
vars:
canbus_id: '1' # must be a number
canbus_name: 'CANBUS 1'
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
canbus_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
# CAN frames sending will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305) before the end of the `canbus_link_timer` (5s by default).
canbus_link_timer_enabled: 'true' # Set it to 'false' if your inverter/charger is not sending ACK (can_id 0x305) every `1s` as specified by the protocol
canbus_link_timer: '5s'
canbus_extended_ack: 'false' # Set to 'true' for enable extended 29-bit IDs (required for Schneider XW Pro)
canbus_link_timer: '10s' # min 6s with Deye
# CAN setup
canbus_platform: 'esp32_can' # esp32_can / mcp2515
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
canbus_bitrate: '500kbps' # Default : 500kbps
@@ -373,14 +358,17 @@ packages:
# | >>> RS485 bus to Inverter
# +------------------------------------------------------------------------------+
# - path: 'packages/yambms/yambms_rs485_pylon.yaml' # yambms_rs485_pylon_web_server.yaml
# - path: 'packages/yambms/yambms_rs485.yaml'
# # - path: 'packages/yambms/yambms_rs485_web_server.yaml'
# vars:
# rs485_id: '1' # Must be a number
# rs485_id: '1' # Must be a number
# rs485_name: 'RS485 1'
# rs485_uart_id: 'uart_esp_3' # UART interface to which your inverter is connected
# rs485_uart_baud_rate: '9600'
# rs485_protocol: 'pylon' # pylon / voltronic
# rs485_update_timeout: '10s'
# rs485_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
# # UART setup
# rs485_uart_id: 'uart_esp_3' # UART interface to which your inverter is connected
# rs485_uart_baud_rate: '9600' # Default : 9600 / Epever : 115200
+24 -36
View File
@@ -1,5 +1,5 @@
# Updated : 2026.08.11
# Version : 1.8.0
# Updated : 2026.11.05
# Version : 1.8.1
# GitHub : https://github.com/Sleeper85/esphome-yambms
# YamBMS ( Yet another multi-BMS Merging Solution )
@@ -132,6 +132,16 @@ substitutions:
{ 60.0, 0.00 }
}
# +--------------------------------------+
# | YamBMS services |
# +--------------------------------------+
# Update service : checks GitHub for a newer YamBMS version.
# Telemetry service : sends anonymous data about your setup (BMS model, board,
# inverter protocol, YamBMS version). It is what tells me which hardware is
# actually in use, so I know where to spend my time. Public stats and details
# on what is collected : stats.yambms.org
yambms_update_service: 'true' # Set to false to disable update checks
yambms_telemetry_service: 'true' # Set to false to disable the sending of telemetry data
# +--------------------------------------+
# | Shunt Settings |
# +--------------------------------------+
shunt_update_interval: '3s' # frequency at which Shunt data is refreshed
@@ -187,33 +197,6 @@ packages:
# | >>> Uncomment your interfaces and options
# +------------------------------------------------------------------------------+
# UART 1 (uart_id: uart_esp_1)
- path: 'packages/board/board_options_itf_uart_esp_1.yaml'
# UART 2 (uart_id: uart_esp_2)
# - path: 'packages/board/board_options_itf_uart_esp_2.yaml'
# UART 3 (uart_id: uart_esp_3)
# - path: 'packages/board/board_options_itf_uart_esp_3.yaml'
# UART flow control
# - path: 'packages/board/board_options_itf_uart_flow_control.yaml'
# vars:
# uart_id: 'uart_esp_1'
# uart_flow_control_pin: ${talk_pin}
# CAN transceiver - ESP32_CAN (TJA105x, SN65HVD230, M5Stack CAN base/unit)
- path: 'packages/board/board_options_itf_canbus_esp32_can.yaml'
vars:
# to bms = canbus_bms_1
# to inverter = canbus_inverter_1
canbus_node_id: 'canbus_inverter_1'
# CAN transceiver - MCP2515
# - path: 'packages/board/board_options_itf_canbus_mcp2515.yaml'
# vars:
# # to bms = canbus_bms_1
# # to inverter = canbus_inverter_1
# canbus_node_id: 'canbus_inverter_1'
# PSRAM octal 80Mhz
# - path: 'packages/board/board_options_PSRAM_octal_80Mhz.yaml'
@@ -257,12 +240,14 @@ packages:
vars:
canbus_id: '1' # must be a number
canbus_name: 'CANBUS 1'
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
canbus_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
# CAN frames sending will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305) before the end of the `canbus_link_timer` (5s by default).
canbus_link_timer_enabled: 'true' # Set it to 'false' if your inverter/charger is not sending ACK (can_id 0x305) every `1s` as specified by the protocol
canbus_link_timer: '5s'
canbus_extended_ack: 'false' # Set to 'true' for enable extended 29-bit IDs (required for Schneider XW Pro)
canbus_link_timer: '10s' # min 6s with Deye
# CAN setup
canbus_platform: 'esp32_can' # esp32_can / mcp2515
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
canbus_bitrate: '500kbps' # Default : 500kbps
@@ -270,14 +255,17 @@ packages:
# | >>> RS485 bus to Inverter
# +------------------------------------------------------------------------------+
# - path: 'packages/yambms/yambms_rs485_pylon.yaml' # yambms_rs485_pylon_web_server.yaml
# - path: 'packages/yambms/yambms_rs485.yaml'
# # - path: 'packages/yambms/yambms_rs485_web_server.yaml'
# vars:
# rs485_id: '1' # Must be a number
# rs485_id: '1' # Must be a number
# rs485_name: 'RS485 1'
# rs485_uart_id: 'uart_esp_3' # UART interface to which your inverter is connected
# rs485_uart_baud_rate: '9600'
# rs485_protocol: 'pylon' # pylon / voltronic
# rs485_update_timeout: '10s'
# rs485_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
# # UART setup
# rs485_uart_id: 'uart_esp_3' # UART interface to which your inverter is connected
# rs485_uart_baud_rate: '9600' # Default : 9600 / Epever : 115200
+2 -29
View File
@@ -1,5 +1,5 @@
# Updated : 2026.09.11
# Version : 1.8.0
# Updated : 2026.11.05
# Version : 1.8.1
# GitHub : https://github.com/Sleeper85/esphome-yambms
# YamBMS ( Yet another multi-BMS Merging Solution )
@@ -144,33 +144,6 @@ packages:
# | >>> Uncomment your interfaces and options
# +------------------------------------------------------------------------------+
# UART 1 (uart_id: uart_esp_1)
# - path: 'packages/board/board_options_itf_uart_esp_1.yaml'
# UART 2 (uart_id: uart_esp_2)
# - path: 'packages/board/board_options_itf_uart_esp_2.yaml'
# UART 3 (uart_id: uart_esp_3)
# - path: 'packages/board/board_options_itf_uart_esp_3.yaml'
# UART flow control
# - path: 'packages/board/board_options_itf_uart_flow_control.yaml'
# vars:
# uart_id: 'uart_esp_1'
# uart_flow_control_pin: ${talk_pin}
# CAN transceiver - ESP32_CAN (TJA105x, SN65HVD230, M5Stack CAN base/unit)
# - path: 'packages/board/board_options_itf_canbus_esp32_can.yaml'
# vars:
# # to bms = canbus_bms_1
# # to inverter = canbus_inverter_1
# canbus_node_id: 'canbus_inverter_1'
# CAN transceiver - MCP2515
# - path: 'packages/board/board_options_itf_canbus_mcp2515.yaml'
# vars:
# # to bms = canbus_bms_1
# # to inverter = canbus_inverter_1
# canbus_node_id: 'canbus_inverter_1'
# PSRAM octal 80Mhz
# - path: 'packages/board/board_options_PSRAM_octal_80Mhz.yaml'
+40 -46
View File
@@ -1,5 +1,5 @@
# Updated : 2026.08.27
# Version : 1.8.0
# Updated : 2026.11.05
# Version : 1.8.1
# GitHub : https://github.com/Sleeper85/esphome-yambms
# YamBMS ( Yet another multi-BMS Merging Solution )
@@ -133,6 +133,16 @@ substitutions:
{ 60.0, 0.00 }
}
# +--------------------------------------+
# | YamBMS services |
# +--------------------------------------+
# Update service : checks GitHub for a newer YamBMS version.
# Telemetry service : sends anonymous data about your setup (BMS model, board,
# inverter protocol, YamBMS version). It is what tells me which hardware is
# actually in use, so I know where to spend my time. Public stats and details
# on what is collected : stats.yambms.org
yambms_update_service: 'true' # Set to false to disable update checks
yambms_telemetry_service: 'true' # Set to false to disable the sending of telemetry data
# +--------------------------------------+
# | Shunt Settings |
# +--------------------------------------+
shunt_update_interval: '3s' # frequency at which Shunt data is refreshed
@@ -161,14 +171,14 @@ substitutions:
# +--------------------------------------+
# | UART expander WK2168 |
# +--------------------------------------+
uart0_baudrate: '2400' # uart_id : uart_${uart_hub_bus}_0 WKS {RJ45-UART0}
uart1_baudrate: '38400' # uart_id : uart_${uart_hub_bus}_1 JSY193
uart2_baudrate: '19200' # uart_id : uart_${uart_hub_bus}_2 SmartShunt
uart3_baudrate: '9600' # uart_id : uart_${uart_hub_bus}_3 SRNE {RJ45-UART3}
uart4_baudrate: '115200' # uart_id : uart_${uart_hub_bus}_4 JK-BMS 1
uart5_baudrate: '115200' # uart_id : uart_${uart_hub_bus}_5 JK-BMS 2
uart6_baudrate: '115200' # uart_id : uart_${uart_hub_bus}_6 Pylontech
uart7_baudrate: '9600' # uart_id : uart_${uart_hub_bus}_7 EPEVER {RJ45-UART7}
# uart_spi_0 : 2400 WKS {RJ45-UART0}
# uart_spi_1 : 38400 JSY193
# uart_spi_2 : 19200 SmartShunt
# uart_spi_3 : 9600 SRNE {RJ45-UART3}
# uart_spi_4 : 115200 JK-BMS 1
# uart_spi_5 : 115200 JK-BMS 2
# uart_spi_6 : 115200 Pylontech
# uart_spi_7 : 9600 EPEVER {RJ45-UART7}
@@ -199,53 +209,32 @@ packages:
# | >>> Uncomment your interfaces and options
# +------------------------------------------------------------------------------+
# UART 1 (uart_id: uart_esp_1)
# - path: 'packages/board/board_options_itf_uart_esp_1.yaml'
# UART 2 (uart_id: uart_esp_2)
# - path: 'packages/board/board_options_itf_uart_esp_2.yaml'
# UART 3 (uart_id: uart_esp_3)
# - path: 'packages/board/board_options_itf_uart_esp_3.yaml'
# BUS
# - path: 'packages/board/board_options_itf_bus_spi.yaml' # SPI bus
# - path: 'packages/board/board_options_itf_bus_i2c.yaml' # I2C bus for SX1509 and BME280/BMP280
# - path: 'packages/board/board_options_itf_bus_one_wire.yaml' # One wire bus for Dallas Temperature Sensor
# WK2168 UART/IO Expander
- path: 'packages/board/board_options_itf_wk2168_spi.yaml'
# - path: 'packages/board/board_options_itf_wk2168_i2c.yaml'
# Modbus 1
# - path: 'packages/board/board_options_itf_modbus_expander.yaml'
# - path: 'packages/board/board_options_itf_modbus.yaml'
# vars:
# modbus_id: '1' # can be a number or text or a mixture of both, e.g. full id = modbus_client_1
# modbus_role: 'client' # client / server
# modbus_uart_id: 'uart_${uart_hub_bus}_1'
# modbus_uart_id: 'uart_spi_1'
# Modbus 2
# - path: 'packages/board/board_options_itf_modbus_expander.yaml'
# - path: 'packages/board/board_options_itf_modbus.yaml'
# vars:
# modbus_id: '2' # can be a number or text or a mixture of both, e.g. full id = modbus_client_2
# modbus_role: 'client' # client / server
# modbus_uart_id: 'uart_${uart_hub_bus}_2'
# WK2168 UART/IO Expander
- path: 'packages/board/board_options_itf_pvbrain2_wk2168_spi.yaml'
# - path: 'packages/board/board_options_itf_pvbrain2_wk2168_i2c.yaml'
# modbus_uart_id: 'uart_spi_2'
# SX1509 16 channel I/O Expander
# - path: 'packages/board/board_options_itf_pvbrain2_sx1509.yaml'
# CAN transceiver - ESP32_CAN (TJA105x, SN65HVD230, M5Stack CAN base/unit)
- path: 'packages/board/board_options_itf_canbus_esp32_can.yaml'
vars:
# to bms = canbus_bms_1
# to inverter = canbus_inverter_1
canbus_node_id: 'canbus_inverter_1'
# CAN transceiver - SPI bus and MCP2515
# - path: 'packages/board/board_options_itf_canbus_mcp2515.yaml'
# vars:
# # to bms = canbus_bms_1
# # to inverter = canbus_inverter_1
# canbus_node_id: 'canbus_inverter_1'
# PSRAM octal 80Mhz
- path: 'packages/board/board_options_PSRAM_octal_80Mhz.yaml'
@@ -291,12 +280,14 @@ packages:
vars:
canbus_id: '1' # must be a number
canbus_name: 'CANBUS 1'
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
canbus_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
# CAN frames sending will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305) before the end of the `canbus_link_timer` (5s by default).
canbus_link_timer_enabled: 'true' # Set it to 'false' if your inverter/charger is not sending ACK (can_id 0x305) every `1s` as specified by the protocol
canbus_link_timer: '5s'
canbus_extended_ack: 'false' # Set to 'true' for enable extended 29-bit IDs (required for Schneider XW Pro)
canbus_link_timer: '10s' # min 6s with Deye
# CAN setup
canbus_platform: 'esp32_can' # esp32_can / mcp2515
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
canbus_bitrate: '500kbps' # Default : 500kbps
@@ -304,14 +295,17 @@ packages:
# | >>> RS485 bus to Inverter
# +------------------------------------------------------------------------------+
# - path: 'packages/yambms/yambms_rs485_pylon_core.yaml'
# - path: 'packages/yambms/yambms_rs485.yaml'
# # - path: 'packages/yambms/yambms_rs485_web_server.yaml'
# vars:
# rs485_id: '1' # Must be a number
# rs485_id: '1' # Must be a number
# rs485_name: 'RS485 1'
# rs485_uart_id: 'uart_${uart_hub_bus}_3' # UART interface to which your inverter is connected
# rs485_uart_baud_rate: '9600'
# rs485_protocol: 'pylon' # pylon / voltronic
# rs485_update_timeout: '10s'
# rs485_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
# # UART setup
# rs485_uart_id: 'uart_spi_3' # UART interface to which your inverter is connected
# rs485_uart_baud_rate: '9600' # Default : 9600 / Epever : 115200
+2 -10
View File
@@ -1,5 +1,5 @@
# Updated : 2026.08.11
# Version : 1.8.0
# Updated : 2026.11.05
# Version : 1.8.1
# GitHub : https://github.com/Sleeper85/esphome-yambms
# YamBMS ( Yet another multi-BMS Merging Solution )
@@ -68,14 +68,6 @@ packages:
# server_status_led_id: 'virtual_status_light' # led used to show status. Default = esp_light, set specific led or set to 'virtual_status_light' to disable
# network_status_led_id: 'virtual_status_light' # led used to show status. Default = esp_light, set specific led or set to 'virtual_status_light' to disable
# uart
- path: packages/board/board_options_itf_uart_1.yaml
- path: packages/board/board_options_itf_uart_2.yaml
- path: packages/board/board_options_itf_uart_3.yaml
- path: packages/board/board_options_itf_uart_4.yaml
- path: packages/board/board_options_itf_uart_5.yaml
- path: packages/board/board_options_itf_uart_6.yaml
# modbus
- path: packages/board/board_options_itf_modbus.yaml
vars:
+27 -36
View File
@@ -1,5 +1,5 @@
# Updated : 2026.07.30
# Version : 1.7.1
# Updated : 2026.11.05
# Version : 1.8.1
# GitHub : https://github.com/Sleeper85/esphome-yambms
# YamBMS ( Yet another multi-BMS Merging Solution )
@@ -132,6 +132,16 @@ substitutions:
{ 60.0, 0.00 }
}
# +--------------------------------------+
# | YamBMS services |
# +--------------------------------------+
# Update service : checks GitHub for a newer YamBMS version.
# Telemetry service : sends anonymous data about your setup (BMS model, board,
# inverter protocol, YamBMS version). It is what tells me which hardware is
# actually in use, so I know where to spend my time. Public stats and details
# on what is collected : stats.yambms.org
yambms_update_service: 'true' # Set to false to disable update checks
yambms_telemetry_service: 'true' # Set to false to disable the sending of telemetry data
# +--------------------------------------+
# | Shunt Settings |
# +--------------------------------------+
shunt_update_interval: '3s' # frequency at which Shunt data is refreshed
@@ -220,33 +230,6 @@ packages:
# | >>> Uncomment your interfaces and options
# +------------------------------------------------------------------------------+
# UART 1 (uart_id: uart_esp_1)
- path: 'packages/board/board_options_itf_uart_esp_1.yaml'
# UART 2 (uart_id: uart_esp_2)
# - path: 'packages/board/board_options_itf_uart_esp_2.yaml'
# UART 3 (uart_id: uart_esp_3)
# - path: 'packages/board/board_options_itf_uart_esp_3.yaml'
# UART flow control
# - path: 'packages/board/board_options_itf_uart_flow_control.yaml'
# vars:
# uart_id: 'uart_esp_1'
# uart_flow_control_pin: ${talk_pin}
# CAN transceiver - ESP32_CAN (TJA105x, SN65HVD230, M5Stack CAN base/unit)
- path: 'packages/board/board_options_itf_canbus_esp32_can.yaml'
vars:
# to bms = canbus_bms_1
# to inverter = canbus_inverter_1
canbus_node_id: 'canbus_inverter_1'
# CAN transceiver - MCP2515
# - path: 'packages/board/board_options_itf_canbus_mcp2515.yaml'
# vars:
# # to bms = canbus_bms_1
# # to inverter = canbus_inverter_1
# canbus_node_id: 'canbus_inverter_1'
# PSRAM octal 80Mhz
# - path: 'packages/board/board_options_PSRAM_octal_80Mhz.yaml'
@@ -290,12 +273,14 @@ packages:
vars:
canbus_id: '1' # must be a number
canbus_name: 'CANBUS 1'
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
canbus_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
# CAN frames sending will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305) before the end of the `canbus_link_timer` (5s by default).
canbus_link_timer_enabled: 'true' # Set it to 'false' if your inverter/charger is not sending ACK (can_id 0x305) every `1s` as specified by the protocol
canbus_link_timer: '5s'
canbus_extended_ack: 'false' # Set to 'true' for enable extended 29-bit IDs (required for Schneider XW Pro)
canbus_link_timer: '10s' # min 6s with Deye
# CAN setup
canbus_platform: 'esp32_can' # esp32_can / mcp2515
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
canbus_bitrate: '500kbps' # Default : 500kbps
@@ -303,14 +288,20 @@ packages:
# | >>> RS485 bus to Inverter
# +------------------------------------------------------------------------------+
# - path: 'packages/yambms/yambms_rs485_pylon.yaml' # yambms_rs485_pylon_web_server.yaml
# - path: 'packages/yambms/yambms_rs485.yaml'
# # - path: 'packages/yambms/yambms_rs485_web_server.yaml'
# vars:
# rs485_id: '1' # Must be a number
# rs485_id: '1' # Must be a number
# rs485_name: 'RS485 1'
# rs485_uart_id: 'uart_esp_3' # UART interface to which your inverter is connected
# rs485_uart_baud_rate: '9600'
# rs485_protocol: 'pylon' # pylon / voltronic
# rs485_update_timeout: '10s'
# rs485_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
# # UART setup
# rs485_uart_id: 'uart_esp_3' # UART interface to which your inverter is connected
# # ESP32 : uart_esp_1 to uart_esp_3
# # WK2168 : uart_spi_0 to uart_spi_7 / uart_i2c_0 to uart_i2c_7
# rs485_uart_baud_rate: '9600' # Default : 9600 / Epever : 115200
# +------------------------------------------------------------------------------+
+25 -36
View File
@@ -1,5 +1,5 @@
# Updated : 2026.07.30
# Version : 1.7.1
# Updated : 2026.11.05
# Version : 1.8.1
# GitHub : https://github.com/Sleeper85/esphome-yambms
# YamBMS ( Yet another multi-BMS Merging Solution )
@@ -132,6 +132,16 @@ substitutions:
{ 60.0, 0.00 }
}
# +--------------------------------------+
# | YamBMS services |
# +--------------------------------------+
# Update service : checks GitHub for a newer YamBMS version.
# Telemetry service : sends anonymous data about your setup (BMS model, board,
# inverter protocol, YamBMS version). It is what tells me which hardware is
# actually in use, so I know where to spend my time. Public stats and details
# on what is collected : stats.yambms.org
yambms_update_service: 'true' # Set to false to disable update checks
yambms_telemetry_service: 'true' # Set to false to disable the sending of telemetry data
# +--------------------------------------+
# | Shunt Settings |
# +--------------------------------------+
shunt_update_interval: '3s' # frequency at which Shunt data is refreshed
@@ -220,33 +230,6 @@ packages:
# | >>> Uncomment your interfaces and options
# +------------------------------------------------------------------------------+
# UART 1 (uart_id: uart_esp_1)
- path: 'packages/board/board_options_itf_uart_esp_1.yaml'
# UART 2 (uart_id: uart_esp_2)
# - path: 'packages/board/board_options_itf_uart_esp_2.yaml'
# UART 3 (uart_id: uart_esp_3)
# - path: 'packages/board/board_options_itf_uart_esp_3.yaml'
# UART flow control
# - path: 'packages/board/board_options_itf_uart_flow_control.yaml'
# vars:
# uart_id: 'uart_esp_1'
# uart_flow_control_pin: ${talk_pin}
# CAN transceiver - ESP32_CAN (TJA105x, SN65HVD230, M5Stack CAN base/unit)
- path: 'packages/board/board_options_itf_canbus_esp32_can.yaml'
vars:
# to bms = canbus_bms_1
# to inverter = canbus_inverter_1
canbus_node_id: 'canbus_inverter_1'
# CAN transceiver - MCP2515
# - path: 'packages/board/board_options_itf_canbus_mcp2515.yaml'
# vars:
# # to bms = canbus_bms_1
# # to inverter = canbus_inverter_1
# canbus_node_id: 'canbus_inverter_1'
# PSRAM octal 80Mhz
# - path: 'packages/board/board_options_PSRAM_octal_80Mhz.yaml'
@@ -290,12 +273,14 @@ packages:
vars:
canbus_id: '1' # must be a number
canbus_name: 'CANBUS 1'
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
canbus_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
# CAN frames sending will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305) before the end of the `canbus_link_timer` (5s by default).
canbus_link_timer_enabled: 'true' # Set it to 'false' if your inverter/charger is not sending ACK (can_id 0x305) every `1s` as specified by the protocol
canbus_link_timer: '5s'
canbus_extended_ack: 'false' # Set to 'true' for enable extended 29-bit IDs (required for Schneider XW Pro)
canbus_link_timer: '10s' # min 6s with Deye
# CAN setup
canbus_platform: 'esp32_can' # esp32_can / mcp2515
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
canbus_bitrate: '500kbps' # Default : 500kbps
@@ -303,14 +288,18 @@ packages:
# | >>> RS485 bus to Inverter
# +------------------------------------------------------------------------------+
# - path: 'packages/yambms/yambms_rs485_pylon.yaml' # yambms_rs485_pylon_web_server.yaml
# - path: 'packages/yambms/yambms_rs485.yaml'
# # - path: 'packages/yambms/yambms_rs485_web_server.yaml'
# vars:
# rs485_id: '1' # Must be a number
# rs485_id: '1' # Must be a number
# rs485_name: 'RS485 1'
# rs485_uart_id: 'uart_esp_3' # UART interface to which your inverter is connected
# rs485_uart_baud_rate: '9600'
# rs485_protocol: 'pylon' # pylon / voltronic
# rs485_update_timeout: '10s'
# rs485_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
# # UART setup
# rs485_uart_id: 'uart_esp_3' # UART interface to which your inverter is connected
# rs485_uart_baud_rate: '9600' # Default : 9600 / Epever : 115200
# +------------------------------------------------------------------------------+
+120 -57
View File
@@ -71,6 +71,7 @@ api:
> Please note that enabling this component will take up a lot of memory and may decrease stability and be the cause of reboot depending on the capabilities of the board used.
If you don't use `Home Assistant`, you can activate the `Web Server` and have access to YamBMS information and also interact with the application.
To do so, include the `yambms_web_server.yaml` package, see [Board options](#board-options).
[ESPHome Web Server Component](https://esphome.io/components/web_server.html)
@@ -93,55 +94,52 @@ So just one of the packages below :
### ESP32 Generic
```YAML
device_board: !include packages/board/board_ESP32_Generic.yaml
board: !include packages/board/board_ESP32_Generic.yaml
```
### ESP32 DevKit-V1
```YAML
device_board: !include packages/board/board_ESP32_DevKit-V1.yaml
board: !include packages/board/board_ESP32_DevKit-V1.yaml
```
### ESP32-S3 DevKitC-1
```YAML
# RGB LED to GPIO 38
device_board: !include packages/board/board_ESP32-S3_DevKitC-1_LED-38.yaml
board: !include packages/board/board_ESP32-S3_DevKitC-1_LED-38.yaml
```
```YAML
# RGB LED to GPIO 48
device_board: !include packages/board/board_ESP32-S3_DevKitC-1_LED-48.yaml
board: !include packages/board/board_ESP32-S3_DevKitC-1_LED-48.yaml
```
### Atom S3 Lite
```YAML
device_board: !include packages/board/board_ESP32-S3_AtomS3-Lite.yaml
board: !include packages/board/board_ESP32-S3_AtomS3-Lite.yaml
```
### Atom S3 / S3R (display)
In this case you need to specify the `yambms` and `canbus` IDs to display the information on the screen.
The screen is a separate package, `board_options_display_128x128.yaml`, to include next to the board.
```YAML
device_board: !include
file: packages/board/board_ESP32-S3_AtomS3.yaml
vars:
display_auto_next_page_interval: '5s'
```
board: !include packages/board/board_ESP32-S3_AtomS3.yaml
# board: !include packages/board/board_ESP32-S3_AtomS3R.yaml
```YAML
device_board: !include
file: packages/board/board_ESP32-S3_AtomS3R.yaml
board_display: !include
file: packages/board/board_options_display_128x128.yaml
vars:
display_auto_next_page_interval: '5s'
display_rotation: '0' # 0/90/180/270 rotation angle in degrees
```
### ESP32-C3 DevKitM-1
```YAML
device_board: !include packages/board_ESP32-C3_DevKitM-1.yaml
board: !include packages/board/board_ESP32-C3_DevKitM-1.yaml
```
### ESP32-C3 ETH01-EVO
@@ -149,13 +147,13 @@ In this case you need to specify the `yambms` and `canbus` IDs to display the in
This board has an `Ethernet` port and can be powered from `POE` (optional).
```YAML
device_board: !include packages/board/board_ESP32-C3_ETH01-EVO.yaml
board: !include packages/board/board_ESP32-C3_ETH01-EVO.yaml
```
### ESP32 LilyGo T-CAN485
```YAML
device_board: !include packages/board/board_ESP32_LilyGo-T-CAN485.yaml
board: !include packages/board/board_ESP32_LilyGo-T-CAN485.yaml
```
> [!NOTE]
> The device has an integrated 120 Ohm termination resistor. If used as a node in the middle, this resistor must be removed. ![Image](../../images/MCU_ESP32_LilyGo-T-CAN485_resistors.jpg)
@@ -163,7 +161,7 @@ This board has an `Ethernet` port and can be powered from `POE` (optional).
### ESP32-S3 LilyGo T-Connect
```YAML
device_board: !include packages/board/board_ESP32-S3_LilyGo-T-Connect.yaml
board: !include packages/board/board_ESP32-S3_LilyGo-T-Connect.yaml
```
> [!NOTE]
> The device has an integrated 120 Ohm termination resistor. If used as a node in the middle, this resistor must be removed.
@@ -171,11 +169,34 @@ This board has an `Ethernet` port and can be powered from `POE` (optional).
### ESP32-S3 LilyGo T-Connect Pro
```YAML
device_board: !include packages/board/board_ESP32-S3_LilyGo-T-Connect-Pro.yaml
board: !include packages/board/board_ESP32-S3_LilyGo-T-Connect-Pro.yaml
```
> [!NOTE]
> The device has an integrated 120 Ohm termination resistor. If used as a node in the middle, this resistor must be removed.
## Board options
Uncomment the options you need. Boards with a screen also need their display package, see the
`Board Display` block of the [example YAML](../../YamBMS_Local_Packages_example.yaml).
```YAML
# PSRAM octal 80Mhz
# psram_octal_80Mhz: !include packages/board/board_options_PSRAM_octal_80Mhz.yaml
# Web Server
# web_server: !include packages/yambms/yambms_web_server.yaml
# WiFi AP @ 192.168.4.1
# wifi_ap: !include packages/board/board_options_wifi_ap.yaml
# Captive Portal @ 192.168.4.1
# captive_portal: !include packages/board/board_options_captive_portal.yaml
```
> [!NOTE]
> UART and CAN interfaces are not included here. Each package declares its own, from its
> `*_uart_id` or `canbus_platform` var.
## YamBMS single-node example
```YAML
@@ -184,6 +205,7 @@ This board has an `Ethernet` port and can be powered from `POE` (optional).
vars:
shunt_id: '1' # must be a number
shunt_name: 'Shunt 1'
shunt_uart_id: 'uart_esp_1'
# other settings
# ...
@@ -192,14 +214,16 @@ This board has an `Ethernet` port and can be powered from `POE` (optional).
vars:
bms_id: '1' # must be a number
bms_name: 'BMS 1'
bms_uart_id: 'uart_esp_2'
# other settings
# ...
bms2: !include
file: packages/bms/bms_combine_JBD_UART_full.yaml
file: packages/bms/bms_combine_JBD_BLE_full.yaml
vars:
bms_id: '2' # must be a number
bms_name: 'BMS 2'
bms_ble_mac_address: 11:22:33:44:55:77
# other settings
# ...
@@ -220,7 +244,7 @@ This board has an `Ethernet` port and can be powered from `POE` (optional).
```YAML
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
@@ -254,7 +278,7 @@ This board has an `Ethernet` port and can be powered from `POE` (optional).
```YAML
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
@@ -287,7 +311,7 @@ This board has an `Ethernet` port and can be powered from `POE` (optional).
```YAML
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
@@ -354,40 +378,59 @@ As soon as the balancer is available/online the values ​​`equalizing` and `b
Take the time to configure `YamBMS` correctly according to your battery chemistry type `LFP/Li-ion/LTO` and `cell count`. Charging voltages can be changed in the app.
The YamBMS settings are `substitutions`, not `vars`, because the other packages read them too
(`yambms_id` for instance is used by the CAN and RS485 packages). Set them in the
`substitutions:` block at the top of your YAML :
```YAML
yambms1: !include
file: packages/yambms/yambms.yaml
vars:
# Please read the cut-off charging logic README to understand how the YamBMS works
yambms_id: 'yambms1'
yambms_name: 'YamBMS 1'
yambms_update_interval: '1s'
# Input numbers can be displayed as a slider or an input box, options are 'slider' or 'box'.
yambms_input_number_mode: 'slider'
# Please check and fill in the options below correctly according to your battery chemistry and number of cells in series.
# These parameters are important and used for charging logic.
# Battery Chemistry
yambms_battery_chemistry: '1' # 1-LFP | 2-Li-ion | 3-LTO
# Number of cells in series
yambms_cell_count: '16'
# Bulk / Absorption Voltage : corresponds to the Bulk voltage that will be used to charge the battery. (LFP : 55.2V = 3.45V/Cell for 16S battery)
yambms_bulk_v: '55.2'
# Float Voltage : corresponds to the voltage at which the battery would be maintained at the end of charge. (LFP : 53.6V = 3.35V/Cell for 16S battery)
yambms_float_v: '53.6'
# Rebulk voltage, voltage from which a new Bulk charge can start. (LFP : 52.8V = 3.3V/Cell for 16S battery)
yambms_rebulk_v: '52.8'
# Maximum time in minutes that the cut-off step can last before charging is complete
# If your cells are properly balanced this step ends at the fastest after the `cut-off timer`
# This timer can be deactivated with a switch
yambms_eoc_timer: '30'
# Time in seconds during which the end of charge conditions must be respected (cut-off + cells not equalizing)
yambms_cutoff_timer: '60'
# Max. charge current : corresponds to the maximum charge current which may be requested by YamBMS.
# The current requested will be proportional to the BMS count without ever exceeding this value.
yambms_max_requested_charge_current: '300' # in Ampere
# Max. discharge current : corresponds to the maximum discharge current which may be requested by YamBMS.
# The current requested will be proportional to the BMS count without ever exceeding this value.
yambms_max_requested_discharge_current: '300' # in Ampere
substitutions:
# Please read the cut-off charging logic README to understand how the YamBMS works
yambms_id: '1' # Number without spaces
yambms_name: 'YamBMS 1' # Prefix for YamBMS entities
yambms_update_interval: '1s'
# Input numbers can be displayed as a slider or an input box, options are 'slider' or 'box'.
yambms_input_number_mode: 'slider'
# Please check and fill in the options below correctly according to your battery chemistry and number of cells in series.
# These parameters are important and used for charging logic.
# Battery Chemistry
yambms_battery_chemistry: '1' # 1-LFP | 2-Li-ion | 3-LTO
# Number of cells in series
yambms_cell_count: '16'
# Bulk / Absorption Voltage : corresponds to the Bulk voltage that will be used to charge the battery. (LFP : 55.2V = 3.45V/Cell for 16S battery)
yambms_bulk_v: '55.2'
# Float Voltage : corresponds to the voltage at which the battery would be maintained at the end of charge. (LFP : 53.6V = 3.35V/Cell for 16S battery)
yambms_float_v: '53.6'
# Rebulk voltage, voltage from which a new Bulk charge can start. (LFP : 52.8V = 3.3V/Cell for 16S battery)
yambms_rebulk_v: '52.8'
# Maximum time in minutes that the cut-off step can last before charging is complete
# If your cells are properly balanced this step ends at the fastest after the `cut-off timer`
# This timer can be deactivated with a switch
yambms_eoc_timer: '30'
# Time in seconds during which the end of charge conditions must be respected (cut-off + cells not equalizing)
yambms_cutoff_timer: '180'
# Max. charge current : corresponds to the maximum charge current which may be requested by YamBMS.
# The current requested will be proportional to the BMS count without ever exceeding this value.
yambms_max_requested_charge_current: '300' # in Ampere
# Max. discharge current : corresponds to the maximum discharge current which may be requested by YamBMS.
# The current requested will be proportional to the BMS count without ever exceeding this value.
yambms_max_requested_discharge_current: '300' # in Ampere
```
Then include the package below `packages:`, with no `vars:` :
```YAML
yambms: !include packages/yambms/yambms.yaml
```
### YamBMS services
The update service checks for a newer YamBMS version. The telemetry service sends anonymous data
about your setup, see [Telemetry](Telemetry.md). Both are enabled by default and set in the same
`substitutions:` block :
```YAML
yambms_update_service: 'true' # Set to false to disable update checks
yambms_telemetry_service: 'true' # Set to false to disable the sending of telemetry data
```
## CAN bus to Inverter
@@ -396,6 +439,10 @@ Take the time to configure `YamBMS` correctly according to your battery chemistr
> This package is only used with the `YamBMS` main node.
> It's possible to use this package multiple times in order to send information on two different `CAN` bus.
> [!WARNING]
> Each declared `CAN` or `RS485` link divides the requested CCL/DCL, even when its `Protocol` is `Disabled`.
> Only declare the links actually wired to an inverter/charger, see [Multi-inverter / multi-charger](YamBMS_functions.md#multi-inverter--multi-charger).
The CAN bus connected to your inverter via the CAN transceiver `canbus_inverter_1`.
> [!NOTE]
@@ -426,12 +473,21 @@ You can keep the default configuration and adapt the `canbus` node on which the
canbus_bitrate: '500kbps' # Default : 500kbps
```
# RS485 bus to Inverter
> [!IMPORTANT]
> After flashing, select the `Inverter brand` of this link in Home Assistant or the web server.
> The link stays inactive until this is done. If your brand is not listed, select `Other` and set
> `Protocol` yourself, see [Supported devices](Supported_devices.md).
## RS485 bus to Inverter
> [!TIP]
> This package is only used with the `YamBMS` main node.
> It's possible to use this package multiple times in order to send information on two different `RS485` bus.
> [!WARNING]
> Each declared `CAN` or `RS485` link divides the requested CCL/DCL, even when its `Protocol` is `Disabled`.
> Only declare the links actually wired to an inverter/charger, see [Multi-inverter / multi-charger](YamBMS_functions.md#multi-inverter--multi-charger).
The RS485 bus connected to your inverter via the RS485 transceiver `uart_esp_3`.
> [!NOTE]
@@ -454,9 +510,16 @@ You can keep the default configuration and adapt the `uart` port on which the co
rs485_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
# UART setup
rs485_uart_id: 'uart_esp_3' # UART interface to which your inverter is connected
# ESP32 : uart_esp_1 to uart_esp_3
# WK2168 : uart_spi_0 to uart_spi_7 / uart_i2c_0 to uart_i2c_7
rs485_uart_baud_rate: '9600' # Default : 9600 / Epever : 115200
```
> [!IMPORTANT]
> After flashing, select the `Inverter brand` of this link in Home Assistant or the web server.
> The link stays inactive until this is done. If your brand is not listed, select `Other` and set
> `Protocol` yourself, see [Supported devices](Supported_devices.md).
## Debug
The `debug` package will add useful information to refer to if problems occur.
+106 -49
View File
@@ -71,6 +71,7 @@ api:
> Please note that enabling this component will take up a lot of memory and may decrease stability and be the cause of reboot depending on the capabilities of the board used.
If you don't use `Home Assistant`, you can activate the `Web Server` and have access to YamBMS information and also interact with the application.
To do so, include the `yambms_web_server.yaml` package, see [Board options](#board-options).
[ESPHome Web Server Component](https://esphome.io/components/web_server.html)
@@ -137,17 +138,13 @@ So just one of the packages below :
### Atom S3 / S3R (display)
In this case you need to specify the `yambms` and `canbus` IDs to display the information on the screen.
The screen is a separate package, `board_options_display_128x128.yaml`, to include next to the board.
```YAML
- path: 'packages/board/board_ESP32-S3_AtomS3.yaml'
vars:
display_auto_next_page_interval: '5s'
display_rotation: '0' # 0/90/180/270 rotation angle in degrees
```
# - path: 'packages/board/board_ESP32-S3_AtomS3R.yaml'
```YAML
- path: 'packages/board/board_ESP32-S3_AtomS3R.yaml'
- path: 'packages/board/board_options_display_128x128.yaml'
vars:
display_auto_next_page_interval: '5s'
display_rotation: '0' # 0/90/180/270 rotation angle in degrees
@@ -156,7 +153,7 @@ In this case you need to specify the `yambms` and `canbus` IDs to display the in
### ESP32-C3 DevKitM-1
```YAML
- path: 'packages/board_ESP32-C3_DevKitM-1.yaml'
- path: 'packages/board/board_ESP32-C3_DevKitM-1.yaml'
```
### ESP32-C3 ETH01-EVO
@@ -191,6 +188,29 @@ This board has an `Ethernet` port and can be powered from `POE` (optional).
> [!NOTE]
> The device has an integrated 120 Ohm termination resistor. If used as a node in the middle, this resistor must be removed.
## Board options
Uncomment the options you need. Boards with a screen also need their display package, see the
`Board Display` block of the [example YAML](../../YamBMS_Remote_Packages_example.yaml).
```YAML
# PSRAM octal 80Mhz
# - path: 'packages/board/board_options_PSRAM_octal_80Mhz.yaml'
# Web Server
# - path: 'packages/yambms/yambms_web_server.yaml'
# WiFi AP @ 192.168.4.1
# - path: 'packages/board/board_options_wifi_ap.yaml'
# Captive Portal @ 192.168.4.1
# - path: 'packages/board/board_options_captive_portal.yaml'
```
> [!NOTE]
> UART and CAN interfaces are not included here. Each package declares its own, from its
> `*_uart_id` or `canbus_platform` var.
## YamBMS [single-node](../../examples/single-node/) example
```YAML
@@ -206,7 +226,8 @@ This board has an `Ethernet` port and can be powered from `POE` (optional).
vars:
bms_id: '1' # must be a number
bms_name: 'BMS 1'
- # other settings
bms_uart_id: 'uart_esp_2'
# other settings
# ...
# BMS 2
@@ -214,6 +235,7 @@ This board has an `Ethernet` port and can be powered from `POE` (optional).
vars:
bms_id: '2' # must be a number
bms_name: 'BMS 2'
bms_ble_mac_address: 11:22:33:44:55:77
# other settings
# ...
@@ -234,7 +256,7 @@ This board has an `Ethernet` port and can be powered from `POE` (optional).
```YAML
# 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
@@ -264,7 +286,7 @@ This board has an `Ethernet` port and can be powered from `POE` (optional).
```YAML
# 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
@@ -294,7 +316,7 @@ This board has an `Ethernet` port and can be powered from `POE` (optional).
```YAML
# 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
@@ -359,44 +381,59 @@ As soon as the balancer is available/online the values ​​`equalizing` and `b
Take the time to configure `YamBMS` correctly according to your battery chemistry type `LFP/Li-ion/LTO` and `cell count`. Charging voltages can be changed in the app.
The YamBMS settings are `substitutions`, not `vars`, because the other packages read them too
(`yambms_id` for instance is used by the CAN and RS485 packages). Set them in the
`substitutions:` block at the top of your YAML :
```YAML
substitutions:
# Please read the cut-off charging logic README to understand how the YamBMS works
yambms_id: '1' # Number without spaces
yambms_name: 'YamBMS 1' # Prefix for YamBMS entities
yambms_update_interval: '1s'
# Input numbers can be displayed as a slider or an input box, options are 'slider' or 'box'.
yambms_input_number_mode: 'slider'
# Please check and fill in the options below correctly according to your battery chemistry and number of cells in series.
# These parameters are important and used for charging logic.
# Battery Chemistry
yambms_battery_chemistry: '1' # 1-LFP | 2-Li-ion | 3-LTO
# Number of cells in series
yambms_cell_count: '16'
# Bulk / Absorption Voltage : corresponds to the Bulk voltage that will be used to charge the battery. (LFP : 55.2V = 3.45V/Cell for 16S battery)
yambms_bulk_v: '55.2'
# Float Voltage : corresponds to the voltage at which the battery would be maintained at the end of charge. (LFP : 53.6V = 3.35V/Cell for 16S battery)
yambms_float_v: '53.6'
# Rebulk voltage, voltage from which a new Bulk charge can start. (LFP : 52.8V = 3.3V/Cell for 16S battery)
yambms_rebulk_v: '52.8'
# Maximum time in minutes that the cut-off step can last before charging is complete
# If your cells are properly balanced this step ends at the fastest after the `cut-off timer`
# This timer can be deactivated with a switch
yambms_eoc_timer: '30'
# Time in seconds during which the end of charge conditions must be respected (cut-off + cells not equalizing)
yambms_cutoff_timer: '180'
# Max. charge current : corresponds to the maximum charge current which may be requested by YamBMS.
# The current requested will be proportional to the BMS count without ever exceeding this value.
yambms_max_requested_charge_current: '300' # in Ampere
# Max. discharge current : corresponds to the maximum discharge current which may be requested by YamBMS.
# The current requested will be proportional to the BMS count without ever exceeding this value.
yambms_max_requested_discharge_current: '300' # in Ampere
```
Then include the package, with no `vars:` :
```YAML
yambms:
url: https://github.com/Sleeper85/esphome-yambms
ref: main
refresh: 0s
files:
- path: 'packages/yambms/yambms.yaml'
vars:
# Please read the cut-off charging logic README to understand how the YamBMS works
yambms_id: 'yambms1'
yambms_name: 'YamBMS 1'
yambms_update_interval: '1s'
# Input numbers can be displayed as a slider or an input box, options are 'slider' or 'box'.
yambms_input_number_mode: 'slider'
# Please check and fill in the options below correctly according to your battery chemistry and number of cells in series.
# These parameters are important and used for charging logic.
# Battery Chemistry
yambms_battery_chemistry: '1' # 1-LFP | 2-Li-ion | 3-LTO
# Number of cells in series
yambms_cell_count: '16'
# Bulk / Absorption Voltage : corresponds to the Bulk voltage that will be used to charge the battery. (LFP : 55.2V = 3.45V/Cell for 16S battery)
yambms_bulk_v: '55.2'
# Float Voltage : corresponds to the voltage at which the battery would be maintained at the end of charge. (LFP : 53.6V = 3.35V/Cell for 16S battery)
yambms_float_v: '53.6'
# Rebulk voltage, voltage from which a new Bulk charge can start. (LFP : 52.8V = 3.3V/Cell for 16S battery)
yambms_rebulk_v: '52.8'
# Maximum time in minutes that the cut-off step can last before charging is complete
# If your cells are properly balanced this step ends at the fastest after the `cut-off timer`
# This timer can be deactivated with a switch
yambms_eoc_timer: '30'
# Time in seconds during which the end of charge conditions must be respected (cut-off + cells not equalizing)
yambms_cutoff_timer: '60'
# Max. charge current : corresponds to the maximum charge current which may be requested by YamBMS.
# The current requested will be proportional to the BMS count without ever exceeding this value.
yambms_max_requested_charge_current: '300' # in Ampere
# Max. discharge current : corresponds to the maximum discharge current which may be requested by YamBMS.
# The current requested will be proportional to the BMS count without ever exceeding this value.
yambms_max_requested_discharge_current: '300' # in Ampere
```
### YamBMS services
The update service checks for a newer YamBMS version. The telemetry service sends anonymous data
about your setup, see [Telemetry](Telemetry.md). Both are enabled by default and set in the same
`substitutions:` block :
```YAML
yambms_update_service: 'true' # Set to false to disable update checks
yambms_telemetry_service: 'true' # Set to false to disable the sending of telemetry data
```
## CAN bus to Inverter
@@ -405,6 +442,10 @@ Take the time to configure `YamBMS` correctly according to your battery chemistr
> This package is only used with the `YamBMS` main node.
> It's possible to use this package multiple times in order to send information on two different `CAN` bus.
> [!WARNING]
> Each declared `CAN` or `RS485` link divides the requested CCL/DCL, even when its `Protocol` is `Disabled`.
> Only declare the links actually wired to an inverter/charger, see [Multi-inverter / multi-charger](YamBMS_functions.md#multi-inverter--multi-charger).
The CAN bus connected to your inverter via the CAN transceiver `canbus_inverter_1`.
> [!NOTE]
@@ -438,12 +479,21 @@ You can keep the default configuration and adapt the `canbus` node on which the
canbus_bitrate: '500kbps' # Default : 500kbps
```
# RS485 bus to Inverter
> [!IMPORTANT]
> After flashing, select the `Inverter brand` of this link in Home Assistant or the web server.
> The link stays inactive until this is done. If your brand is not listed, select `Other` and set
> `Protocol` yourself, see [Supported devices](Supported_devices.md).
## RS485 bus to Inverter
> [!TIP]
> This package is only used with the `YamBMS` main node.
> It's possible to use this package multiple times in order to send information on two different `RS485` bus.
> [!WARNING]
> Each declared `CAN` or `RS485` link divides the requested CCL/DCL, even when its `Protocol` is `Disabled`.
> Only declare the links actually wired to an inverter/charger, see [Multi-inverter / multi-charger](YamBMS_functions.md#multi-inverter--multi-charger).
The RS485 bus connected to your inverter via the RS485 transceiver `uart_esp_3`.
> [!NOTE]
@@ -470,9 +520,16 @@ You can keep the default configuration and adapt the `uart` port on which the co
rs485_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
# UART setup
rs485_uart_id: 'uart_esp_3' # UART interface to which your inverter is connected
# ESP32 : uart_esp_1 to uart_esp_3
# WK2168 : uart_spi_0 to uart_spi_7 / uart_i2c_0 to uart_i2c_7
rs485_uart_baud_rate: '9600' # Default : 9600 / Epever : 115200
```
> [!IMPORTANT]
> After flashing, select the `Inverter brand` of this link in Home Assistant or the web server.
> The link stays inactive until this is done. If your brand is not listed, select `Other` and set
> `Protocol` yourself, see [Supported devices](Supported_devices.md).
## Debug
The `debug` package will add useful information to refer to if problems occur.
@@ -32,6 +32,8 @@ packages:
vars:
# CAN BUS ID
canbus_id: 'canbus_bms_1'
canbus_platform: 'mcp2515' # esp32_can / mcp2515
canbus_bitrate: '500kbps' # Default : 500kbps
deye_name: 'DEYE-Top 1'
deye_id: '1'
@@ -29,19 +29,12 @@ 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)
# RS485 Sniffer with talk_pin (WS-RS485-CAN and other RS485 boards with a flow_control_pin)
# sniffer1: !include
# file: packages/bms/bms_combine_JK_RS485_Modbus_sniffer_talk_pin.yaml
# vars:
# sniffer_protocol: 'JK02_32S'
# sniffer_uart_id: 'uart_esp_1'
# sniffer_talk_pin: ${talk_pin} # can be replaced by the GPIO number
sniffer1: !include
file: packages/bms/bms_combine_JK_RS485_Modbus_sniffer.yaml
vars:
sniffer_protocol: 'JK02_32S'
sniffer_uart_id: 'uart_esp_1'
# uart_flow_control_pin: ${talk_pin} # WS-RS485-CAN and other RS485 boards with a flow_control_pin
# Mode2 : configure the DIP switches of your BMS from 0x01 to 0x0F (don't use the 0x00 address, maximum 15 BMS)
bms1: !include
@@ -29,19 +29,12 @@ 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 1, max 16 BMS)
# RS485 Sniffer with talk_pin (WS-RS485-CAN and other RS485 boards with a flow_control_pin)
# sniffer1: !include
# file: packages/bms/bms_combine_JK_RS485_Modbus_sniffer_talk_pin.yaml
# vars:
# sniffer_protocol: 'JK02_32S'
# sniffer_uart_id: 'uart_esp_1'
# sniffer_talk_pin: ${talk_pin} # can be replaced by the GPIO number
sniffer1: !include
file: packages/bms/bms_combine_JK_RS485_Modbus_sniffer.yaml
vars:
sniffer_protocol: 'JK02_32S'
sniffer_uart_id: 'uart_esp_1'
# uart_flow_control_pin: ${talk_pin} # WS-RS485-CAN and other RS485 boards with a flow_control_pin
# Mode1 : configure the DIP switches of your BMS from 0x00 to 0x0F (max 16 BMS)
bms1: !include
@@ -29,19 +29,12 @@ 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)
# RS485 Sniffer with talk_pin (WS-RS485-CAN and other RS485 boards with a flow_control_pin)
# sniffer1: !include
# file: packages/bms/bms_combine_JK_RS485_Modbus_sniffer_talk_pin.yaml
# vars:
# sniffer_protocol: 'JK02_32S'
# sniffer_uart_id: 'uart_esp_1'
# sniffer_talk_pin: ${talk_pin} # can be replaced by the GPIO number
sniffer1: !include
file: packages/bms/bms_combine_JK_RS485_Modbus_sniffer.yaml
vars:
sniffer_protocol: 'JK02_32S'
sniffer_uart_id: 'uart_esp_1'
# uart_flow_control_pin: ${talk_pin} # WS-RS485-CAN and other RS485 boards with a flow_control_pin
# Mode2 : configure the DIP switches of your BMS from 0x01 to 0x0F (don't use the 0x00 address, maximum 15 BMS)
bms1: !include
@@ -36,6 +36,8 @@
vars:
# CAN BUS ID
canbus_id: 'canbus_bms_1'
canbus_platform: 'mcp2515' # esp32_can / mcp2515
canbus_bitrate: '500kbps' # Default : 500kbps
deye_name: 'DEYE-Top 1'
deye_id: '1'
# Deye module 1
@@ -31,17 +31,12 @@
################################################################################
# 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:
# sniffer_protocol: 'JK02_32S'
# sniffer_uart_id: 'uart_esp_1'
# sniffer_talk_pin: ${talk_pin} # can be replaced by the GPIO number
# RS485 Sniffer
- path: 'packages/bms/bms_combine_JK_RS485_Modbus_sniffer.yaml'
vars:
sniffer_protocol: 'JK02_32S'
sniffer_uart_id: 'uart_esp_1'
# uart_flow_control_pin: ${talk_pin} # WS-RS485-CAN and other RS485 boards with a flow_control_pin
# BMS 1
- path: 'packages/bms/bms_combine_JK_RS485_Modbus_JK-B_standard.yaml'
vars:
@@ -31,17 +31,12 @@
################################################################################
# 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:
# sniffer_protocol: 'JK02_32S'
# sniffer_uart_id: 'uart_esp_1'
# sniffer_talk_pin: ${talk_pin} # can be replaced by the GPIO number
# RS485 Sniffer
- path: 'packages/bms/bms_combine_JK_RS485_Modbus_sniffer.yaml'
vars:
sniffer_protocol: 'JK02_32S'
sniffer_uart_id: 'uart_esp_1'
# uart_flow_control_pin: ${talk_pin} # WS-RS485-CAN and other RS485 boards with a flow_control_pin
# BMS 1
- path: 'packages/bms/bms_combine_JK_RS485_Modbus_bms_standard.yaml'
vars: