-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathespprint.yaml
54 lines (45 loc) · 1.31 KB
/
espprint.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
substitutions:
# prefix of the sensor names
printer_name: dev
# used for hostname and events. Use only lower case and not whitespaces
printer_name_short: dev
esphome:
name: espprint_${printer_name_short}
platform: ESP32
board: nodemcu-32s
arduino_version: latest
# use secrets.yaml for wifi configuration
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "${printer_name} Fallback Hotspot"
password: !secret fallback_password
captive_portal:
# Enable logging
logger:
level: INFO
# Enable Home Assistant API
api:
services: []
ota:
# GPIO pins and baudrate for uart configuration.
# Do not use UART0 (GPIO1 and GPIO3) for communication with the printer as it is used for logging
# UART1 - TX: GPIO9, RX: GPIO10
# UART2 - TX: GPIO16, RX: GPIO17
uart:
id: uart_bus
tx_pin: GPIO16
rx_pin: GPIO17
baud_rate: 115200
rx_buffer_size: 1024
# packages (except common) can be enabled or disabled as needed
# more configuration options can be found in these yaml files
packages:
core: !include config/core.yaml
storage: !include config/storage.yaml
action: !include config/action.yaml
debug: !include config/debug.yaml
#lights: !include config/lights.yaml
#scale: !include config/scale.yaml