This tutorial explains how to integrate the Voice Pyramid voice base into Home Assistant.


This section explains how to rebuild the Voice Pyramid project from its yaml configuration for secondary development, feature changes, or new functionality.
CONTINUE.
New Device Setup.
NEXT.
ESP32-S3.
SKIP.
EDIT to customize device functions via the YAML file.
Below are the core parts of the configuration. Reference links and descriptions are provided later.
Add PSRAM component:
psram:
mode: octal
speed: 80MHz Add External components:
external_components:
- source: github://m5stack/esphome-yaml/components
components: [aw87559, si5351, lp5562, pyramidrgb, pyramidtouch]
refresh: 0s Add I2C component:
i2c:
- id: bsp_bus
sda: GPIO45
scl: GPIO0
scan: true
- id: ext_bus # For Atomic Voice Base
sda: GPIO38
scl: GPIO39 Add I2S Audio component:
i2s_audio:
- id: i2s_audio_bus
i2s_lrclk_pin: GPIO8
i2s_bclk_pin: GPIO6 Add Audio DAC component:
audio_dac:
- platform: es8311
id: es8311_dac
i2c_id: ext_bus
bits_per_sample: 16bit
sample_rate: 16000 Add Audio ADC component:
audio_adc:
- platform: es7210
id: es7210_adc
i2c_id: ext_bus
address: 0x40
bits_per_sample: 16bit
sample_rate: 16000 Add Microphone component:
microphone:
- platform: i2s_audio
id: i2s_mic
sample_rate: 16000
i2s_din_pin: GPIO5
bits_per_sample: 16bit
adc_type: external
channel: stereo Add Speaker component:
speaker:
- platform: i2s_audio
id: i2s_speaker
i2s_dout_pin: GPIO7
dac_type: external
bits_per_sample: 16bit
sample_rate: 16000
channel: mono
audio_dac: es8311_dac SAVE and INSTALL in the upper right corner, then select Manual Download from the pop-up window.
Factory format(Previously Modern).
CONNECT to connect to the device.
INSTALL.
Settings > Devices & Services to check the device.
Discovered section.
Finally, users can configure various controllable hardware on the Voice Pyramid through the control panel and use the custom wake word (Echo-Pyramid Wake Word) to activate the device, enabling intelligent voice interaction functions such as querying weather, time, and date.