Repository navigation
Expand file tree
/
Copy pathesp32-standalone.yaml
More file actions
150 lines (135 loc) · 4.23 KB
/
Copy pathesp32-standalone.yaml
File metadata and controls
150 lines (135 loc) · 4.23 KB
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
esphome:
name: esp32-standalone
friendly_name: ESP32-Standalone
esp32:
board: esp32-s3-devkitc-1
framework:
type: esp-idf
# Enable logging
logger:
level: VERBOSE
initial_level: INFO
baud_rate: 0
hardware_uart: UART1
select:
- platform: logger
name: "Log level"
# Enable Home Assistant API
api:
encryption:
key: !secret api_encryption_key
captive_portal:
ota:
platform: esphome
password: !secret ota_password
substitutions:
entity_room_temperature: "sensor.durchschnittstemperatur_haus_ohne_keller"
entity_humidity: "sensor.durchschnitt_luftfeuchtigkeit_haus"
timezone: "Europe/Berlin"
#can_bus_bit_rate: 50kbps
#espclient_can_id: 0x6a2
external_components:
- source:
type: git
url: https://github.com/kr0ner/OneESP32ToRuleThemAll
ref: master
components: ["wp_core", "wp_climate", "sml_reader"]
refresh: 1h
#########################################
# #
# SPI configuration #
# #
#########################################
#spi:
# id: McpSpi
# clk_pin: GPIO14
# mosi_pin: GPIO13
# miso_pin: GPIO4
#########################################
# #
# CAN configuration #
# #
#########################################
# Using MCP2515
#canbus:
# - id: !extend wp_can
# platform: mcp2515
# spi_id: McpSpi
# cs_pin: GPIO15
# clock: 8MHz # 8MHz or 16MHz depending on the value of the crystal on your MCP2515
# data_rate: 4MHz # 8Mhz (4MHz, 2MHz or 1MHz in case you get CAN bus errors)
# Waveshare Industrial ESP32-S3 Control Board
canbus:
- id: !extend wp_can
platform: esp32_can
tx_pin: GPIO15
rx_pin: GPIO16
rx_queue_len: 512 # Default: 8, increased for high-traffic CAN bus
tx_queue_len: 64 # Default: 16, increased for burst writes
#########################################
# #
# Buttons #
# #
#########################################
button:
- platform: restart
name: "Restart ESP32-Standalone"
#########################################
# #
# WiFi Configuration #
# #
#########################################
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "ESP32-Standalone Fallback AP"
password: !secret fallback_password
#########################################
# #
# Ethernet Konfiguration #
# #
#########################################
#ethernet:
# type: LAN8720
# mdc_pin: GPIO23
# mdio_pin: GPIO18
# clk:
# pin: GPIO0
# mode: CLK_OUT
# phy_addr: 0
# power_pin: GPIO12
#########################################
# #
# Packages #
# #
#########################################
packages:
- url: https://github.com/kr0ner/OneESP32ToRuleThemAll
ref: master
refresh: 1h
files:
# - "/yaml/thz304.yaml"
# - "yaml/thz404.yaml"
- "yaml/thz504.yaml"
# - "yaml/thz5_5_eco.yaml"
# - "yaml/ttf07.yaml"
# - "yaml/wpl13.yaml"
# - "yaml/wpl17.yaml"
# - "yaml/wpl23.yaml"
# - "yaml/features/fan.yaml"
# - "yaml/features/kondensatpumpe.yaml"
# - "yaml/features/energymeter.yaml"
# - "yaml/features/watermeter.yaml"
# - "yaml/features/sg_ready.yaml"
# - "yaml/features/evu.yaml"
#
# This sends anonymous data to an MQTT server:
# - Events: Triggered by switch/setting changes.
# - Telemetry: Every 15 minutes for standard sensors (custom sensors are NEVER exposed!).
# A unique Device ID will be visible as a sensor. This can be used to access the Grafana dashboard and compare your data with the community.
# To opt-in to community stats, uncomment the lines below and remember to change the district.
# - path: "yaml/features/analytics.yaml"
# vars:
# district: '"Landkreis"'