-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathesp32-2424s012.yaml
77 lines (60 loc) · 1.47 KB
/
esp32-2424s012.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
substitutions:
NODE: "Kitchen Display"
TEXT_TITLE: "CatsLair"
FONT_SIZE_CLOCK: "52"
FONT_SIZE_BIG: "30"
FONT_SIZE_ICONS: "60"
<<: !include packages/fonts_subs.yaml
packages:
ha: github://jaredquinn/esphome-wx/packages/ha_sensors_mini.yaml
internal: github://jaredquinn/esphome-wx/packages/internal_sensors.yaml
fonts: github://jaredquinn/esphome-wx/packages/fonts.yaml
esphome:
name: screenkitchen
# This device is a ESP32-C3 RISC-V based MCU.
esp32:
board: esp32-c3-devkitm-1
variant: esp32c3
framework:
type: arduino
# See README.md the components directory, this is a modified version
# of a previous ESPhome PR
external_components:
- source: components
components: ["gc9a01"]
<<: !include common_network.yaml
logger:
level: DEBUG
# Touchscreen is on an I2C device, supporting coming soon?!?
i2c:
- sda: GPIO4
scl: GPIO5
scan: true
id: bus_a
spi:
mosi_pin: GPIO7
miso_pin: GPIO2
clk_pin: GPIO6
output:
- platform: ledc
pin: GPIO3
id: backlight_pin
light:
- platform: monochromatic
output: backlight_pin
name: "${NODE} Display Backlight"
id: back_light
restore_mode: ALWAYS_ON
# Touchscreen support is a work in progress on this device
# See the readme for more information
#touchscreen:
# platform: cst816s
# interrupt_pin: GPIO0
# reset_pin: GPIO1
display:
- platform: gc9a01
cs_pin: GPIO10
dc_pin: GPIO2
rotation: 90
update_interval: 50ms
<<: !include includes/display_lambda_mini.yaml