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
Thanks @AnthonyJWinslow !
It actually solves the TTS which didn't work.
However it creates 3 new problems vs the original Yaml from @tetele :
[17:33:34]Bets Jun 8 2016 00:22:57 [17:33:34] [17:33:34]rst:0x1 (POWERON_RESET),boot:0x0 (DOWNLOAD_BOOT(UART0/UART1/SDIO_FEI_FEO_V2)) [17:33:34]waiting for download
And there is also still the same (and old) problem about the battery status that is not working properly (% does not match reality for instance it shows 5% whereas it's fully charged in reality)
Any idea ? Anyone seeing the same cc @MacrosorcH (I didn't change a word from the YAML) ?