iobroker.sayit 5.3.2 → 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,17 @@ 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
+
305
318
  ### 5.3.2 (2026-10-13)
306
319
  * (@GermanBluefox) Removed the "install" script and `process.exit()` for compact mode
307
320
  * (@GermanBluefox) Passwords and API keys are now protected from reading by non-admin users
@@ -329,11 +342,6 @@ A request is limited to 10000 characters, so longer texts are split and said one
329
342
  * (@GermanBluefox) The local engines (PicoTTS, CoquiTTS) and the windows player are called without shell now
330
343
  * (@GermanBluefox) Corrected the default settings of a new instance
331
344
 
332
- ### 5.1.0 (2025-09-17)
333
- * (bluefox) Adapter was rewritten with TypeScript
334
- * (bluefox) Updated Polly voices list
335
- * (bluefox) Added an option to send sonos device as a parameter in sendTo command
336
-
337
345
  [Older changelogs can be found there](CHANGELOG_OLD.md)
338
346
 
339
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",
@@ -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",
@@ -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",
@@ -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",
@@ -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",
@@ -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",
@@ -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",
@@ -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",
@@ -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",
@@ -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",
@@ -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": "Секретний ключ",
@@ -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-到期",
@@ -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": "秘密的关键",