-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Piper add-on custom voices cannot be selected in Settings > Addons > Piper > Configuration #3914
Comments
This thread is probably useful: https://community.home-assistant.io/t/how-to-install-custom-piper-voice-model-on-haos-installation/617267/5 |
While I would still like this issue to be addressed, after some further exploring I found I was able to make use of my custom voice in my own automations by doing the following:
Calling this script successfully renders the message in the custom voice. |
To simplify the use of custom voices and make it possible to call them like any other TTS service, Service script:
To make Bob say whatever you like, make scripts like
|
For anyone who is here because they are struggling with this issue, I just wrote a fairly comprehensive guide to using custom piper voices in Home Assistant OS. It can be found here. |
Describe the issue you are experiencing
I have some custom piper models that I built with TextyMcSpeechy which I want to use with my automations in home assistant. These are stored in
/share/piper
and they appear correctly in Settings > Voice Assistants when I create Assistant entities. They also produce speech properly when tested under that system.I want to be able to use these voices in my own automations, but there is no mechanism for adding them to the dropdown in Addons > Piper > Configuration > Voice, which determines the system-wide voice.
I presume this is because this list is hardcoded somewhere like config.yaml which is located inside the Piper add-on's docker container, which cannot be edited from the Home Assistant OS webui.
Edit: the Wyoming integration may also be a possible culprit here as it seems to be downloading its own list of voices in
voices.json
from huggingface.It would be useful if :
/share/piper
on startup.What type of installation are you running?
Home Assistant OS
Which operating system are you running on?
Home Assistant Operating System
Which add-on are you reporting an issue with?
Piper
What is the version of the add-on?
1.5.2
Steps to reproduce the issue
en_US-myvoice-medium.onnx and en_US-myvoice-medium.onnx.json
) to /share/piper from within the Home Assistant OS webui.en_US-myvoice-medium
does not appear in the dropdown menu, therefore cannot be selected for use as the system Piper voice.System Health information
System Information
Home Assistant Community Store
AccuWeather
Home Assistant Cloud
Home Assistant Supervisor
Dashboards
Recorder
Anything in the Supervisor logs that might be useful for us?
Anything in the add-on logs that might be useful for us?
Additional information
No response
The text was updated successfully, but these errors were encountered: