63 lines
2.3 KiB
YAML
63 lines
2.3 KiB
YAML
# Updated : 2026.02.16
|
|
# Version : 1.1.3
|
|
# GitHub : https://github.com/Sleeper85/esphome-yambms
|
|
|
|
# YamBMS ( Yet another multi-BMS Merging Solution )
|
|
|
|
# This YAML is free software: you can redistribute it and/or
|
|
# modify it under the terms of the GNU General Public License
|
|
# as published by the Free Software Foundation, either version 3
|
|
# of the License, or (at your option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
# See the GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/gpl.html>.
|
|
|
|
############################ Remote Packages Example ###########################
|
|
|
|
# This is not a working YAML but just code ready to copy into
|
|
# your main YAML below the `packages:` section.
|
|
|
|
# packages:
|
|
# remote_packages:
|
|
# url: https://github.com/Sleeper85/esphome-yambms
|
|
# ref: main
|
|
# refresh: 60s
|
|
# files:
|
|
|
|
################################################################################
|
|
|
|
# Deye BMS top unit (required)
|
|
- path: 'packages/bms/bms_sensors_DEYE_CAN_top_full.yaml'
|
|
vars:
|
|
# CAN BUS ID
|
|
canbus_id: 'canbus_bms_1'
|
|
deye_name: 'DEYE-Top 1'
|
|
deye_id: '1'
|
|
# Deye module 1
|
|
- path: 'packages/bms/bms_combine_DEYE_CAN_module_full.yaml'
|
|
vars:
|
|
# CAN BUS ID
|
|
canbus_id: 'canbus_bms_1'
|
|
# BMS vars
|
|
bms_id: '1' # must be a number
|
|
bms_name: 'DEYE-BMS 1'
|
|
deye_id: '1'
|
|
deye_module_id: '0' # Modules are numbered with 0-9
|
|
bms_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
|
|
# Deye module 2
|
|
- path: 'packages/bms/bms_combine_DEYE_CAN_module_full.yaml'
|
|
vars:
|
|
# CAN BUS ID
|
|
canbus_id: 'canbus_bms_1'
|
|
# BMS vars
|
|
deye_id: '1'
|
|
bms_id: '2' # must be a number
|
|
bms_name: 'DEYE-BMS 2'
|
|
deye_module_id: '1' # Modules are numbered with 0-9
|
|
bms_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
|