forked from Sleeper85/esphome-yambms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
board_esp32-s3-devkitc-1.yaml
99 lines (86 loc) · 2.64 KB
/
board_esp32-s3-devkitc-1.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# Updated : 2024.11.11
# Version : 1.2.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>.
substitutions:
board_chip: "ESP32-S3"
board_name: "DevKitC-1"
esp32:
board: esp32-s3-devkitc-1
flash_size: 16MB # ajust according to your ESP32-S3 version
framework:
type: esp-idf
esphome:
platformio_options:
board_build.flash_mode: dio # Standard uses a single line for data, Dual IO uses 2 lines for data (prevent reboot loop)
board_upload.maximum_ram_size: 524288 # Total Size of the internal RAM in bits. It's the same for all ESP32-S3 ( 512KB )
on_boot:
then:
- light.turn_on:
id: esp_light
red: 50%
blue: 50%
green: 0%
brightness: 50%
# PSRAM activation and settings
psram:
mode: octal
speed: 80MHz
# <<: !include board_psram_settings.yaml
wifi:
id: my_network
ssid: !secret wifi_ssid
password: !secret wifi_password
domain: !secret domain
ap:
ssid: "YamBMS Fallback Hotspot"
password: "Y4mBM$85"
captive_portal:
logger:
hardware_uart: USB_SERIAL_JTAG
uart:
# UART 0 : USB UART port used for ESP32 flashing and logs, can be released if necessary (tx_pin: 43, rx_pin: 44)
# UART 1
- id: uart_esp_1
tx_pin: 17
rx_pin: 18
baud_rate: 115200
rx_buffer_size: 512
# UART 2
- id: uart_esp_2
tx_pin: 15
rx_pin: 16
baud_rate: 115200
rx_buffer_size: 512
canbus:
# CANBUS NODE 1
- platform: esp32_can
id: canbus_node1
tx_pin: 38 # to CAN board CTX
rx_pin: 39 # to CAN board CRX (with 4.7K resistor except for SN65HVD230)
can_id: 1
bit_rate: 500kbps
light:
# https://esphome.io/components/light/esp32_rmt_led_strip
# ESP Light used to see the inverter heartbeat
# Internal : only specifying an id without a name will implicitly set this to true.
- platform: esp32_rmt_led_strip
id: esp_light
rgb_order: GRB
pin: 48
num_leds: 1
rmt_channel: 0
chipset: ws2812
entity_category: config