iobroker.sayit 5.3.1 → 5.3.3

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 CHANGED
@@ -111,6 +111,8 @@ After creation of adapter instance, you can find the following objects:
111
111
  - `sayit.N.tts.cachetext`: Phrase to be cached, and then it can be used without an internet.
112
112
  E.g., you can enter here manually "No internet" and if ping to google.com is negative, write "No internet" to "tts.text" and it will be pronounced. Of course, cache must be enabled.
113
113
 
114
+ The cached files are stored in the cache directory. A relative path is relative to `iobroker-data/sayit`, an absolute path is used as it is. The default for new instances is `cache`, i.e. `iobroker-data/sayit/cache`. Older instances keep `../../cache/`, i.e. `<ioBroker installation>/cache`.
115
+
114
116
  State `tts.text` supports extended syntax, so the language/engine and volume can be defined together with text. It is used to enable multi-language text2speech engines.
115
117
  E.g., if adapter has engine `Google-english`, it is possible with phrase `de:Sag es` to force using Google-Deutsch speech engine.
116
118
 
@@ -302,6 +304,21 @@ A request is limited to 10000 characters, so longer texts are split and said one
302
304
  ### **WORK IN PROGRESS**
303
305
  -->
304
306
  ## Changelog
307
+ ### 5.3.3 (2026-10-23)
308
+ * (@GermanBluefox) Fixed: a cache hit played the last generated text instead of the cached file (#497)
309
+ * (@GermanBluefox) The cache directory is now resolved relative to `iobroker-data/sayit` and could be absolute. It can be changed in the configuration dialog. New instances store the cache in `iobroker-data/sayit/cache` (#442)
310
+ * (@GermanBluefox) By changing of the engine, only cached files are deleted from the cache directory and not all files
311
+ * (@GermanBluefox) Fixed: the heos players were not listed in the configuration dialog (#416)
312
+ * (@GermanBluefox) Fixed: IPv6 addresses of the web server are written in square brackets in the link for the devices. Only IPv4 addresses are offered in the configuration dialog (#399)
313
+ * (@GermanBluefox) Fixed: the cache was not used for the texts sent by the "say" command, e.g. from Blockly or scripts
314
+ * (@GermanBluefox) Fixed: texts with SSML tags were never found in the cache, if the engine does not support SSML
315
+ * (@GermanBluefox) Corrected the roles of the states `tts.text`, `tts.cachetext` and `tts.playing`
316
+ * (@GermanBluefox) Used the timers of the adapter and added the missing size attributes in the configuration dialog
317
+
318
+ ### 5.3.2 (2026-10-13)
319
+ * (@GermanBluefox) Removed the "install" script and `process.exit()` for compact mode
320
+ * (@GermanBluefox) Passwords and API keys are now protected from reading by non-admin users
321
+
305
322
  ### 5.3.1 (2026-08-13)
306
323
  * (@GermanBluefox) Added the button "Test text generation" to the "Engine" tab, so the selected engine can be tested with an own text
307
324
  * (@GermanBluefox) Test generations do not overwrite the cached files anymore
@@ -325,16 +342,6 @@ A request is limited to 10000 characters, so longer texts are split and said one
325
342
  * (@GermanBluefox) The local engines (PicoTTS, CoquiTTS) and the windows player are called without shell now
326
343
  * (@GermanBluefox) Corrected the default settings of a new instance
327
344
 
328
- ### 5.1.0 (2025-09-17)
329
- * (bluefox) Adapter was rewritten with TypeScript
330
- * (bluefox) Updated Polly voices list
331
- * (bluefox) Added an option to send sonos device as a parameter in sendTo command
332
-
333
- ### 5.0.0 (2024-07-16)
334
- * (mcm1957) Adapter requires admin v7 or newer now
335
- * (mcm1957) Adapter requires jas-controller 5 or newer now
336
- * (bluefox) Added possibility to play directly from states: `sayit.0/tts.userfiles/gong.mp3`
337
-
338
345
  [Older changelogs can be found there](CHANGELOG_OLD.md)
339
346
 
340
347
  ## License
@@ -23,6 +23,7 @@
23
23
  "Browser instance": "Browser-Instanz",
24
24
  "Browser instance:": "Browser-Instanz",
25
25
  "Cache": "Cache benutzen",
26
+ "Cache directory": "Cache-Verzeichnis",
26
27
  "Cache generated files": "Generierte Dateien zwischenspeichern",
27
28
  "Cache-Expiry": "Cache-Ablauf",
28
29
  "Cache-Expiry:": "Cache-Ablauf",
@@ -59,6 +60,7 @@
59
60
  "Port:": "Port",
60
61
  "Provider": "Anbieter",
61
62
  "Rate": "Geschwindigkeit",
63
+ "Relative to iobroker-data/sayit or absolute": "Relativ zu iobroker-data/sayit oder absolut",
62
64
  "Robot": "Roboter",
63
65
  "Robot:": "Roboter",
64
66
  "Secret Key": "Secret Key",
@@ -100,5 +102,8 @@
100
102
  "tree": "Baum",
101
103
  "vis-2.0 (New)": "vis-2.0 (neu)",
102
104
  "vis.0 (deprecated)": "vis.0 (veraltet)",
103
- "vis.0 and vis-2.0": "vis.0 und vis-2.0"
105
+ "vis.0 and vis-2.0": "vis.0 und vis-2.0",
106
+ "Folder ID": "Ordner-ID",
107
+ "Test": "Test",
108
+ "Announce duration": "Dauer der Ansage"
104
109
  }
@@ -23,6 +23,7 @@
23
23
  "Browser instance": "Browser instance",
24
24
  "Browser instance:": "Browser instance",
25
25
  "Cache": "Cache received audio files",
26
+ "Cache directory": "Cache directory",
26
27
  "Cache generated files": "Cache generated files",
27
28
  "Cache-Expiry": "Cache-Expiry",
28
29
  "Cache-Expiry:": "Cache-Expiry",
@@ -59,6 +60,7 @@
59
60
  "Port:": "Port",
60
61
  "Provider": "Provider",
61
62
  "Rate": "Rate",
63
+ "Relative to iobroker-data/sayit or absolute": "Relative to iobroker-data/sayit or absolute",
62
64
  "Robot": "Robot",
63
65
  "Robot:": "Robot",
64
66
  "Secret Key": "Secret Key",
@@ -100,5 +102,8 @@
100
102
  "tree": "tree",
101
103
  "vis-2.0 (New)": "vis-2.0 (new)",
102
104
  "vis.0 (deprecated)": "vis.0 (deprecated)",
103
- "vis.0 and vis-2.0": "vis.0 and vis-2.0"
105
+ "vis.0 and vis-2.0": "vis.0 and vis-2.0",
106
+ "Folder ID": "Folder ID",
107
+ "Test": "Test",
108
+ "Announce duration": "Announce duration"
104
109
  }
@@ -23,6 +23,7 @@
23
23
  "Browser instance": "instancia del navegador",
24
24
  "Browser instance:": "Instancia del navegador",
25
25
  "Cache": "Caché de archivos de audio recibidos",
26
+ "Cache directory": "Directorio de caché",
26
27
  "Cache generated files": "Caché de archivos generados",
27
28
  "Cache-Expiry": "Caducidad de caché",
28
29
  "Cache-Expiry:": "Caché-expiración",
@@ -59,6 +60,7 @@
59
60
  "Port:": "Puerto",
60
61
  "Provider": "Proveedor",
61
62
  "Rate": "Velocidad",
63
+ "Relative to iobroker-data/sayit or absolute": "Relativo a iobroker-data/sayit o absoluto",
62
64
  "Robot": "Robot",
63
65
  "Robot:": "Robot",
64
66
  "Secret Key": "Llave secreta",
@@ -100,5 +102,8 @@
100
102
  "tree": "árbol",
101
103
  "vis-2.0 (New)": "vis-2.0 (nuevo)",
102
104
  "vis.0 (deprecated)": "vis.0 (en desuso)",
103
- "vis.0 and vis-2.0": "vis.0 y vis-2.0"
105
+ "vis.0 and vis-2.0": "vis.0 y vis-2.0",
106
+ "Folder ID": "ID de carpeta",
107
+ "Test": "Prueba",
108
+ "Announce duration": "Duración del anuncio"
104
109
  }
@@ -23,6 +23,7 @@
23
23
  "Browser instance": "Exemple de navigateur",
24
24
  "Browser instance:": "Instance du navigateur",
25
25
  "Cache": "Cacher les fichiers audio reçus",
26
+ "Cache directory": "Répertoire du cache",
26
27
  "Cache generated files": "Fichiers générés par le cache",
27
28
  "Cache-Expiry": "Cache-Expiration",
28
29
  "Cache-Expiry:": "Cache-Expiration",
@@ -59,6 +60,7 @@
59
60
  "Port:": "Port",
60
61
  "Provider": "Fournisseur",
61
62
  "Rate": "Vitesse",
63
+ "Relative to iobroker-data/sayit or absolute": "Relatif à iobroker-data/sayit ou absolu",
62
64
  "Robot": "Robot",
63
65
  "Robot:": "Robot",
64
66
  "Secret Key": "Clef secrète",
@@ -100,5 +102,8 @@
100
102
  "tree": "arbre",
101
103
  "vis-2.0 (New)": "vis-2.0 (nouveau)",
102
104
  "vis.0 (deprecated)": "vis.0 (obsolète)",
103
- "vis.0 and vis-2.0": "vis.0 et vis-2.0"
105
+ "vis.0 and vis-2.0": "vis.0 et vis-2.0",
106
+ "Folder ID": "ID du dossier",
107
+ "Test": "Test",
108
+ "Announce duration": "Durée de l'annonce"
104
109
  }
@@ -7,7 +7,7 @@
7
7
  "Access Key": "Chiave di accesso",
8
8
  "Access Key:": "Chiave di accesso",
9
9
  "Adapter must be enabled": "L'adattatore deve essere abilitato",
10
- "All": "Tutti",
10
+ "All": "Al",
11
11
  "Announce": "Annunciare",
12
12
  "Announce length": "Annunciare la lunghezza",
13
13
  "Announce length (sec)": "Annunciare la lunghezza (sec)",
@@ -23,6 +23,7 @@
23
23
  "Browser instance": "Istanza del browser",
24
24
  "Browser instance:": "Istanza del browser",
25
25
  "Cache": "La cache ha ricevuto file audio",
26
+ "Cache directory": "Directory della cache",
26
27
  "Cache generated files": "File generati nella cache",
27
28
  "Cache-Expiry": "Cache-scadenza",
28
29
  "Cache-Expiry:": "Cache-scadenza",
@@ -59,6 +60,7 @@
59
60
  "Port:": "Porta",
60
61
  "Provider": "Fornitore",
61
62
  "Rate": "Velocità",
63
+ "Relative to iobroker-data/sayit or absolute": "Relativa a iobroker-data/sayit o assoluta",
62
64
  "Robot": "Robot",
63
65
  "Robot:": "Robot",
64
66
  "Secret Key": "Chiave segreta",
@@ -100,5 +102,8 @@
100
102
  "tree": "albero",
101
103
  "vis-2.0 (New)": "vis-2.0 (nuovo)",
102
104
  "vis.0 (deprecated)": "vis.0 (deprecato)",
103
- "vis.0 and vis-2.0": "vis.0 e vis-2.0"
105
+ "vis.0 and vis-2.0": "vis.0 e vis-2.0",
106
+ "Folder ID": "ID cartella",
107
+ "Test": "Test",
108
+ "Announce duration": "Durata dell'annuncio"
104
109
  }
@@ -7,7 +7,7 @@
7
7
  "Access Key": "Toegangssleutel",
8
8
  "Access Key:": "Toegangssleutel",
9
9
  "Adapter must be enabled": "Adapter moet zijn ingeschakeld",
10
- "All": "Alle",
10
+ "All": "Alles",
11
11
  "Announce": "aankondigen",
12
12
  "Announce length": "Kondig lengte aan",
13
13
  "Announce length (sec)": "Kondig lengte (sec)",
@@ -23,6 +23,7 @@
23
23
  "Browser instance": "Browserinstantie",
24
24
  "Browser instance:": "Browserinstantie",
25
25
  "Cache": "Cache ontvangen audiobestanden",
26
+ "Cache directory": "Cachemap",
26
27
  "Cache generated files": "Cache-gegenereerde bestanden",
27
28
  "Cache-Expiry": "Cache-Vervaldatum",
28
29
  "Cache-Expiry:": "Cache-Vervaldatum",
@@ -59,6 +60,7 @@
59
60
  "Port:": "Haven",
60
61
  "Provider": "Aanbieder",
61
62
  "Rate": "Snelheid",
63
+ "Relative to iobroker-data/sayit or absolute": "Relatief ten opzichte van iobroker-data/sayit of absoluut",
62
64
  "Robot": "Robot",
63
65
  "Robot:": "Robot",
64
66
  "Secret Key": "Geheime sleutel",
@@ -100,5 +102,8 @@
100
102
  "tree": "boom",
101
103
  "vis-2.0 (New)": "vis-2.0 (nieuw)",
102
104
  "vis.0 (deprecated)": "vis.0 (verouderd)",
103
- "vis.0 and vis-2.0": "vis.0 en vis-2.0"
105
+ "vis.0 and vis-2.0": "vis.0 en vis-2.0",
106
+ "Folder ID": "Map-ID",
107
+ "Test": "Test",
108
+ "Announce duration": "Duur van de aankondiging"
104
109
  }
@@ -23,6 +23,7 @@
23
23
  "Browser instance": "Browser instance",
24
24
  "Browser instance:": "Browser instance",
25
25
  "Cache": "Pamięć podręczna otrzymała pliki audio",
26
+ "Cache directory": "Katalog pamięci podręcznej",
26
27
  "Cache generated files": "Pliki generowane w pamięci podręcznej",
27
28
  "Cache-Expiry": "Cache-Expiry",
28
29
  "Cache-Expiry:": "Cache-Expiry",
@@ -59,6 +60,7 @@
59
60
  "Port:": "Port",
60
61
  "Provider": "Dostawca",
61
62
  "Rate": "Szybkość",
63
+ "Relative to iobroker-data/sayit or absolute": "Względem iobroker-data/sayit lub bezwzględny",
62
64
  "Robot": "Robot",
63
65
  "Robot:": "Robot",
64
66
  "Secret Key": "Sekretny klucz",
@@ -100,5 +102,8 @@
100
102
  "tree": "drzewo",
101
103
  "vis-2.0 (New)": "vis-2.0 (nowy)",
102
104
  "vis.0 (deprecated)": "vis.0 (przestarzałe)",
103
- "vis.0 and vis-2.0": "vis.0 i vis-2.0"
105
+ "vis.0 and vis-2.0": "vis.0 i vis-2.0",
106
+ "Folder ID": "ID folderu",
107
+ "Test": "Test",
108
+ "Announce duration": "Czas trwania zapowiedzi"
104
109
  }
@@ -7,7 +7,7 @@
7
7
  "Access Key": "Chave de acesso",
8
8
  "Access Key:": "Chave de acesso",
9
9
  "Adapter must be enabled": "O adaptador deve estar ativado",
10
- "All": "Todos",
10
+ "All": "Tudo",
11
11
  "Announce": "Anunciar",
12
12
  "Announce length": "Comprimento do anúncio",
13
13
  "Announce length (sec)": "Anunciar o comprimento (seg)",
@@ -23,6 +23,7 @@
23
23
  "Browser instance": "Instância do navegador",
24
24
  "Browser instance:": "Instância do navegador",
25
25
  "Cache": "Cache recebido arquivos de áudio",
26
+ "Cache directory": "Diretório de cache",
26
27
  "Cache generated files": "Arquivos gerados em cache",
27
28
  "Cache-Expiry": "Cache-Expiração",
28
29
  "Cache-Expiry:": "Cache-Expiração",
@@ -59,6 +60,7 @@
59
60
  "Port:": "Porta",
60
61
  "Provider": "Fornecedor",
61
62
  "Rate": "Velocidade",
63
+ "Relative to iobroker-data/sayit or absolute": "Relativo a iobroker-data/sayit ou absoluto",
62
64
  "Robot": "Robô",
63
65
  "Robot:": "Robô",
64
66
  "Secret Key": "Chave secreta",
@@ -72,7 +74,7 @@
72
74
  "Test text generation": "Testar a geração de texto",
73
75
  "Type": "Saída em",
74
76
  "Type:": "Saída em",
75
- "User": "Utilizador",
77
+ "User": "Do utilizador",
76
78
  "User:": "Utilizador",
77
79
  "Vis instances": "Instâncias Vis",
78
80
  "Voice": "Voz",
@@ -100,5 +102,8 @@
100
102
  "tree": "árvore",
101
103
  "vis-2.0 (New)": "vis-2.0 (novo)",
102
104
  "vis.0 (deprecated)": "vis.0 (obsoleto)",
103
- "vis.0 and vis-2.0": "vis.0 e vis-2.0"
105
+ "vis.0 and vis-2.0": "vis.0 e vis-2.0",
106
+ "Folder ID": "ID da pasta",
107
+ "Test": "Teste",
108
+ "Announce duration": "Duração do anúncio"
104
109
  }
@@ -23,6 +23,7 @@
23
23
  "Browser instance": "ID браузера",
24
24
  "Browser instance:": "ID браузера",
25
25
  "Cache": "Кэшировать полученные аудио-файлы",
26
+ "Cache directory": "Каталог кэша",
26
27
  "Cache generated files": "Кэшировать сгенерированные файлы",
27
28
  "Cache-Expiry": "Срок хранения кэш",
28
29
  "Cache-Expiry:": "Срок хранения кэш",
@@ -59,6 +60,7 @@
59
60
  "Port:": "Порт",
60
61
  "Provider": "Поставщик",
61
62
  "Rate": "Скорость",
63
+ "Relative to iobroker-data/sayit or absolute": "Относительно iobroker-data/sayit или абсолютный",
62
64
  "Robot": "Голос робота",
63
65
  "Robot:": "Голос робота",
64
66
  "Secret Key": "Secret Key",
@@ -100,5 +102,8 @@
100
102
  "tree": "дерево",
101
103
  "vis-2.0 (New)": "vis-2.0 (новое)",
102
104
  "vis.0 (deprecated)": "vis.0 (устарело)",
103
- "vis.0 and vis-2.0": "vis.0 и vis-2.0"
105
+ "vis.0 and vis-2.0": "vis.0 и vis-2.0",
106
+ "Folder ID": "ID папки",
107
+ "Test": "Тест",
108
+ "Announce duration": "Длительность объявления"
104
109
  }
@@ -7,7 +7,7 @@
7
7
  "Access Key": "Ключ доступу",
8
8
  "Access Key:": "Ключ доступу",
9
9
  "Adapter must be enabled": "Адаптер має бути включений",
10
- "All": "все",
10
+ "All": "Усе",
11
11
  "Announce": "Оголосити",
12
12
  "Announce length": "Оголосити довжину",
13
13
  "Announce length (sec)": "Тривалість оголошення (с)",
@@ -23,6 +23,7 @@
23
23
  "Browser instance": "Екземпляр браузера",
24
24
  "Browser instance:": "Екземпляр браузера",
25
25
  "Cache": "Кешувати отримані аудіофайли",
26
+ "Cache directory": "Каталог кешу",
26
27
  "Cache generated files": "Кешувати згенеровані файли",
27
28
  "Cache-Expiry": "Cache-Expiry",
28
29
  "Cache-Expiry:": "Cache-Expiry",
@@ -30,7 +31,7 @@
30
31
  "Cloud App Key from iobroker.pro or iobroker.net": "Ключ хмарної програми від iobroker.pro або iobroker.net",
31
32
  "Cloud instance": "Хмарний екземпляр",
32
33
  "Cloud instance:": "Хмарний екземпляр",
33
- "Device": "пристрій",
34
+ "Device": "Пристрій",
34
35
  "Device:": "пристрій",
35
36
  "Drunk": "п'яний",
36
37
  "Drunk:": "п'яний",
@@ -59,6 +60,7 @@
59
60
  "Port:": "Порт",
60
61
  "Provider": "Постачальник",
61
62
  "Rate": "Швидкість",
63
+ "Relative to iobroker-data/sayit or absolute": "Відносно iobroker-data/sayit або абсолютний",
62
64
  "Robot": "робот",
63
65
  "Robot:": "робот",
64
66
  "Secret Key": "Секретний ключ",
@@ -100,5 +102,8 @@
100
102
  "tree": "дерево",
101
103
  "vis-2.0 (New)": "vis-2.0 (новий)",
102
104
  "vis.0 (deprecated)": "vis.0 (застаріле)",
103
- "vis.0 and vis-2.0": "vis.0 і vis-2.0"
105
+ "vis.0 and vis-2.0": "vis.0 і vis-2.0",
106
+ "Folder ID": "ID папки",
107
+ "Test": "Тест",
108
+ "Announce duration": "Тривалість оголошення"
104
109
  }
@@ -7,7 +7,7 @@
7
7
  "Access Key": "访问的关键",
8
8
  "Access Key:": "访问的关键",
9
9
  "Adapter must be enabled": "必须启用的适配器",
10
- "All": "所有",
10
+ "All": "全部",
11
11
  "Announce": "宣布",
12
12
  "Announce length": "公布长度",
13
13
  "Announce length (sec)": "宣布的长度(sec)",
@@ -23,6 +23,7 @@
23
23
  "Browser instance": "浏览器实例",
24
24
  "Browser instance:": "浏览器实例",
25
25
  "Cache": "缓接收音频文件",
26
+ "Cache directory": "缓存目录",
26
27
  "Cache generated files": "缓存生成的文件",
27
28
  "Cache-Expiry": "Cache-到期",
28
29
  "Cache-Expiry:": "Cache-到期",
@@ -30,7 +31,7 @@
30
31
  "Cloud App Key from iobroker.pro or iobroker.net": "来自 iobroker.pro 或 iobroker.net 的 Cloud App Key",
31
32
  "Cloud instance": "云实例",
32
33
  "Cloud instance:": "云实例",
33
- "Device": "装置",
34
+ "Device": "设备",
34
35
  "Device:": "装置",
35
36
  "Drunk": "喝醉了",
36
37
  "Drunk:": "喝醉了",
@@ -59,6 +60,7 @@
59
60
  "Port:": "口",
60
61
  "Provider": "服务商",
61
62
  "Rate": "语速",
63
+ "Relative to iobroker-data/sayit or absolute": "相对于 iobroker-data/sayit 或绝对路径",
62
64
  "Robot": "机器人",
63
65
  "Robot:": "机器人",
64
66
  "Secret Key": "秘密的关键",
@@ -100,5 +102,8 @@
100
102
  "tree": "树",
101
103
  "vis-2.0 (New)": "vis-2.0(新)",
102
104
  "vis.0 (deprecated)": "vis.0(已弃用)",
103
- "vis.0 and vis-2.0": "vis.0 和 vis-2.0"
105
+ "vis.0 and vis-2.0": "vis.0 和 vis-2.0",
106
+ "Folder ID": "文件夹 ID",
107
+ "Test": "测试",
108
+ "Announce duration": "公告时长"
104
109
  }