Skip to content

ESPHome Voice Satellite

Donny F edited this page Jun 12, 2024 · 3 revisions

ESPHome voice satellites are fully supported in View Assist. These devices can be mixed in with visual View Assist satellites or you can use all ESPHome audio only devices if you choose. You can gain a lot of extra abilities with your voice only devices as the same View Assist custom sentences will work with both the visual and audio only devices. The custom sentences blueprints have been written in a way that the audio response can be different for the two different types of satellites. In addition, all satellites can take advantage of per device settings and features like timers, alarms, reminders and more. View Assist allows for communication between devices no matter the type.

Assembly

ESPHome voice satellites require a bit of set up but it's not too hard. You CAN do it!

Parts list

  • ESP32S3 device
  • Amplifier
  • Microphone
  • Speaker
  • Dupont wires (optional)
  • Case

Wiring

ws goes to lrclk gpio3 sck goes to bclk gpio2 sd dgoes to din pin gpio4 :thumbs you also need to connect L/R to gnd

i2s_audio:

  • id: i2s_spk i2s_lrclk_pin: GPIO6 i2s_bclk_pin: GPIO7 speaker: i2s_dout_pin: GPIO8 So this is straightforward it looks like. LRC = LRCLK, BCLK=BCLK, DIN=dout

See this image for the device wiring: https://github.com/jlpouffier/voice-assistant-esphome-tutorial/blob/main/wirring.png

Configuration

The ESPHome devices require flashing the device with custom software. This is accomplished by using the ESPHome addon. Here is a video on how to install the addon:

Once installed, the device needs to be configured using code. Here is an example of the code you can use:

Music Assistant setting: In case someone asks it's Settings -> Players -> esp32device -> three dots -> configure -> audio -> Enforce (lossy) mp3 stream

Home Assistant integration

Information for integrating into HA