The purpose of this ESPHome config is to be able to use the Raspiaudio Muse Luxe as a voice assistant satellite in Home Assistant.
- wake word, push to talk and continuous conversation support
- response playback
- service exposed in HA to start and stop the voice assistant from another device/trigger
- visual feedback of the recording/success/error status via the Luxe's onboard LED
- Home Assistant 2023.10.0 or newer
- A voice assistant configured in HA with STT and TTS in a language of your choice
- ESPHome 2023.10.1 or newer
- the
media_player
component in ESPHome does not play raw audio coming from Piper TTS. It works with cloud STT, though - the battery percentage is calculated using info from this Reddit post, which either doesn't seem to be very accurate or it relies on inaccurate ADC values from the ESP.
Edit your config and paste the one below. Double check Wifi connection details, API encryption key and device name/friendly name to make sure you use your own.
Add a new ESP32 device in ESPHome, using the configuration below.
Compile and install the firmware on the speaker. If auto discovery is turned on, the device should appear in Home Assistant automatically. Otherwise, check out this guide.
- Muse Luxe pinout from here https://github.com/RASPIAUDIO/Simple_Bluetooth_Speaker_ESP32
- Base ESPHome config from here https://github.com/esphome/media-players/blob/main/raspiaudio-muse-luxe.yaml
- A basic voice assistant config from here https://forum.raspiaudio.com/t/muse-luxe-voice-assistant-now-possible/726/14?u=tetele
New to github but I think I fixed the issue @monsieurlatte . Looks like its something to do with how the current code is handling muting the dac:
I simply removed all references of dac_mute and used mute_pin from media-players/raspiaudio-muse-luxe.yaml:
This fixed my issue. dont forget to remove
- output.turn_on: dac_mute
from esphome: as well.I am still receiving the following error BUT the audio from TTS is at least playing:
EDIT: Guess I should include the whole thing...
EDIT 2: After sleeping on it and looking at some other examples, this is my latest yaml: