iobroker.telegram 6.1.0 → 6.2.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 +5 -3
- package/admin/i18n/de.json +2 -0
- package/admin/i18n/en.json +2 -0
- package/admin/i18n/es.json +2 -0
- package/admin/i18n/fr.json +2 -0
- package/admin/i18n/it.json +2 -0
- package/admin/i18n/nl.json +2 -0
- package/admin/i18n/pl.json +2 -0
- package/admin/i18n/pt.json +2 -0
- package/admin/i18n/ru.json +2 -0
- package/admin/i18n/uk.json +2 -0
- package/admin/i18n/zh-cn.json +2 -0
- package/admin/jsonConfig.json +11 -0
- package/admin/rules/@mf-types.zip +0 -0
- package/build/main.js +344 -23
- 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 +39 -14
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -40,6 +40,11 @@ Use telegram service to communicate with ioBroker
|
|
|
40
40
|
Placeholder for the next version (at the beginning of the line):
|
|
41
41
|
### **WORK IN PROGRESS**
|
|
42
42
|
-->
|
|
43
|
+
### 6.2.0 (2026-11-04)
|
|
44
|
+
- (@GermanBluefox) Questions to the `assistant` instance (text and voice) wait at most 2 minutes for the answer; after that the user gets "The assistant did not answer in time." instead of no reply at all (e.g. when the assistant restarted meanwhile)
|
|
45
|
+
- (@GermanBluefox) Photos and videos are forwarded to the `assistant` instance too: photos (an album as one question, at most 4) with their caption as the question, videos are stored in the file storage of the instance (folder `assistant`, the newest 20) and only their place goes along. Can be switched off with "Photos and videos to the assistant"
|
|
46
|
+
- (@GermanBluefox) Added the state `communicate.pathFileUrl`: the `iobdisk://` URL of the last received file (e.g. `iobdisk://pi4/telegram.0/video/2026-11-04_10-00-00.mp4`), which instances on other hosts can read with `readDiskFile(url)` - the path in `communicate.pathFile` is only valid on the host of telegram. Needs js-controller 8.0 and `saveFilesTo: filesystem`, otherwise the state stays empty
|
|
47
|
+
|
|
43
48
|
### 6.1.0 (2026-11-04)
|
|
44
49
|
- (@GermanBluefox) Voice messages are forwarded to the configured `assistant` instance: it recognises the speech and the answer is sent back to the chat with the recognised text in front (🎤 …). The same user check as for text messages applies; a voice message with a caption is answered by its caption. Needs ioBroker.assistant with voice enabled, a speech recognition engine and ffmpeg on the host
|
|
45
50
|
- (@GermanBluefox) `send` can return the ids of the sent messages again (`returnMessageIds: true`), to edit or delete the message later; failed recipients come with the reason (#1389)
|
|
@@ -62,9 +67,6 @@ Use telegram service to communicate with ioBroker
|
|
|
62
67
|
- (@GermanBluefox) Blockly migrated to TypeScript
|
|
63
68
|
- (@bjoernjaeschke87-beep) Live location updates (delivered by Telegram as `edited_message`) now update `communicate.requestLocation` while the location is being shared
|
|
64
69
|
|
|
65
|
-
### 5.0.3 (2026-08-10)
|
|
66
|
-
- (@GermanBluefox) 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"
|
|
67
|
-
|
|
68
70
|
[Older changelogs can be found there](CHANGELOG_OLD.md)
|
|
69
71
|
|
|
70
72
|
## License
|
package/admin/i18n/de.json
CHANGED
|
@@ -38,6 +38,8 @@
|
|
|
38
38
|
"OFF-Status": "ausgeschaltet",
|
|
39
39
|
"ON-Command": "an",
|
|
40
40
|
"ON-Status": "eingeschaltet",
|
|
41
|
+
"Photos and videos to the assistant": "Fotos und Videos an den Assistenten",
|
|
42
|
+
"Photos go to the assistant with their caption as the question. Videos are stored in the file storage of this instance (folder assistant) and only their place goes along.": "Fotos gehen mit ihrer Bildunterschrift als Frage an den Assistenten. Videos werden im Dateispeicher dieser Instanz abgelegt (Ordner assistant), nur ihr Ablageort wird mitgeschickt.",
|
|
41
43
|
"Please enter password in form \"/password phrase\"": "Das Password muss in der Form \"/password phrase\" eingegeben werden",
|
|
42
44
|
"Polling": "Polling",
|
|
43
45
|
"Polling interval (ms)": "Abrufintervall (ms)",
|
package/admin/i18n/en.json
CHANGED
|
@@ -38,6 +38,8 @@
|
|
|
38
38
|
"OFF-Status": "switched off",
|
|
39
39
|
"ON-Command": "on",
|
|
40
40
|
"ON-Status": "switched on",
|
|
41
|
+
"Photos and videos to the assistant": "Photos and videos to the assistant",
|
|
42
|
+
"Photos go to the assistant with their caption as the question. Videos are stored in the file storage of this instance (folder assistant) and only their place goes along.": "Photos go to the assistant with their caption as the question. Videos are stored in the file storage of this instance (folder assistant) and only their place goes along.",
|
|
41
43
|
"Please enter password in form \"/password phrase\"": "Please enter password in form \"/password phrase\"",
|
|
42
44
|
"Polling": "Polling",
|
|
43
45
|
"Polling interval (ms)": "Polling interval (ms)",
|
package/admin/i18n/es.json
CHANGED
|
@@ -38,6 +38,8 @@
|
|
|
38
38
|
"OFF-Status": "Estado apagado",
|
|
39
39
|
"ON-Command": "ON-Command",
|
|
40
40
|
"ON-Status": "Estado de encendido",
|
|
41
|
+
"Photos and videos to the assistant": "Fotos y vídeos al asistente",
|
|
42
|
+
"Photos go to the assistant with their caption as the question. Videos are stored in the file storage of this instance (folder assistant) and only their place goes along.": "Las fotos se envían al asistente con su pie de foto como pregunta. Los vídeos se guardan en el almacenamiento de archivos de esta instancia (carpeta assistant) y solo se envía su ubicación.",
|
|
41
43
|
"Please enter password in form \"/password phrase\"": "Por favor, introduzca la contraseña en el formulario \"/frase de contraseña\"",
|
|
42
44
|
"Polling": "Sondeo",
|
|
43
45
|
"Polling interval (ms)": "Intervalo de sondeo (ms)",
|
package/admin/i18n/fr.json
CHANGED
|
@@ -38,6 +38,8 @@
|
|
|
38
38
|
"OFF-Status": "Statut OFF",
|
|
39
39
|
"ON-Command": "Sur commande",
|
|
40
40
|
"ON-Status": "ON-Status",
|
|
41
|
+
"Photos and videos to the assistant": "Photos et vidéos vers l'assistant",
|
|
42
|
+
"Photos go to the assistant with their caption as the question. Videos are stored in the file storage of this instance (folder assistant) and only their place goes along.": "Les photos sont envoyées à l'assistant avec leur légende comme question. Les vidéos sont enregistrées dans le stockage de fichiers de cette instance (dossier assistant) et seul leur emplacement est transmis.",
|
|
41
43
|
"Please enter password in form \"/password phrase\"": "Veuillez entrer le mot de passe dans le formulaire \"/mot de passe\"",
|
|
42
44
|
"Polling": "Interrogation",
|
|
43
45
|
"Polling interval (ms)": "Intervalle d'interrogation (ms)",
|
package/admin/i18n/it.json
CHANGED
|
@@ -38,6 +38,8 @@
|
|
|
38
38
|
"OFF-Status": "OFF-Stato",
|
|
39
39
|
"ON-Command": "A comando",
|
|
40
40
|
"ON-Status": "ON-Stato",
|
|
41
|
+
"Photos and videos to the assistant": "Foto e video all'assistente",
|
|
42
|
+
"Photos go to the assistant with their caption as the question. Videos are stored in the file storage of this instance (folder assistant) and only their place goes along.": "Le foto vanno all'assistente con la didascalia come domanda. I video vengono salvati nell'archivio file di questa istanza (cartella assistant) e viene inviata solo la loro posizione.",
|
|
41
43
|
"Please enter password in form \"/password phrase\"": "Per favore inserisci la password nel modulo \"/ frase password\"",
|
|
42
44
|
"Polling": "Polling",
|
|
43
45
|
"Polling interval (ms)": "Intervallo di polling (ms)",
|
package/admin/i18n/nl.json
CHANGED
|
@@ -38,6 +38,8 @@
|
|
|
38
38
|
"OFF-Status": "OFF-Status",
|
|
39
39
|
"ON-Command": "Op commando",
|
|
40
40
|
"ON-Status": "ON-Status",
|
|
41
|
+
"Photos and videos to the assistant": "Foto's en video's naar de assistent",
|
|
42
|
+
"Photos go to the assistant with their caption as the question. Videos are stored in the file storage of this instance (folder assistant) and only their place goes along.": "Foto's gaan met hun bijschrift als vraag naar de assistent. Video's worden opgeslagen in de bestandsopslag van deze instantie (map assistant) en alleen hun locatie wordt meegestuurd.",
|
|
41
43
|
"Please enter password in form \"/password phrase\"": "Voer een wachtwoord in het formulier \"/ wachtwoord zin\"",
|
|
42
44
|
"Polling": "Polling",
|
|
43
45
|
"Polling interval (ms)": "Polling-interval (ms)",
|
package/admin/i18n/pl.json
CHANGED
|
@@ -38,6 +38,8 @@
|
|
|
38
38
|
"OFF-Status": "OFF-Status",
|
|
39
39
|
"ON-Command": "Na komendę",
|
|
40
40
|
"ON-Status": "ON-Status",
|
|
41
|
+
"Photos and videos to the assistant": "Zdjęcia i filmy do asystenta",
|
|
42
|
+
"Photos go to the assistant with their caption as the question. Videos are stored in the file storage of this instance (folder assistant) and only their place goes along.": "Zdjęcia trafiają do asystenta z podpisem jako pytaniem. Filmy są zapisywane w magazynie plików tej instancji (folder assistant), a przekazywana jest tylko ich lokalizacja.",
|
|
41
43
|
"Please enter password in form \"/password phrase\"": "Proszę podać hasło w formularzu \"/hasło zwrotne\"",
|
|
42
44
|
"Polling": "Odpytywanie",
|
|
43
45
|
"Polling interval (ms)": "Interwał odpytywania (ms):",
|
package/admin/i18n/pt.json
CHANGED
|
@@ -38,6 +38,8 @@
|
|
|
38
38
|
"OFF-Status": "apagado",
|
|
39
39
|
"ON-Command": "ligado",
|
|
40
40
|
"ON-Status": "ligado",
|
|
41
|
+
"Photos and videos to the assistant": "Fotos e vídeos para o assistente",
|
|
42
|
+
"Photos go to the assistant with their caption as the question. Videos are stored in the file storage of this instance (folder assistant) and only their place goes along.": "As fotos são enviadas ao assistente com a legenda como pergunta. Os vídeos são guardados no armazenamento de ficheiros desta instância (pasta assistant) e só é enviado o seu local.",
|
|
41
43
|
"Please enter password in form \"/password phrase\"": "A senha deve ser inserida no formato \"/password phrase\"",
|
|
42
44
|
"Polling": "Polling",
|
|
43
45
|
"Polling interval (ms)": "Intervalo de pergunta (ms)",
|
package/admin/i18n/ru.json
CHANGED
|
@@ -38,6 +38,8 @@
|
|
|
38
38
|
"OFF-Status": "выключен(о/а)",
|
|
39
39
|
"ON-Command": "включить",
|
|
40
40
|
"ON-Status": "включен(о/а)",
|
|
41
|
+
"Photos and videos to the assistant": "Фото и видео ассистенту",
|
|
42
|
+
"Photos go to the assistant with their caption as the question. Videos are stored in the file storage of this instance (folder assistant) and only their place goes along.": "Фото передаются ассистенту вместе с подписью в качестве вопроса. Видео сохраняются в файловом хранилище этого экземпляра (папка assistant), передаётся только их расположение.",
|
|
41
43
|
"Please enter password in form \"/password phrase\"": "Пожалуйста введите пароль в формате: \"/password phrase\"",
|
|
42
44
|
"Polling": "Опрос",
|
|
43
45
|
"Polling interval (ms)": "Интервал опроса (мс)",
|
package/admin/i18n/uk.json
CHANGED
|
@@ -38,6 +38,8 @@
|
|
|
38
38
|
"OFF-Status": "Статус на сервери",
|
|
39
39
|
"ON-Command": "на",
|
|
40
40
|
"ON-Status": "Оф-статус",
|
|
41
|
+
"Photos and videos to the assistant": "Фото та відео асистенту",
|
|
42
|
+
"Photos go to the assistant with their caption as the question. Videos are stored in the file storage of this instance (folder assistant) and only their place goes along.": "Фото передаються асистенту разом із підписом як питанням. Відео зберігаються у файловому сховищі цього екземпляра (папка assistant), передається лише їхнє розташування.",
|
|
41
43
|
"Please enter password in form \"/password phrase\"": "Будь ласка, введіть пароль у форму \"/password фраза\"",
|
|
42
44
|
"Polling": "Опитування",
|
|
43
45
|
"Polling interval (ms)": "Інтервал опитування (мс)",
|
package/admin/i18n/zh-cn.json
CHANGED
|
@@ -38,6 +38,8 @@
|
|
|
38
38
|
"OFF-Status": "关掉",
|
|
39
39
|
"ON-Command": "上",
|
|
40
40
|
"ON-Status": "切换到",
|
|
41
|
+
"Photos and videos to the assistant": "将照片和视频发送给助手",
|
|
42
|
+
"Photos go to the assistant with their caption as the question. Videos are stored in the file storage of this instance (folder assistant) and only their place goes along.": "照片连同其说明文字作为问题发送给助手。视频保存在此实例的文件存储中(assistant 文件夹),只传递其存放位置。",
|
|
41
43
|
"Please enter password in form \"/password phrase\"": "请以“ /密码短语”形式输入密码",
|
|
42
44
|
"Polling": "轮询",
|
|
43
45
|
"Polling interval (ms)": "轮询间隔(ms)",
|
package/admin/jsonConfig.json
CHANGED
|
@@ -329,6 +329,17 @@
|
|
|
329
329
|
"hidden": "!!data.text2command",
|
|
330
330
|
"help": "Forward messages that no internal rule/command matched to this ioBroker.assistant instance and reply with its answer."
|
|
331
331
|
},
|
|
332
|
+
"assistantMedia": {
|
|
333
|
+
"type": "checkbox",
|
|
334
|
+
"xs": 12,
|
|
335
|
+
"sm": 12,
|
|
336
|
+
"md": 8,
|
|
337
|
+
"lg": 8,
|
|
338
|
+
"xl": 8,
|
|
339
|
+
"label": "Photos and videos to the assistant",
|
|
340
|
+
"help": "Photos go to the assistant with their caption as the question. Videos are stored in the file storage of this instance (folder assistant) and only their place goes along.",
|
|
341
|
+
"hidden": "!data.assistantInstance"
|
|
342
|
+
},
|
|
332
343
|
"answerTimeoutSec": {
|
|
333
344
|
"newLine": true,
|
|
334
345
|
"type": "number",
|
|
Binary file
|