iobroker.telegram 6.3.0 → 6.5.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 +12 -10
- package/admin/i18n/de.json +4 -0
- package/admin/i18n/en.json +4 -0
- package/admin/i18n/es.json +5 -1
- package/admin/i18n/fr.json +4 -0
- package/admin/i18n/it.json +5 -1
- package/admin/i18n/nl.json +4 -0
- package/admin/i18n/pl.json +4 -0
- package/admin/i18n/pt.json +4 -0
- package/admin/i18n/ru.json +4 -0
- package/admin/i18n/uk.json +4 -0
- package/admin/i18n/zh-cn.json +4 -0
- package/admin/jsonConfig.json +23 -0
- package/admin/rules/@mf-types.zip +0 -0
- package/build/help.d.ts +10 -0
- package/build/help.js +77 -0
- package/build/help.js.map +1 -0
- package/build/main.js +103 -15
- package/build/main.js.map +1 -1
- package/build/types.d.ts +4 -0
- package/i18n/de.json +2 -1
- package/i18n/en.json +2 -1
- package/i18n/es.json +2 -1
- package/i18n/fr.json +2 -1
- package/i18n/it.json +2 -1
- package/i18n/nl.json +2 -1
- package/i18n/pl.json +2 -1
- package/i18n/pt.json +2 -1
- package/i18n/ru.json +2 -1
- package/i18n/uk.json +2 -1
- package/i18n/zh-cn.json +2 -1
- package/io-package.json +55 -28
- package/package.json +1 -1
package/build/types.d.ts
CHANGED
|
@@ -34,6 +34,10 @@ export interface TelegramConfig {
|
|
|
34
34
|
assistantInstance: string;
|
|
35
35
|
/** Photos and videos go to the assistant instance too (default on) */
|
|
36
36
|
assistantMedia?: boolean;
|
|
37
|
+
/** Speech recognition instance (ioBroker.ai-parakeet): voice messages are recognised and go on as text */
|
|
38
|
+
speechToText?: string;
|
|
39
|
+
/** Send the recognised text of a voice message back to the chat (default on) */
|
|
40
|
+
speechToTextEcho?: boolean;
|
|
37
41
|
answerTimeoutSec: number;
|
|
38
42
|
url: string;
|
|
39
43
|
bind: string;
|
package/i18n/de.json
CHANGED
|
@@ -20,5 +20,6 @@
|
|
|
20
20
|
"ID \"%s\" not found.": "ID \"%s\" nicht gefunden.",
|
|
21
21
|
"Started!": "Bot gestartet.",
|
|
22
22
|
"uncertain": "unbestimmt",
|
|
23
|
-
"The assistant did not answer in time.": "Der Assistent hat nicht rechtzeitig geantwortet."
|
|
23
|
+
"The assistant did not answer in time.": "Der Assistent hat nicht rechtzeitig geantwortet.",
|
|
24
|
+
"The voice message could not be recognised.": "Die Sprachnachricht konnte nicht erkannt werden."
|
|
24
25
|
}
|
package/i18n/en.json
CHANGED
|
@@ -20,5 +20,6 @@
|
|
|
20
20
|
"ID \"%s\" not found.": "ID \"%s\" not found.",
|
|
21
21
|
"Started!": "Started!",
|
|
22
22
|
"uncertain": "uncertain",
|
|
23
|
-
"The assistant did not answer in time.": "The assistant did not answer in time."
|
|
23
|
+
"The assistant did not answer in time.": "The assistant did not answer in time.",
|
|
24
|
+
"The voice message could not be recognised.": "The voice message could not be recognised."
|
|
24
25
|
}
|
package/i18n/es.json
CHANGED
|
@@ -20,5 +20,6 @@
|
|
|
20
20
|
"ID \"%s\" not found.": "No se encontró el ID \"%s\".",
|
|
21
21
|
"Started!": "¡Empezado!",
|
|
22
22
|
"uncertain": "incierto",
|
|
23
|
-
"The assistant did not answer in time.": "El asistente no respondió a tiempo."
|
|
23
|
+
"The assistant did not answer in time.": "El asistente no respondió a tiempo.",
|
|
24
|
+
"The voice message could not be recognised.": "No se pudo reconocer el mensaje de voz."
|
|
24
25
|
}
|
package/i18n/fr.json
CHANGED
|
@@ -20,5 +20,6 @@
|
|
|
20
20
|
"ID \"%s\" not found.": "ID \"%s\" non trouvé.",
|
|
21
21
|
"Started!": "Commencé!",
|
|
22
22
|
"uncertain": "incertain",
|
|
23
|
-
"The assistant did not answer in time.": "L'assistant n'a pas répondu à temps."
|
|
23
|
+
"The assistant did not answer in time.": "L'assistant n'a pas répondu à temps.",
|
|
24
|
+
"The voice message could not be recognised.": "Le message vocal n'a pas pu être reconnu."
|
|
24
25
|
}
|
package/i18n/it.json
CHANGED
|
@@ -20,5 +20,6 @@
|
|
|
20
20
|
"ID \"%s\" not found.": "ID \"%s\" non trovato.",
|
|
21
21
|
"Started!": "Iniziato!",
|
|
22
22
|
"uncertain": "incerto",
|
|
23
|
-
"The assistant did not answer in time.": "L'assistente non ha risposto in tempo."
|
|
23
|
+
"The assistant did not answer in time.": "L'assistente non ha risposto in tempo.",
|
|
24
|
+
"The voice message could not be recognised.": "Non è stato possibile riconoscere il messaggio vocale."
|
|
24
25
|
}
|
package/i18n/nl.json
CHANGED
|
@@ -20,5 +20,6 @@
|
|
|
20
20
|
"ID \"%s\" not found.": "ID \"%s\" niet gevonden.",
|
|
21
21
|
"Started!": "Begonnen!",
|
|
22
22
|
"uncertain": "onbekend",
|
|
23
|
-
"The assistant did not answer in time.": "De assistent heeft niet op tijd geantwoord."
|
|
23
|
+
"The assistant did not answer in time.": "De assistent heeft niet op tijd geantwoord.",
|
|
24
|
+
"The voice message could not be recognised.": "Het spraakbericht kon niet worden herkend."
|
|
24
25
|
}
|
package/i18n/pl.json
CHANGED
|
@@ -20,5 +20,6 @@
|
|
|
20
20
|
"ID \"%s\" not found.": "Nie znaleziono identyfikatora \"%s\".",
|
|
21
21
|
"Started!": "Rozpoczęty!",
|
|
22
22
|
"uncertain": "nieznany",
|
|
23
|
-
"The assistant did not answer in time.": "Asystent nie odpowiedział na czas."
|
|
23
|
+
"The assistant did not answer in time.": "Asystent nie odpowiedział na czas.",
|
|
24
|
+
"The voice message could not be recognised.": "Nie udało się rozpoznać wiadomości głosowej."
|
|
24
25
|
}
|
package/i18n/pt.json
CHANGED
|
@@ -20,5 +20,6 @@
|
|
|
20
20
|
"ID \"%s\" not found.": "ID \"%s\" não foi encontrado.",
|
|
21
21
|
"Started!": "O bot foi iniciado!",
|
|
22
22
|
"uncertain": "incerto",
|
|
23
|
-
"The assistant did not answer in time.": "O assistente não respondeu a tempo."
|
|
23
|
+
"The assistant did not answer in time.": "O assistente não respondeu a tempo.",
|
|
24
|
+
"The voice message could not be recognised.": "Não foi possível reconhecer a mensagem de voz."
|
|
24
25
|
}
|
package/i18n/ru.json
CHANGED
|
@@ -20,5 +20,6 @@
|
|
|
20
20
|
"ID \"%s\" not found.": "Идентификатор \" %s\" не найден.",
|
|
21
21
|
"Started!": "Бот запущен!",
|
|
22
22
|
"uncertain": "неизвестно",
|
|
23
|
-
"The assistant did not answer in time.": "Ассистент не ответил вовремя."
|
|
23
|
+
"The assistant did not answer in time.": "Ассистент не ответил вовремя.",
|
|
24
|
+
"The voice message could not be recognised.": "Не удалось распознать голосовое сообщение."
|
|
24
25
|
}
|
package/i18n/uk.json
CHANGED
|
@@ -20,5 +20,6 @@
|
|
|
20
20
|
"ID \"%s\" not found.": "Не знайдено ID \"%s\".",
|
|
21
21
|
"Started!": "Почати!",
|
|
22
22
|
"uncertain": "невідомо",
|
|
23
|
-
"The assistant did not answer in time.": "Асистент не відповів вчасно."
|
|
23
|
+
"The assistant did not answer in time.": "Асистент не відповів вчасно.",
|
|
24
|
+
"The voice message could not be recognised.": "Не вдалося розпізнати голосове повідомлення."
|
|
24
25
|
}
|
package/i18n/zh-cn.json
CHANGED
package/io-package.json
CHANGED
|
@@ -1,8 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "telegram",
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.5.0",
|
|
5
5
|
"news": {
|
|
6
|
+
"6.5.0": {
|
|
7
|
+
"en": "Added the message `help`: a description of all messages for AI agents (e.g. pi-agent), and `common.supportedMessages.help`",
|
|
8
|
+
"de": "Die Meldung `help`, eine Beschreibung aller Nachrichten für KI-Agenten (z. B. pi-agent), und `common.supportedMessages.Help` hinzugefügt",
|
|
9
|
+
"ru": "Добавлено сообщение `help`: описание всех сообщений для агентов искусственного интеллекта (например, pi-agent) и `Common.supportedMessages.help`",
|
|
10
|
+
"pt": "Adicionada a mensagem `help`: uma descrição de todas as mensagens dos agentes de IA (p. ex. pi-agent) e `common.supportedMessages.help`",
|
|
11
|
+
"nl": "De boodschap `help` toegevoegd: een beschrijving van alle berichten voor AI-agenten (bijv. pi-agent), en `Common.SupportedMessages.help`",
|
|
12
|
+
"fr": "Ajout du message « help » : description de tous les messages pour les agents IA (p.ex. pi-agent) et de « common.supportedMessages.help »",
|
|
13
|
+
"it": "Aggiunto «help»: una descrizione di tutti i messaggi per gli agenti AI (es. pi-agent) e `common.supportedMessages.help`",
|
|
14
|
+
"es": "Añadió el mensaje `help`: una descripción de todos los mensajes de los agentes de IA (p. ej. pi-agent) y `Common.SupportedMessages.Help`",
|
|
15
|
+
"pl": "Dodano komunikat „help”: opis wszystkich wiadomości dla agentów AI (np. pi-agent) oraz `common.supportedMessages.Help`",
|
|
16
|
+
"uk": "Додано повідомлення `help`: опис усіх повідомлень для агентів штучного інтелекту (наприклад, pi-агент) та `Common.SupportedMessages.help`",
|
|
17
|
+
"zh-cn": "添加了消息 “帮助”:对 AI 代理(例如 pi-agent)的所有消息的描述,以及 “common.supportedMessages.Help”"
|
|
18
|
+
},
|
|
19
|
+
"6.4.0": {
|
|
20
|
+
"en": "Voice messages can be converted to text by an `ai-parakeet` instance (new setting \"Speech recognition instance\"); the text is then processed like a typed message (`communicate.request`, commands, `text2command`, assistant) and also written to the new state `communicate.requestVoiceText`. \"Show the recognised text in the chat\" answers with what was understood (🎤 …)",
|
|
21
|
+
"de": "Sprachnachrichten können von einer `ai-parakeet`-Instanz in Text umgewandelt werden (neue Einstellung „Spracherkennungs-Instanz“); der Text wird dann wie eine getippte Nachricht verarbeitet (`communicate.request`, Befehle, `text2command`, Assistent) und zusätzlich in den neuen State `communicate.requestVoiceText` geschrieben. „Erkannten Text im Chat anzeigen“ antwortet mit dem, was verstanden wurde (🎤 …)",
|
|
22
|
+
"ru": "Голосовые сообщения можно преобразовать в текст с помощью экземпляра `ai-parakeet` (новая настройка «Экземпляр распознавания речи»); затем текст обрабатывается как набранное сообщение (`communicate.request`, команды, `text2command`, ассистент) и также записывается в новое состояние `communicate.requestVoiceText`. «Показывать распознанный текст в чате» отвечает тем, что было понято (🎤 …)",
|
|
23
|
+
"pt": "As mensagens de voz podem ser convertidas em texto por uma instância `ai-parakeet` (nova configuração «Instância de reconhecimento de fala»); o texto é então processado como uma mensagem digitada (`communicate.request`, comandos, `text2command`, assistente) e também gravado no novo estado `communicate.requestVoiceText`. «Mostrar o texto reconhecido no chat» responde com o que foi entendido (🎤 …)",
|
|
24
|
+
"nl": "Spraakberichten kunnen door een `ai-parakeet`-instantie in tekst worden omgezet (nieuwe instelling „Instantie voor spraakherkenning”); de tekst wordt dan verwerkt als een getypt bericht (`communicate.request`, commando’s, `text2command`, assistent) en ook naar de nieuwe state `communicate.requestVoiceText` geschreven. „Herkende tekst in de chat tonen” antwoordt met wat er verstaan is (🎤 …)",
|
|
25
|
+
"fr": "Les messages vocaux peuvent être convertis en texte par une instance `ai-parakeet` (nouveau réglage « Instance de reconnaissance vocale ») ; le texte est ensuite traité comme un message saisi (`communicate.request`, commandes, `text2command`, assistant) et également écrit dans le nouvel état `communicate.requestVoiceText`. « Afficher le texte reconnu dans le chat » répond avec ce qui a été compris (🎤 …)",
|
|
26
|
+
"it": "I messaggi vocali possono essere convertiti in testo da un'istanza `ai-parakeet` (nuova impostazione «Istanza di riconoscimento vocale»); il testo viene poi elaborato come un messaggio digitato (`communicate.request`, comandi, `text2command`, assistente) e scritto anche nel nuovo stato `communicate.requestVoiceText`. «Mostra il testo riconosciuto nella chat» risponde con ciò che è stato capito (🎤 …)",
|
|
27
|
+
"es": "Los mensajes de voz se pueden convertir en texto con una instancia de `ai-parakeet` (nuevo ajuste «Instancia de reconocimiento de voz»); el texto se procesa entonces como un mensaje escrito (`communicate.request`, comandos, `text2command`, asistente) y también se escribe en el nuevo estado `communicate.requestVoiceText`. «Mostrar el texto reconocido en el chat» responde con lo que se ha entendido (🎤 …)",
|
|
28
|
+
"pl": "Wiadomości głosowe mogą być zamieniane na tekst przez instancję `ai-parakeet` (nowe ustawienie „Instancja rozpoznawania mowy”); tekst jest następnie przetwarzany jak wpisana wiadomość (`communicate.request`, polecenia, `text2command`, asystent) i zapisywany także w nowym stanie `communicate.requestVoiceText`. „Pokaż rozpoznany tekst na czacie” odpowiada tym, co zostało zrozumiane (🎤 …)",
|
|
29
|
+
"uk": "Голосові повідомлення можна перетворити на текст за допомогою екземпляра `ai-parakeet` (нове налаштування «Екземпляр розпізнавання мовлення»); потім текст обробляється як набране повідомлення (`communicate.request`, команди, `text2command`, асистент) і також записується в новий стан `communicate.requestVoiceText`. «Показувати розпізнаний текст у чаті» відповідає тим, що було зрозуміло (🎤 …)",
|
|
30
|
+
"zh-cn": "语音消息可以由 `ai-parakeet` 实例转换为文本(新设置“语音识别实例”);然后该文本像键入的消息一样处理(`communicate.request`、命令、`text2command`、助手),并写入新状态 `communicate.requestVoiceText`。“在聊天中显示识别出的文本”会先回复听懂的内容(🎤 …)"
|
|
31
|
+
},
|
|
6
32
|
"6.3.0": {
|
|
7
33
|
"en": "Added \"Delete received files after (days)\": saved voice messages, photos, videos, audio files and documents older than that are deleted, in the file system or in the file storage, checked every hour. 0 (default) keeps them as before",
|
|
8
34
|
"de": "„Empfangene Dateien löschen nach (Tagen)“ hinzugefügt: gespeicherte Sprachnachrichten, Fotos, Videos, Audiodateien und Dokumente werden stündlich im Dateisystem oder im Speicher gelöscht. 0 (Standard)",
|
|
@@ -67,32 +93,6 @@
|
|
|
67
93
|
"pl": "Zaktualizowano pakiety i ulepszono blok reguł\nPonownie próbowano GetUpdates 409 szybko koliduje, zanim wrócisz do powolnego restartartu",
|
|
68
94
|
"uk": "Оновлені пакети та покращено блок правил\nПовторно спробували швидкі конфлікти GetUpdates 409, перш ніж повернутися до повільного перезапуску",
|
|
69
95
|
"zh-cn": "更新了软件包并改进了规则块\n快速重试了 getUpdates 409 冲突,然后又回到了缓慢的重启状态"
|
|
70
|
-
},
|
|
71
|
-
"6.0.0": {
|
|
72
|
-
"en": "Adapter requires Node.js >= 22.19 now (required by undici 8)\nThe connection to the telegram servers can be routed through an HTTP(S) or SOCKS5 proxy (new \"Use proxy\" settings; the old proxy fields had been without function for years)\nMigrated to `node-telegram-bot-api` v2. Updates are now received via long polling, so the \"Polling interval\" setting became obsolete and was removed from the configuration dialog. Errors thrown while processing an update are logged by the adapter instead of ending up on the console\nAn empty \"API URL\" field no longer breaks every API call with \"EFATAL: Failed to parse URL\" - the default `https://api.telegram.org` is used again (#1371)\nA `text2command`/`assistant` instance stored in the long form (`system.adapter.text2command.0`, written by the config UI before v1.12.6) is migrated to the short form on startup, so the config dialog shows the selected instance again (#1365)\nAdded the states `communicate.requestLocationLive` (live location is still being shared), `communicate.requestLocationHeading` and `communicate.requestLocationAccuracy` for received (live) locations",
|
|
73
|
-
"de": "Adapter benötigt jetzt Node.js >= 22.19 (für Undici 8)\nDie Verbindung zu den Telegram-Servern kann über HTTP (S) oder SOCKS5-Proxy erfolgen (neue „Use Proxy“ -Einstellungen; die alten Proxyfelder waren jahrelang nutzlos)\nMigriert auf `Node-Telegram-Bot-Api` v2. Updates erhalten wir jetzt per Langabfrage. Die Einstellung „Abfrageintervall“ wurde aus dem Konfigurationsdialog entfernt. Fehler beim Update werden vom Adapter protokolliert und landen nicht auf der Konsole\nEin leeres API-URL-Feld führt nicht mehr zu „EFATAL: Failed to parse URL“ — es wird wieder das Standard−https://api.telegram.org verwendet (#1371)\nEine `text2command`/`assistant`-Instanz in der Langform (`system.adapter.text2command.0`, geschrieben von der Config-UI vor v1.12.6) wird beim Start in die Kurzform migriert, sodass die gewählte Instanz erneut angezeigt wird (#1365)\nDie Status „Communicate.RequestLocationLive“ (Live-Standort wird noch geteilt), „Communicate.RequestLocationHeading“ und „Communicate.RequestLocationAccuracy“ hinzugefügt",
|
|
74
|
-
"ru": "Теперь для адаптера требуется Node.js >= 22.19 (требуется по пункту 8)\nПодключение к серверам Telegram можно маршрутизировать через прокси-сервер HTTP (S) или SOCKS5 (новые настройки «Использовать прокси»; старые поля прокси-сервера не работали в течение многих лет)\nПерешел на версию `node-telegram-bot-api`. Обновления теперь поступают с помощью длительных опросов, поэтому параметр «Интервал опроса» устарел и был удален из диалогового окна конфигурации. Ошибки, возникающие при обработке обновления, регистрируются адаптером, а не попадают на консоль\nПустое поле «URL-адрес API» больше не прерывает каждый вызов API фразой «EFATAL: не удалось проанализировать URL-адрес» — по умолчанию снова используется значение «https://api.telegram.org» (#1371)\nЭкземпляр `text2command`/`assistant`, сохраненный в длинной форме (`system.adapter.text2command.0`, написанный пользовательским интерфейсом config до версии 1.12.6), при запуске переносится в сокращенную форму, поэтому в диалоговом окне конфигурации снова отображается выбранный экземпляр (#1365)\nДобавлены состояния «Communicate.requestLocationLive» (текущее местоположение все еще передается), «Communicate.requestLocationHeading» и «Communicate.requestLocationAccuracy» для полученных (живых) местоположений",
|
|
75
|
-
"pt": "O adaptador exige Node.js >= 22.19 agora (exigido pelo item 8)\nA conexão com os servidores do Telegram pode ser roteada via proxy HTTP (S) ou SOCKS5 (nova opção “Usar proxy”; os antigos campos não funcionavam há anos)\nMigrou para o `node-telegram-bot-api` v2. Agora, as atualizações são feitas via sondagem longa, então o “Intervalo de sondagem” ficou obsoleto e foi removido. Erros gerados ao processar uma atualização são registrados pelo adaptador em vez de no console\nUm campo vazio “URL da API” não quebra mais cada chamada de API com “EFATAL: Falha na análise do URL” - o padrão `https://api.telegram.org` é usado (#1371)\nUma instância de `text2command`/`assistant` armazenada no formato longo (`system.adapter.text2command.0`, escrita antes da v1.12.6) é migrada para a forma curta na inicialização. #1365\nForam adicionados os estados `communicate.requestLocationLive` (o local ativo ainda está sendo compartilhado), `communicate.requestLocationHeading` e `communicate.requestLocationAccuracy` para locais recebidos (ao vivo)",
|
|
76
|
-
"nl": "Voor de adapter is nu Node.js >= 22.19 nodig (vereist voor undici 8)\nDe verbinding met de telegramservers kan worden gerouteerd via een HTTP (S) of SOCKS5-proxy (nieuwe „Use proxy” -instellingen; de oude proxyvelden functioneerden al jaren niet meer)\nGemigreerd naar `node-telegram-bot-api` v2. Updates worden nu via lange peilingen ontvangen, dus de instelling „Polling interval” is verouderd en is verwijderd uit de configuratiedialoog. Fouten die tijdens de verwerking van een update worden gegenereerd, worden door de adapter geregistreerd in plaats van op de console terecht te komen.\nEen leeg veld „API-URL” onderbreekt niet langer elke API-aanroep met „EFATAL: Kan URL niet ontleden” - de standaardwaarde `https://api.telegram.org` wordt opnieuw gebruikt (#1371)\nEen instantie van `text2command`/`assistant` die is opgeslagen in de lange vorm (`system.adapter.text2command.0`, geschreven door de configuratie-UI vóór v1.12.6) wordt bij het opstarten naar het korte formulier gemigreerd, zodat de geselecteerde instantie opnieuw wordt weergegeven in de configuratiedialoog (#1365)\nDe statussen `Communicate.requestLocationLive` toegevoegd (de live locatie wordt nog steeds gedeeld), `Communicate.RequestLocationHeading` en `Communicate.requestLocationAccuracy` voor ontvangen (live) locaties",
|
|
77
|
-
"fr": "L'adaptateur nécessite Node.js >= 22,19 (requis par Undici 8)\nLa connexion aux serveurs de télégrammes peut être routée via un proxy HTTP (S) ou SOCKS5 (nouveaux paramètres ; les anciens champs du proxy ne fonctionnaient plus depuis des années)\nMigré vers la v2 de `node-telegram-bot-api`. Les mises à jour sont désormais reçues via de longs sondages. Le paramètre « Intervalle d'interrogation » a été supprimé de la boîte de dialogue. Les erreurs lors d'une mise à jour sont enregistrées par l'adaptateur au lieu d'être affichées sur la console\nUn champ « URL API » vide n'interrompt plus chaque appel d'API avec « EFATAL : Failed to parse URL ». La valeur par défaut « https://api.telegram.org » est réutilisée (#1371)\nUne instance `text2command`/`assistant` stockée au format long (system.adapter.text2command.0 », écrit par l'interface de configuration avant la v1.12.6) est migrée vers le format abrégé au démarrage, donc la boîte de dialogue de configuration affiche à nouveau l'instance sélectionnée (#1365)\nAjout des états « Communicate.RequestLocationLive » (la localisation en direct est toujours partagée), « Communicate.RequestLocationHeading » et « Communicate.RequestLocationAccuracy » pour les localisations reçues (en direct)",
|
|
78
|
-
"it": "L'adattatore richiede Node.js >= 22.19 ora (da undici 8)\nLa connessione ai server di Telegram può avvenire tramite un proxy HTTP (S) o SOCKS5 (nuove impostazioni «Usa proxy»; i vecchi campi proxy erano inattivi da anni)\nÈ passato a `node-telegram-bot-api` v2. Ora si riceve un lungo polling, quindi l'impostazione «Intervallo di polling» è obsoleta ed è stata rimossa. Gli errori generati da un aggiornamento vengono registrati dall'adattatore e non dalla console\nUn campo vuoto «URL API» non interrompe più ogni chiamata API con «EFATAL: Failed to parse URL»: si usa di nuovo https://api.telegram.org (#1371)\nUn'istanza `text2command`/`assistant` memorizzata in formato lungo (`system.adapter.text2command.0`, scritta dall'interfaccia utente prima della v1.12.6) viene migrata al formato breve all'avvio, quindi l'istanza selezionata (#1365)\nAggiunti gli stati `communicate.requestLocationLive` (la sede live è ancora condivisa), `communicate.requestLocationHeading` e `communicate.requestLocationAccuracy` per le sedi ricevute (live)",
|
|
79
|
-
"es": "El adaptador necesita Node.js >= 22,19 ahora (lo exige Undici 8)\nLa conexión a los servidores de Telegram se puede enrutar a través de un proxy HTTP (S) o SOCKS5 (nuevo ajuste de «Usar proxy»; los antiguos campos de proxy llevaban años sin funcionar)\nMigró a `node-telegram-bot-api` v2. Las actualizaciones se reciben ahora mediante sondeos largos, por lo que la opción «Intervalo de sondeo» quedó obsoleta y se eliminó del cuadro de diálogo. Los errores que se producen al procesar una actualización los registra el adaptador y no en la consola\nUn campo «URL de API» vacío ya no interrumpe todas las llamadas a la API con «EFATAL: no se pudo analizar la URL»; se vuelve a usar `https://api.telegram.org` por defecto (#1371)\nUna instancia `text2command`/`assistant` almacenada en forma larga (`system.adapter.text2command.0`, escrita en la interfaz de usuario de configuración antes de la v1.12.6) se migra a la versión corta al inicio, de modo que el cuadro de diálogo de configuración vuelve a mostrar la instancia seleccionada (#1365)\nSe han añadido los estados `Communicate.RequestLocationLive` (la ubicación en vivo se sigue compartiendo), `Communicate.RequestLocationHeading` y `Communicate.RequestLocationAccuracy` para las ubicaciones recibidas (en vivo)",
|
|
80
|
-
"pl": "Adapter wymaga teraz Node.js >= 22.19 (wymagane przez undici 8)\nPołączenie z serwerami telegramu może być kierowane przez proxy HTTP (S) lub SOCKS5 (nowe ustawienia „Użyj proxy”; stare pola proxy były bez funkcji od lat)\nPrzemigrowany do `node-telegram-bot-api` v2. Aktualizacje są teraz odbierane za pomocą długiego sondowania, więc ustawienie „Interwał głosowania” stało się przestarzałe i zostało usunięte z okna konfiguracji. Błędy wyrzucane podczas przetwarzania aktualizacji są rejestrowane przez adapter zamiast trafiać na konsolę\nPuste pole „API URL” nie przerywa już każdego wywołania API za pomocą „EFATAL: Nie udało się przeanalizować adresu URL” - domyślna wartość „https://api.telegram.org” jest używana ponownie (#1371)\nInstancja `text2command`/`assistant` przechowywana w długiej formie (`system.adapter.text2command.0`, zapisana przez interfejs konfiguracji przed wersją 1.12.6) jest migrowana do krótkiego formularza podczas uruchamiania, więc okno dialogowe konfiguracji ponownie wyświetla wybrane wystąpienie (#1365)\nDodano stany „Communicate.requestLocationLive” (lokalizacja na żywo jest nadal udostępniana), „Communicate.requestLocationHeading” i „Communicate.requestLocationAccuracy” dla otrzymanych (na żywo) lokalizacji",
|
|
81
|
-
"uk": "Адаптер вимагає Node.js >= 22.19 зараз (потрібно для undici 8)\nПідключення до телеграм-серверів можна маршрутизувати через проксі HTTP (S) або SOCKS5 (нові налаштування «Використовувати проксі»; старі поля проксі були без функції протягом багатьох років)\nПереміщено до `вузла-телеграм-бот-api` v2. Оновлення тепер надходять за допомогою тривалого опитування, тому параметр «Інтервал опитування» став застарілим і був видалений з діалогового вікна налаштування. Помилки, викликані під час обробки оновлення, реєструються адаптером, а не потрапляють на консоль\nПорожнє поле «URL API» більше не розбиває кожен виклик API з «EFATAL: Не вдалося проаналізувати URL» - знову використовується типовий `https://api.telegram.org` (#1371)\nЕкземпляр `text2command`/`assistant`, що зберігається у довгій формі (`system.adapter.text2command.0`, написаний інтерфейсом конфігурації до v1.12.6) переноситься до короткої форми під час запуску, тому діалогове вікно налаштування знову показує вибраний екземпляр (#1365)\nДодано стани `Communicate.requestLocationLive` (реальне місцезнаходження все ще ділиться), `Communicate.requestLocationHeading` та `Communicate.requestLocationAccuracy` для отриманих (живих) місць",
|
|
82
|
-
"zh-cn": "适配器现在需要 Node.js >= 22.19(undici 8 需要)\n与电报服务器的连接可以通过 HTTP (S) 或 SOCKS5 代理进行路由(新的 “使用代理” 设置;旧的代理字段多年来一直没有功能)\n迁移到 `node-telegram-bot-api` v2。现在通过长轮询接收更新,因此 “轮询间隔” 设置已过时并已从配置对话框中删除。处理更新时引发的错误由适配器记录,而不是最终出现在控制台上\n空的 “API URL” 字段不再使用 “EFATAL:无法解析 URL” 打断每个 API 调用——再次使用默认的 https://api.telegram.org(#1371)\n以长格式存储的 `text2command`/`assistant` 实例(`system.adapter.text2command.0`,由 v1.12.6 之前的配置 UI 编写)会在启动时迁移到短格式,因此配置对话框会再次显示所选实例 (#1365)\n为接收(实时)位置添加了 “Communicate.requestLocationLocationLive”(实时位置仍在共享中)、“Communicate.requestLocationHeading” 和 “Communicate.requestLocationAccuracy”"
|
|
83
|
-
},
|
|
84
|
-
"5.0.3": {
|
|
85
|
-
"en": "Fixed: the configured text2command/assistant instance may now also be stored in the long form (`system.adapter.text2command.0`) - the alive check no longer fails with \"instance is not running\"",
|
|
86
|
-
"de": "Fixed: Die konfigurierte text2command/assistant instance kann nun auch im Long-Formular (`system.adapter.text2command.0`) gespeichert werden - der Live-Check schlägt nicht mehr mit \"instance is not running\" fehl",
|
|
87
|
-
"ru": "Исправлено: сконфигурированный экземпляр text2command/assistant теперь также может храниться в длинной форме (\"system.adapter.text2command.0\") - живой чек больше не выходит из строя с \"instance is not run\"",
|
|
88
|
-
"pt": "Corrigido: a instância configurada text2command/assistente pode agora também ser armazenada no formulário longo (`system.adapter.text2command.0`) - a verificação viva não falha mais com \"instance is not executing\"",
|
|
89
|
-
"nl": "Fixed: de geconfigureerde tekst2command/assistant instantie kan nu ook worden opgeslagen in de lange vorm (",
|
|
90
|
-
"fr": "Correction : l'instance text2command/assistant configurée peut désormais être stockée dans la forme longue (`system.adapter.text2command.0`) - la vérification vivante ne échoue plus avec \"l'installation n'est pas en cours d'exécution\"",
|
|
91
|
-
"it": "Risolto: l'istanza di text2command/assistant configurata può ora essere memorizzata nella forma lunga (`system.adapter.text2command.0`) - il controllo vivo non manca più con \"l'instanza non è in esecuzione\"",
|
|
92
|
-
"es": "Fijado: el texto configurado2command/asstant instancia puede ser almacenado en la forma larga (`system.adapter.text2command.0`) - el cheque vivo ya no falla con \"la posición no está funcionando\"",
|
|
93
|
-
"pl": "Naprawiono: skonfigurowana instancja text2command / assistant może być teraz również przechowywana w długiej formie ('system.adapter.text2command.0') - kontrola żywa nie zawodzi przy \"instance nie jest uruchomiona\"",
|
|
94
|
-
"uk": "Виправлено: налаштований текст2command/assistant екземпляр може тепер також зберігатися в довгостроковій формі (`system.adapter.text2command.0`) - живий чек більше не виходить з \"інтенсивом не працює\"",
|
|
95
|
-
"zh-cn": "固定 : 已配置的文本2 命令/ 辅助实例现在也可能以长窗体( 'system. adapter. text2 command. 0') 存储 - 活的检查不再以“ 无效运行” 失败 "
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"messages": [
|
|
@@ -188,7 +188,8 @@
|
|
|
188
188
|
"messagebox": true,
|
|
189
189
|
"supportedMessages": {
|
|
190
190
|
"custom": true,
|
|
191
|
-
"notifications": true
|
|
191
|
+
"notifications": true,
|
|
192
|
+
"help": true
|
|
192
193
|
},
|
|
193
194
|
"readme": "https://github.com/iobroker-community-adapters/ioBroker.telegram/blob/master/README.md",
|
|
194
195
|
"loglevel": "info",
|
|
@@ -287,6 +288,8 @@
|
|
|
287
288
|
"text2command": "",
|
|
288
289
|
"assistantInstance": "",
|
|
289
290
|
"assistantMedia": true,
|
|
291
|
+
"speechToText": "",
|
|
292
|
+
"speechToTextEcho": true,
|
|
290
293
|
"answerTimeoutSec": 60,
|
|
291
294
|
"url": "",
|
|
292
295
|
"bind": "0.0.0.0",
|
|
@@ -937,6 +940,30 @@
|
|
|
937
940
|
"write": false
|
|
938
941
|
},
|
|
939
942
|
"native": {}
|
|
943
|
+
},
|
|
944
|
+
{
|
|
945
|
+
"_id": "communicate.requestVoiceText",
|
|
946
|
+
"type": "state",
|
|
947
|
+
"common": {
|
|
948
|
+
"name": {
|
|
949
|
+
"en": "Text recognised from the last voice message",
|
|
950
|
+
"de": "Erkannter Text der letzten Sprachnachricht",
|
|
951
|
+
"ru": "Распознанный текст последнего голосового сообщения",
|
|
952
|
+
"pt": "Texto reconhecido da última mensagem de voz",
|
|
953
|
+
"nl": "Herkende tekst van het laatste spraakbericht",
|
|
954
|
+
"fr": "Texte reconnu du dernier message vocal",
|
|
955
|
+
"it": "Testo riconosciuto dall'ultimo messaggio vocale",
|
|
956
|
+
"es": "Texto reconocido del último mensaje de voz",
|
|
957
|
+
"pl": "Rozpoznany tekst ostatniej wiadomości głosowej",
|
|
958
|
+
"uk": "Розпізнаний текст останнього голосового повідомлення",
|
|
959
|
+
"zh-cn": "最后一条语音消息识别出的文本"
|
|
960
|
+
},
|
|
961
|
+
"type": "string",
|
|
962
|
+
"role": "text",
|
|
963
|
+
"read": true,
|
|
964
|
+
"write": false
|
|
965
|
+
},
|
|
966
|
+
"native": {}
|
|
940
967
|
}
|
|
941
968
|
]
|
|
942
969
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iobroker.telegram",
|
|
3
3
|
"description": "The adapter allows to send and receive telegram messages from ioBroker and to be a broker.",
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.5.0",
|
|
5
5
|
"author": "bluefox <dogafox@gmail.com>",
|
|
6
6
|
"contributors": [
|
|
7
7
|
"bluefox <dogafox@gmail.com>",
|