-
Notifications
You must be signed in to change notification settings - Fork 4
/
wx.yaml
50 lines (41 loc) · 979 Bytes
/
wx.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
substitutions:
NODE: "DIY Display"
TEXT_TITLE: "CatsLair"
FONT_SIZE_CLOCK: "48"
FONT_SIZE_ICONS: "44"
FONT_SIZE_BIG: "26"
FONT_SIZE_TINY: "14"
<<: !include packages/fonts_subs.yaml
spi:
- clk_pin: GPIO18
mosi_pin: GPIO23
miso_pin: GPIO19
id: bus_tft
- clk_pin: GPIO14
mosi_pin: GPIO13
miso_pin: GPIO12
id: bus_ts
packages:
ha: github://jaredquinn/esphome-wx/packages/ha_sensors.yaml
internal: github://jaredquinn/esphome-wx/packages/internal_sensors.yaml
fonts: github://jaredquinn/esphome-wx/packages/fonts.yaml
output:
- platform: gpio
pin: GPIO16
id: gpio_16
light:
- platform: binary
output: gpio_16
name: "Display Backlight"
id: back_light
restore_mode: ALWAYS_ON
display:
- platform: ili9xxx
id: my_display
spi_id: bus_tft
reset_pin: GPIO25
dc_pin: GPIO26
cs_pin: GPIO27
model: ili9341
data_rate: 80MHz
<<: !include includes/display_lambda.yaml