forked from esphome/media-players
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathm5stack-atom-echo.yaml
58 lines (48 loc) · 988 Bytes
/
m5stack-atom-echo.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
substitutions:
name: "m5stack-atom-echo"
friendly_name: "M5Stack Atom Echo"
wifi_ap_password: ""
esphome:
name: "${name}"
name_add_mac_suffix: true
project:
name: m5stack.atom-echo
version: "1.0"
esp32:
board: m5stack-atom
framework:
type: arduino
logger:
api:
ota:
dashboard_import:
package_import_url: github://esphome/media-players/m5stack-atom-echo.yaml@main
wifi:
ap:
password: "${wifi_ap_password}"
captive_portal:
improv_serial:
media_player:
- platform: i2s_audio
id: media_out
name: ${friendly_name}
dac_type: external
i2s_lrclk_pin: GPIO33
i2s_dout_pin: GPIO22
i2s_bclk_pin: GPIO19
mode: mono
binary_sensor:
- platform: gpio
pin:
number: GPIO39
inverted: true
name: ${friendly_name} Button
on_click:
- media_player.toggle: media_out
light:
- platform: fastled_clockless
name: ${friendly_name}
pin: GPIO27
chipset: SK6812
num_leds: 1
rgb_order: grb