48 lines
922 B
YAML
48 lines
922 B
YAML
esphome:
|
|
name: smims-voice-assistant
|
|
name_add_mac_suffix: true
|
|
friendly_name: SMIMS Voice Assistant
|
|
|
|
esp32:
|
|
board: esp32dev
|
|
framework:
|
|
type: arduino
|
|
|
|
wifi:
|
|
ssid: !secret wifi_ssid
|
|
password: !secret wifi_password
|
|
|
|
logger:
|
|
|
|
api:
|
|
encryption:
|
|
key: "q0BKFZS0RQNYuQtSBE63aS7e3R5exeBgn0pWdeCPFs0="
|
|
|
|
# I²S für Audioausgabe (Speaker)
|
|
i2s_audio:
|
|
i2s_lrclk_pin: GPIO25
|
|
i2s_bclk_pin: GPIO17
|
|
|
|
media_player:
|
|
- platform: i2s_audio
|
|
name: "ESP32 Speaker"
|
|
dac_type: external
|
|
i2s_dout_pin: GPIO27
|
|
mode: mono
|
|
id: my_speaker
|
|
|
|
# I²S für Mikrofon-Eingang (INMP441)
|
|
microphone:
|
|
- platform: i2s_audio
|
|
id: my_microphone
|
|
adc_type: external
|
|
i2s_din_pin: GPIO32
|
|
|
|
# Voice Assistant Integration in Home Assistant
|
|
voice_assistant:
|
|
microphone: my_microphone
|
|
media_player: my_speaker
|
|
use_wake_word: true
|
|
volume_multiplier: 2.0
|
|
noise_suppression_level: 2
|
|
#auto_gain: true
|