You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
1.1 KiB
63 lines
1.1 KiB
11 months ago
|
substitutions:
|
||
|
hostname: bedroom-atom-echo
|
||
|
friendly_name: Bedroom Speaker
|
||
|
|
||
|
packages:
|
||
|
base: !include common/base.yaml
|
||
|
sensors: !include common/basicSensors.yaml
|
||
|
|
||
|
esphome:
|
||
|
name: ${hostname}
|
||
|
build_path: ./build/${hostname}
|
||
|
friendly_name: ${friendly_name}
|
||
|
|
||
|
wifi:
|
||
|
use_address: 192.168.10.34
|
||
|
|
||
|
esp32:
|
||
|
board: m5stack-atom
|
||
|
|
||
|
improv_serial:
|
||
|
|
||
|
i2s_audio:
|
||
|
i2s_lrclk_pin: GPIO33
|
||
|
i2s_bclk_pin: GPIO19
|
||
|
|
||
|
speaker:
|
||
|
- platform: i2s_audio
|
||
|
id: echo_speaker
|
||
|
i2s_dout_pin: GPIO22
|
||
|
dac_type: external
|
||
|
mode: mono
|
||
|
|
||
|
media_player:
|
||
|
- platform: i2s_audio
|
||
|
id: echo_media
|
||
|
name: None
|
||
|
dac_type: external
|
||
|
i2s_dout_pin: GPIO22
|
||
|
|
||
|
binary_sensor:
|
||
|
- platform: gpio
|
||
|
pin:
|
||
|
number: GPIO39
|
||
|
inverted: true
|
||
|
name: Button
|
||
|
id: echo_button
|
||
|
|
||
|
light:
|
||
|
- platform: esp32_rmt_led_strip
|
||
|
id: led
|
||
|
name: light
|
||
|
entity_category: config
|
||
|
pin: GPIO27
|
||
|
default_transition_length: 0s
|
||
|
chipset: SK6812
|
||
|
num_leds: 1
|
||
|
rgb_order: grb
|
||
|
rmt_channel: 0
|
||
|
effects:
|
||
|
- pulse:
|
||
|
transition_length: 250ms
|
||
|
update_interval: 250ms
|