161 lines
5.9 KiB
YAML
161 lines
5.9 KiB
YAML
# Updated : 2026.02.19
|
|
# Version : 1.7.0
|
|
# GitHub : https://github.com/Sleeper85/esphome-yambms
|
|
# HA : 2026.2.3
|
|
|
|
# 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>.
|
|
|
|
######################## YamBMS Remote Packages Version ########################
|
|
|
|
# You can compile this YAML directly without the `packages` folder.
|
|
# The packages will be automatically downloaded from GitHub.
|
|
# Don't forget to configure your WiFi credentials in the secrets.yaml
|
|
|
|
################################################################################
|
|
|
|
# If needed, configure a static IP here
|
|
# wifi:
|
|
# manual_ip:
|
|
# static_ip: 192.168.0.85
|
|
# gateway: 192.168.0.1
|
|
# subnet: 255.255.255.0
|
|
# dns1: 8.8.8.8
|
|
# dns2: 8.8.4.4
|
|
|
|
logger:
|
|
level: INFO # VERBOSE / DEBUG / INFO / WARN
|
|
# baud_rate: 115200 # Send logs to the `hardware_uart` USB output (this consumes a UART interface)
|
|
# hardware_uart: UART0 # UART0 / USB_SERIAL_JTAG
|
|
|
|
ota:
|
|
- platform: esphome
|
|
|
|
api: # This YAML only works with the API
|
|
|
|
|
|
|
|
# +--------------------------------------+
|
|
# | Global Settings |
|
|
# +--------------------------------------+
|
|
substitutions:
|
|
# Name
|
|
friendly_name : 'YamBMS Display' # Prefix added in front of the `entity name`, also used to classify them.
|
|
hostname: 'yambms-display' # Name of your ESP32 registered on the IP network (DNS name, must be unique).
|
|
|
|
|
|
|
|
# +--------------------------------------+
|
|
# | Packages |
|
|
# +--------------------------------------+
|
|
|
|
# PLEASE READ : https://github.com/Sleeper85/esphome-yambms/blob/main/documents/README/YamBMS_RP_YAML.md
|
|
|
|
packages:
|
|
remote_packages:
|
|
url: https://github.com/Sleeper85/esphome-yambms
|
|
ref: dev
|
|
refresh: 0s
|
|
files:
|
|
|
|
# +------------------------------------------------------------------------------+
|
|
# | >>> UNCOMMENT YOUR BOARD
|
|
# | >>> ONLY ONE BOARD !
|
|
# +------------------------------------------------------------------------------+
|
|
|
|
# - path: 'packages/board/board_ESP32-S3_WS-Touch-LCD-4.3.yaml' # 800x480
|
|
- path: 'packages/board/board_ESP32-S3_WS-Touch-LCD-7.yaml' # 800x480
|
|
# - path: 'packages/board/board_ESP32-P4_M5Stack-Tab5.yaml' # 1280x720
|
|
|
|
# +------------------------------------------------------------------------------+
|
|
# | >>> Board Display
|
|
# | >>> Uncomment the display that corresponds to your board
|
|
# +------------------------------------------------------------------------------+
|
|
|
|
- path: 'packages/board/board_options_display_lvgl_800x480_basic_blue_ha.yaml' # 800x480 basic blue display
|
|
vars:
|
|
# Generally, the friendly_name of your YamBMS node is in lowercase; spaces are replaced by underscores.
|
|
entity_prefix: 'yambms' # 'yambms' by default
|
|
# - path: 'packages/board/board_options_display_lvgl_1280x720_Tab5_ha.yaml' # 1280x720 Tab5 display
|
|
# vars:
|
|
# entity_prefix: 'yambms' # 'yambms' by default
|
|
|
|
|
|
# +------------------------------------------------------------------------------+
|
|
# | >>> Board Options
|
|
# | >>> 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'
|
|
|
|
# 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'
|
|
|
|
|
|
|
|
# +------------------------------------------------------------------------------+
|
|
# | >>> DEBUG ( logger level must be DEBUG )
|
|
# +------------------------------------------------------------------------------+
|
|
|
|
# - path: packages/base/device_debug_ESP32.yaml
|
|
- path: packages/base/device_debug_ESP32_PSRAM.yaml
|
|
vars:
|
|
debug_name: 'Debug'
|
|
debug_update_interval: '5s'
|
|
# Size of your PSRAM in bits
|
|
# 8Mb='8388608' | 6Mb='6291456' | 4Mb='4194304' | 2Mb='2097152' | NoPSRAM='0'
|
|
debug_psram_size: '8388608'
|
|
|
|
|
|
|
|
# +------------------------------------------------------------------------------+
|
|
# | >>> Config and Custom Local Packages
|
|
# +------------------------------------------------------------------------------+
|
|
|
|
# Add your packages or YAML below |