Trying to get a custom voice to show up in my Home Assistant and Pipper running as Docker container. Every things works, except the custom voice does not show or can not be used.
I wrote a guide for using custom piper voices with Home Assistant today which explains how to use custom voices in scripts without messing with the contents of the docker container.
Think I forgot to mention that I am running everything as a docker container, including Home Assistant. I am also running multiple satellites and it seem your option outputs to one device.
I can’t help you with issues related to docker but if you need output to go to multiple speakers, you can do that by providing a comma separated list to media_player_entity_id like this:
Got the voice to show up and it seems to be seeing the files. The voice option is now showing as an option. When I select and try to use it seems to try and download the file, but it already in the directory where it downloads the other voices.
Here is the error that it logs:
piper | ERROR:asyncio:Task exception was never retrieved
piper | future: <Task finished name='wyoming event handler' coro=<AsyncEventHandler.run() done, defined at /app/lib/python3.10/site-packages/wyoming/server.py:31> exception=VoiceNotFoundError('George-Carlin-V1')>
piper | Traceback (most recent call last):
piper | File "/app/lib/python3.10/site-packages/wyoming/server.py", line 41, in run
piper | if not (await self.handle_event(event)):
piper | File "/app/lib/python3.10/site-packages/wyoming_piper/handler.py", line 53, in handle_event
piper | raise err
piper | File "/app/lib/python3.10/site-packages/wyoming_piper/handler.py", line 48, in handle_event
piper | return await self._handle_event(event)
piper | File "/app/lib/python3.10/site-packages/wyoming_piper/handler.py", line 83, in _handle_event
piper | piper_proc = await self.process_manager.get_process(voice_name=voice_name)
piper | File "/app/lib/python3.10/site-packages/wyoming_piper/process.py", line 114, in get_process
piper | ensure_voice_exists(
piper | File "/app/lib/python3.10/site-packages/wyoming_piper/download.py", line 77, in ensure_voice_exists
piper | find_voice(name, data_dirs)
piper | File "/app/lib/python3.10/site-packages/wyoming_piper/download.py", line 183, in find_voice
piper | raise VoiceNotFoundError(name)
piper | wyoming_piper.download.VoiceNotFoundError: George-Carlin-V