#Hi I have a esp32 as voice assist and it
1 messages · Page 1 of 1 (latest)
on_tts_start: # this is required to play the output on a media player
- homeassistant.service:
service: tts.speak
data:
entity_id: tts.piper_2 #replace this with your piper tts id.
media_player_entity_id: media_player.raspiaudio_muse_luxe_a7396c_raspiaudio_muse_luxe_a7396c #, media_player.esp32_speaker_cf5e80_esp32_speaker_cf5e80 #replace this with your media player entity id
message: !lambda 'return x;'
Uhm... what? Are you using a Muse Luxe? Where did you get the idea to call a HA service?
Anyway... this is how you should do it. Play the incoming audio on the onboard media_player, not pass the text to the TTS again https://gist.github.com/tetele/5cac735174527c3b373b10db8d9c8d77#file-muse-luxe-yaml-L136
on_tts_end