iobroker.assistant 1.15.2 → 1.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/admin/i18n/de.json +5 -1
- package/admin/i18n/en.json +5 -1
- package/admin/i18n/es.json +5 -1
- package/admin/i18n/fr.json +5 -1
- package/admin/i18n/it.json +5 -1
- package/admin/i18n/nl.json +5 -1
- package/admin/i18n/pl.json +5 -1
- package/admin/i18n/pt.json +5 -1
- package/admin/i18n/ru.json +5 -1
- package/admin/i18n/uk.json +5 -1
- package/admin/i18n/zh-cn.json +5 -1
- package/admin/jsonConfig.json +15 -3
- package/build/lib/music.js +7 -2
- package/build/lib/music.js.map +1 -1
- package/build/lib/quick.js +1 -1
- package/build/lib/quick.js.map +1 -1
- package/build/lib/voice/aws.js +33 -3
- package/build/lib/voice/aws.js.map +1 -1
- package/build/lib/voice/azure.js +34 -0
- package/build/lib/voice/azure.js.map +1 -1
- package/build/lib/voice/fallback.js +4 -0
- package/build/lib/voice/fallback.js.map +1 -1
- package/build/lib/voice/openrouter.js +4 -0
- package/build/lib/voice/openrouter.js.map +1 -1
- package/build/lib/voice/piper.js +4 -0
- package/build/lib/voice/piper.js.map +1 -1
- package/build/lib/voice/speechLanguage.js +87 -0
- package/build/lib/voice/speechLanguage.js.map +1 -1
- package/build/lib/voice/tts.js +4 -0
- package/build/lib/voice/tts.js.map +1 -1
- package/build/lib/voice/ttsCache.js +3 -0
- package/build/lib/voice/ttsCache.js.map +1 -1
- package/build/lib/voice/voiceGender.js +186 -0
- package/build/lib/voice/voiceGender.js.map +1 -0
- package/build/lib/youtube.js +1 -1
- package/build/lib/youtube.js.map +1 -1
- package/build/main.js +102 -9
- package/build/main.js.map +1 -1
- package/io-package.json +14 -14
- package/package.json +1 -1
package/io-package.json
CHANGED
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "assistant",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.16.0",
|
|
5
5
|
"news": {
|
|
6
|
+
"1.16.0": {
|
|
7
|
+
"en": "Gender of the voice: the table \"Voice per answer language\" has a column \"Voice gender\", and the assistant speaks of itself in the form of its voice (a female Russian voice says «я сделала», not «я сделал») — in the instructions of the cloud LLM and pi-agent and in the fixed Russian answers\n\"Automatic\" takes the gender from the voice list of Azure and AWS, or from the name of a known voice (OpenAI, Piper, Gemini, ElevenLabs, HeyGen and Kokoro on OpenRouter); the log tells at the start what was found",
|
|
8
|
+
"de": "Geschlecht der Stimme: Die Tabelle „Stimme pro Antwortsprache“ hat eine Spalte „Geschlecht“, und der Assistent spricht von sich selbst (eine russische Frauenstimme sagt „, nicht „“) — in den Anweisungen von Cloud LLM und Pi-Agent und in den festen russischen Antworten\n„Automatic“ entnimmt das Geschlecht der Sprachliste von Azure und AWS oder dem Namen einer bekannten Stimme (OpenAI, Piper, Gemini, ElevenLabs, Heygen und Kokoro auf OpenRouter); das Log sagt am Anfang, was gefunden wurde",
|
|
9
|
+
"ru": "Пол голоса: в таблице «Голос на каждый язык ответа» есть колонка «Пол голоса», а ассистент говорит о себе в форме голоса (женский русский голос говорит «я была», а не «я») — в инструкциях облака LLM и pi-agent и в фиксированных русских ответах\n«Автоматически» определяет пол из голосового списка Azure и AWS или из имени известного голоса (OpenAI, Piper, Gemini, ElevenLabs, HeyGen и Kokoro на OpenRouter); в журнале с самого начала указывается, что было обнаружено",
|
|
10
|
+
"pt": "Gênero da voz: a tabela “Voz por idioma de resposta” tem uma coluna “Gênero da voz”, e a assistente fala de si mesma na forma de sua voz (uma voz feminina russa diz “”, não “”) — nas instruções da nuvem LLM e pi-agent e nas respostas fixas em russo\n“Automático” tira o gênero da lista de vozes do Azure e AWS ou do nome de uma voz conhecida (OpenAI, Piper, Gemini, ElevenLabs, HeyGen e Kokoro no OpenRouter); o log informa no início o que foi encontrado",
|
|
11
|
+
"nl": "Geslacht van de stem: in de tabel „Stem per antwoordtaal” staat een kolom „Geslacht van de stem”, en de assistent spreekt over zichzelf in de vorm van haar stem (een Russische vrouwenstem zegt „”, niet „”) — in de instructies van de cloud LLM en pi-agent en in de vaste Russische antwoorden\n„Automatic” haalt het geslacht uit de stemlijst van Azure en AWS, of uit de naam van een bekende stem (OpenAI, Piper, Gemini, ElevenLabs, HeyGen en Kokoro op OpenRouter); in het logboek staat aan het begin wat er is gevonden",
|
|
12
|
+
"fr": "Sexe de la voix : le tableau « Voix par langue de réponse » comporte une colonne « Genre de la voix », et l'assistant parle de lui-même sous la forme de sa voix (une voix russe dit « сселалала ») — dans les instructions du cloud LLM et pi-agent et dans les réponses fixes en russe\n« Automatic » extrait le sexe de la liste vocale d'Azure et AWS, ou du nom d'une voix connue (OpenAI, Piper, Gemini, ElevenLabs, HeyGen et Kokoro sur OpenRouter) ; le journal indique au début ce qui a été trouvé",
|
|
13
|
+
"it": "Genere della voce: la tabella «Voce per lingua di risposta» ha una colonna «Genere della voce» e l'assistente parla di sé nella forma della sua voce (una voce russa femminile dice «maiuscola», non «maiuscola») — nelle istruzioni del cloud LLM e pi-agent e nelle risposte fisse in russo\n«Automatico» prende il sesso dalla lista vocale di Azure e AWS o dal nome di una voce nota (OpenAI, Piper, Gemini, ElevenLabs, HeyGen e Kokoro su OpenRouter); il log indica all'inizio cosa è stato trovato",
|
|
14
|
+
"es": "Género de la voz: la tabla «Voz por idioma de respuesta» tiene una columna «Género de la voz» y el asistente habla por sí mismo con la forma de su voz (una voz femenina rusa dice «», no «», no «»), según las instrucciones del LLM y pi-agent en la nube y en las respuestas fijas en ruso\n«Automático» toma el género de la lista de voces de Azure y AWS o del nombre de una voz conocida (OpenAI, Piper, Gemini, ElevenLabs, HeyGen y Kokoro en OpenRouter); el registro indica al principio lo que se encontró",
|
|
15
|
+
"pl": "Płeć głosu: tabela „Głos na język odpowiedzi” ma kolumnę „Płeć głosu”, a asystent mówi o sobie w formie swojego głosu (żeński rosyjski głos mówi „я сделала”, a nie „я сделал”) — w instrukcjach chmury LLM i pi-agent oraz w ustalonych rosyjskich odpowiedziach\n„Automatyczny” pobiera płeć z listy głosowej platformy Azure i AWS lub z nazwy znanego głosu (OpenAI, Piper, Gemini, ElevenLabs, HeyGen i Kokoro na OpenRouter); dziennik informuje na początku, co zostało znalezione",
|
|
16
|
+
"uk": "Стать голосу: таблиця «Голос за мову відповіді» має колонку «Гендер голосу», а помічник говорить про себе у вигляді свого голосу (жіночий російський голос говорить «я сделала», а не «я сделал») — в інструкціях хмари LLM і pi-агента і у фіксованих російських відповідях\n«Автоматичний» бере стать із голосового списку Azure та AWS, або від імені відомого голосу (OpenAI, Piper, Gemini, ElevenLabs, HeyGen та Kokoro на OpenRouter); журнал повідомляє на початку, що було знайдено",
|
|
17
|
+
"zh-cn": "语音的性别:“每个答案语言的配音” 表中有一列 “语音性别”,助手以自己的声音形式说话(俄语女声说 “q ¿án”,而不是 “q cáán”)—— 按照云端 LLM 和 pi-agent 的说明以及固定的俄语答案\n“自动” 从 Azure 和 AWS 的语音列表中获取性别,或者取自已知声音的名称(OpenAI、Piper、Gemini、ElevenLabs、HeyGen 和 OpenRouter 上的 Kokoro);日志一开始就告诉了发现了什么"
|
|
18
|
+
},
|
|
6
19
|
"1.15.2": {
|
|
7
20
|
"en": "Measurement and window questions are answered by the rules only when they ask nothing more: \"how much does the temperature vary in deserts?\" or a place that is no room of the house goes to the LLM instead of getting the values of every room. Common room words find a room named in another language (the Russian word for kitchen finds the room named in German), in their own forms only\nA Russian answer with German device names is spoken by the Russian voice, an English sentence with a Russian name by the English one\nAnnouncements: `tts.text` and `satellites.<id>.tts` are acknowledged (`ack: true`) once a satellite got the text; an announcement nobody received stays unacknowledged\nMCP tools (`@iobroker/mcp-server` 1.10.1): `set_object` no longer deletes the protected settings of an instance (e.g. the login and password of cloud and iot) and stores a new password (`encryptedNative`) encrypted",
|
|
8
21
|
"de": "Mess- und Fensterfragen beantworten die Regeln nur, wenn sie nichts weiter sagen: „Wie stark schwankt die Temperatur in Wüsten?“ oder ein Ort, der kein Zimmer im Haus ist, geht an den LLM, statt die Werte jedes Zimmers. Gewöhnliche Raumwörter finden einen Raum in einer anderen Sprache (das russische Wort für Küche), nur in ihrer eigenen Form\nEine russische Antwort mit deutschen Gerätenamen wird russisch gesprochen, ein englischer Satz mit russischem Namen\nAnkündigungen: `TTS.TEXT` UND `SATELES. <id>.TTS` werden bestätigt (`ack: true`), sobald ein Satellit den Text hat; eine Nachricht bleibt unbestätigt\nMCP tools (`@iobroker /mcp-server` 1.10.1): `set_object` löscht nicht mehr die geschützten Einstellungen einer Instanz (z. B. Cloud und IoT) und speichert ein neues Passwort (`EncryptedNative`) verschlüsselt",
|
|
@@ -80,19 +93,6 @@
|
|
|
80
93
|
"pl": "Język głosu na odpowiedź: język jest teraz rozwijaną. Język wybrany z sugestii został zapisany jako jego etykieta (np. „de — Deutsch”) i wiersz nigdy nie był używany; takie wiersze otrzymują kod języka na pierwszym uruchomieniu\nŻądania mówione: rozpoznawanie mowy nie czeka już na nazwy urządzeń, które otrzymuje jako wskazówki (do 3 s na dużych instalacjach za każdym razem, gdy minęła minuta od ostatniego żądania); ostatnia lista jest używana podczas tworzenia nowej\nSzczegóły żądania: krok rozpoznawania mowy pokazuje język, który naprawdę otrzymał (język wake) i instancję IOBroker.Voice zamiast niepowiązanego modelu Vosk; etap syntezy mowy pokazuje głos, model i język, który naprawdę mówił (rząd „głosu na język odpowiedzi” lub rezerwa) zamiast głównego głosu ustawień",
|
|
81
94
|
"uk": "Мова голосу за відповіддю: мова тепер розкривається. Мова, вибрана з пропозицій, була збережена як її мітка (наприклад, «de — Deutsch»), і рядок ніколи не використовувався; такі рядки отримують код мови при першому запуску\nВимовні запити: розпізнавання мови більше не чекає назв пристроїв, які він отримує як підказки (до 3 с на великих установках щоразу, коли минула хвилина з моменту останнього запиту); останній список використовується під час побудови нового\nДеталі запиту: крок розпізнавання мовлення показує мову, яку вона дійсно отримала (мова слова пробудження) та екземпляр IObroker.Voice замість непов'язаної моделі Vosk; крок синтезу мови показує голос, модель та мову, які дійсно говорили (рядок «голос за мову відповіді» або резерв) замість основного голосу налаштувань",
|
|
82
95
|
"zh-cn": "每个答案的语音语言:该语言现在是一个下拉列表。从建议中选取的语言被保存为其标签(例如 “de — Deutsch”),该行从未使用过;此类行在首次启动时会获得语言代码\n口头请求:语音识别不再等待它作为提示获得的设备名称(自上次请求以来每次经过一分钟,大型设备最多需要 3 秒);生成新列表时使用最后一个列表\n请求详情:语音识别步骤显示其实际得到的语言(唤醒词的语言)和 iobroker.Voice 实例,而不是无关的 Vosk 模型;语音合成步骤显示的是真正说话的语音、模型和语言(一排 “每个答案的语音语言” 或保留语言),而不是设置的主语音"
|
|
83
|
-
},
|
|
84
|
-
"1.12.0": {
|
|
85
|
-
"en": "Device commands can be understood by the adapter smart-text2command instead of the built-in rules (tab Commands, \"Device commands understood by\"): it runs only the actions approved there and asks back when the room or the device is unclear; the next utterance of the same satellite or chat answers. What it does not understand goes on to the local and the cloud model; timers, alarms, time, weather and volume stay with the built-in rules\nNew first tab \"Flow\": the way of a request as a diagram (sources → speech recognition → local decision → local LLM → cloud LLM / pi-agent → speech output), each step can be set up with a click",
|
|
86
|
-
"de": "Der Adapter smart-text2command versteht Gerätebefehle statt der eingebauten Regeln (Tab Befehle, „Gerätebefehle verstanden von“): Er führt nur die dort genehmigten Aktionen aus und fragt zurück, wenn der Raum oder das Gerät unklar ist; der nächste Satellit oder Chat antwortet. Was es nicht versteht, gilt für das lokale und das Cloud-Modell; Timer, Alarme, Wetter und Lautstärke folgen den Regeln\nNeuer erster Tab „Flow“: Der Weg einer Anfrage als Diagramm (Quellen → Spracherkennung → Lokal LLM → Cloud LLM/Pi-Agent → Sprachausgabe), jeder Schritt kann mit einem Klick eingerichtet werden",
|
|
87
|
-
"ru": "Команды устройства можно понять с помощью команды adapter smart-text2command вместо встроенных правил (вкладка «Команды устройства, понятные»): она выполняет только те действия, которые там одобрены, и запрашивает ответ, когда комната или устройство непонятны; следующее высказывание того же спутника или чата отвечает. То, чего оно не понимает, относится к локальной и облачной модели: таймеры, будильники, время, погода и громкость регулируются по встроенным правилам\nНовая первая вкладка «Поток»: вид запроса в виде диаграммы (источники → распознавание речи → локальное решение → локальное LLM → облачное LLM/pi-agent → вывод речи), каждый шаг можно настроить одним щелчком мыши",
|
|
88
|
-
"pt": "O adaptador smart-text2command entende os comandos do dispositivo em vez das regras embutidas (tab Commands, “Comandos do dispositivo entendidos por”): ele executa somente as ações aprovadas e pergunta quando a sala ou o dispositivo não estão limpos; o próximo trecho do mesmo satélite ou chat responde. O que ele não entende vai para o modelo local e de nuvem; timers, alarmes, hora, clima e volume seguem as regras embutidas\nNova primeira aba “Flow”: diagrama (fontes → reconhecimento de voz → decisão local → LLM local → cloud LLM/pi-agent → saída de voz), cada etapa pode ser configurada com um clique",
|
|
89
|
-
"nl": "Apparaatopdrachten kunnen worden begrepen door de adapter smart-text2command in plaats van de ingebouwde regels (tab Opdrachten, „Apparaatopdrachten begrepen door”): de adapter voert alleen de acties uit die daar zijn goedgekeurd en vraagt terug wanneer de ruimte of het apparaat onduidelijk is; de volgende uiting van dezelfde satelliet- of chatantwoorden. Wat het niet begrijpt, heeft betrekking op het lokale model en het cloudmodel; timers, alarmen, tijd, weer en volume blijven bij de ingebouwde regels\nHet nieuwe eerste tabblad „Flow”: de manier van een aanvraag als diagram (bronnen → spraakherkenning → lokale beslissing → lokale LLM → cloud LLM/pi-agent → spraakuitvoer), elke stap kan met één klik worden ingesteld",
|
|
90
|
-
"fr": "Les commandes de l'appareil peuvent être comprises par l'adaptateur smart-text2command au lieu des règles intégrées (onglet Commandes, « Commandes de l'appareil comprises par ») : il exécute uniquement les actions qui y sont approuvées et demande quand la pièce ou l'appareil ne sont pas clairs ; à la prochaine réponse par satellite ou chat. Ce qu'il ne comprend pas, c'est le modèle local et le cloud ; les minuteries, les alarmes, l'heure, la météo et le volume suivent les règles intégrées\nNouveau premier onglet « Flow » : le mode de requête sous forme de schéma (sources → reconnaissance vocale → décision locale → LLM local → LLM cloud/pi-agent → sortie vocale), chaque étape peut être configurée en un clic",
|
|
91
|
-
"it": "I comandi del dispositivo possono essere compresi dall'adattatore smart-text2command anziché dalle regole integrate (scheda Comandi, «Comandi del dispositivo compresi»): esegue solo le azioni approvate e chiede se la stanza o il dispositivo non sono chiari. Ciò che non capisce va al modello locale e cloud; timer, allarmi, ora, meteo e volume seguono le regole integrate\nNuova scheda «Flow»: schema della richiesta (fonti → riconoscimento vocale → decisione locale → LLM locale → LLM cloud/pi-agent → output vocale), ogni fase è impostabile con un clic",
|
|
92
|
-
"es": "El adaptador smart-text2command puede entender los comandos del dispositivo en lugar de las reglas integradas (pestaña Comandos, «Comandos del dispositivo entendidos por»): solo ejecuta las acciones aprobadas allí y pregunta cuando la habitación o el dispositivo no están claros; la siguiente frase del mismo satélite o chat responde. Lo que no entiende pasa al modelo local y de nube; los temporizadores, alarmas, hora, clima y volumen siguen las normas integradas\nNueva primera pestaña «Flujo»: la forma de una solicitud como diagrama (fuentes → reconocimiento de voz → decisión local → LLM local → LLM en la nube/pi-agent → salida de voz), cada paso se puede configurar con un clic",
|
|
93
|
-
"pl": "Polecenia urządzenia mogą być zrozumiane przez adapter smart-text2command zamiast wbudowanych reguł (zakładka Polecenia, „Polecenia urządzenia rozumiane przez”): uruchamia tylko zatwierdzone tam czynności i pyta z powrotem, gdy pokój lub urządzenie są niejasne; następna wypowiedź tego samego satelity lub czatu odpowiada. To, czego nie rozumie, dotyczy modelu lokalnego i chmury; timery, alarmy, czas, pogoda i głośność pozostają zgodnie z wbudowanymi regułami\nNowa pierwsza zakładka „Przepływ”: sposób żądania jako diagramu (źródła → rozpoznawanie mowy → decyzja lokalna → lokalna LLM → chmura LLM/pi-agent → wyjście mowy), każdy krok można skonfigurować jednym kliknięciem",
|
|
94
|
-
"uk": "Команди пристрою можна зрозуміти адаптером smart-text2command замість вбудованих правил (вкладка Команди, «Команди пристрою розуміються»): він запускає тільки схвалені там дії і запитує назад, коли кімната або пристрій незрозумілі; наступне висловлювання того ж супутника або відповіді чату. Те, що він не розуміє, йде на локальну та хмарну модель; таймери, будильники, час, погода та гучність залишаються за вбудованими правилами\nНова перша вкладка «Flow»: спосіб запиту у вигляді діаграми (джерела → розпізнавання мови → локальне рішення → локальне LLM → cloud LLM/pi-agent → мовний вихід), кожен крок можна налаштувати одним клацанням миші",
|
|
95
|
-
"zh-cn": "设备命令可以由适配器 smart-text2command 来理解,而不是内置规则(“命令选项卡,“设备命令理解者”):它仅运行那里批准的操作,并在房间或设备不清楚时回问;下一次发出相同的卫星或聊天答案。它不理解的是本地和云端模型;计时器、警报、时间、天气和音量都遵循内置规则\n新的第一个选项卡 “Flow”:请求方式示意图(来源 → 语音识别 → 本地决策 → 本地 LLM → 云 LLM/pi-agent → 语音输出),每个步骤都可以点击设置"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"titleLang": {
|