Hey!
So ive been also trying to get a multi language for the Voice PE, been searching far and wide but did not really find anything…
I dont know if this will be useful for anyone or if its the most efficient way.
I created a different pipline for each language (im using the Gemini API for them)
Now i can give a voice command to change the language back and forth between Estonian, Russian, and English.
Though I always have to say “Hey Jarvis” regardless of the current language and to change the language between them i have to use the current language, it works.
Could be improved upon to change the language to English after a certain time frame, and the wake word could be change the same way for each language.
Hope this helps - here is the automation (someone can probably turn it into a blueprint)
alias: Change Voice Assistant Language
description: Changes the voice assistant language based on voice commands.
triggers:
- command:
- Estonian
- эстонский
- Eesti keel
trigger: conversation
id: "0"
- command:
- Russian
- Vene keel
trigger: conversation
id: "1"
- command:
- English
- Inglise keel
- английский
trigger: conversation
id: "2"
conditions: []
actions:
- choose:
- conditions:
- condition: trigger
id: 0
sequence:
- data:
entity_id: select.voice_pe_assistant
option: Jarvis(Gem) Est
action: select.select_option
- conditions:
- condition: trigger
id: 1
sequence:
- data:
entity_id: select.voice_pe_assistant
option: Jarvis(Gem) Rus
action: select.select_option
- conditions:
- condition: trigger
id: 2
sequence:
- data:
entity_id: select.voice_pe_assistant
option: Jarvis(Gem) Eng
action: select.select_option
mode: single