Files
esphome-yambms/examples/single-node/LP_Shunt_example.yaml
T
2026-02-05 11:51:39 +01:00

62 lines
2.7 KiB
YAML

# Updated : 2026.02.05
# Version : 1.1.4
# 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>.
############################ Local Packages Example ############################
# This is not a working YAML but just code ready to copy into your main YAML.
################################################################################
shunt1: !include
file: packages/shunt/shunt_combine_Junctek_KHF_UART.yaml
vars:
shunt_id: '1' # must be a number
shunt_name: 'Shunt 1'
shunt_uart_id: 'uart_esp_1'
shunt_status_led_id: 'esp_light' # led used to show status. Default = esp_light, comment out to disable
# Optional: BMS IDs connected to this shunt
# If provided, the shunt will only be used when all listed BMS are online
# If not provided, the shunt will be used independently of the BMS online status
bms_ids: '{1, 2}'
shunt1: !include
file: packages/shunt/shunt_combine_Victron_SmartShunt_UART.yaml
vars:
shunt_id: '1' # must be a number
shunt_name: 'Shunt 1'
shunt_uart_id: 'uart_esp_1'
shunt_status_led_id: 'esp_light' # led used to show status. Default = esp_light, comment out to disable
# Optional: BMS IDs connected to this shunt
# If provided, the shunt will only be used when all listed BMS are online
# If not provided, the shunt will be used independently of the BMS online status
bms_ids: '{1, 2}'
shunt1: !include
file: packages/shunt/shunt_combine_Victron_SmartShunt_BLE.yaml
vars:
shunt_id: '1' # must be a number
shunt_name: 'Shunt 1'
shunt_mac_address: '60:A4:23:91:8F:55' # Your MAC address
shunt_encryption_key: '0df4d0395b7d1a876c0c33ecb9e70dcd' # Your encryption key
shunt_status_led_id: 'esp_light' # led used to show status. Default = esp_light, comment out to disable
# Optional: BMS IDs connected to this shunt
# If provided, the shunt will only be used when all listed BMS are online
# If not provided, the shunt will be used independently of the BMS online status
bms_ids: '{1, 2}'