iobroker.sayit 5.4.0 → 5.6.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 +32 -13
- package/admin/i18n/de.json +3 -0
- package/admin/i18n/en.json +18 -1
- package/admin/i18n/es.json +3 -0
- package/admin/i18n/fr.json +3 -0
- package/admin/i18n/it.json +3 -0
- package/admin/i18n/nl.json +3 -0
- package/admin/i18n/pl.json +3 -0
- package/admin/i18n/pt.json +3 -0
- package/admin/i18n/ru.json +3 -0
- package/admin/i18n/uk.json +3 -0
- package/admin/i18n/zh-cn.json +3 -0
- package/admin/jsonConfig.json +235 -3
- package/build/lib/engines.js +51 -0
- package/build/lib/engines.js.map +1 -1
- package/build/lib/speech2device.js +484 -13
- package/build/lib/speech2device.js.map +1 -1
- package/build/main.js +167 -2
- package/build/main.js.map +1 -1
- package/io-package.json +40 -27
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -17,6 +17,7 @@ SayIt Adapter can convert text to speech and play it on some device.
|
|
|
17
17
|
Actually, the following outputs are supported:
|
|
18
18
|
|
|
19
19
|
- *Browser* - browser will play the text within opened `iobroker.vis` page. It is supported almost by every desktop browser and by few mobile Browsers.
|
|
20
|
+
With "Vis instances" set to *Aura dashboards*, the text is played in the open [Aura](https://github.com/hdering/ioBroker.aura) dashboards instead. "Browser instance" then takes a comma-separated list of Aura client IDs, or `FFFFFFFF` for every dashboard.
|
|
20
21
|
|
|
21
22
|
- *[Home24- MediaPlayer](http://www.home-24.net/index.php?app=media)* - the text will be sent and played to the Android device with Home24 - MediaPlayer installed. For this will be used build in Android text to speech engine. The port cannot be changed and set to 50000.
|
|
22
23
|
|
|
@@ -33,8 +34,24 @@ Actually, the following outputs are supported:
|
|
|
33
34
|
|
|
34
35
|
- *Squeezebox* - play text on a player of the Logitech Media Server (Lyrion) with the [squeezeboxrpc](https://github.com/oweitman/ioBroker.squeezeboxrpc) adapter (version 2.0.0 or newer). The text is written into the state `Announce` of the player, so the current playback is stopped and restored afterward. The volume of the announcement is configured in the squeezeboxrpc adapter. Be sure the Web Adapter is enabled, so the Media Server can read the generated mp3 files.
|
|
35
36
|
|
|
37
|
+
- *WiiM / LinkPlay* - play text on a WiiM, Arylic or other LinkPlay based streamer with the [wiim](https://github.com/KaiIOB/ioBroker.wiim) adapter. The link to the file is written into the state `playPromptUrl` of the streamer, so the file is played as a notification: the current playback is lowered and resumed afterward. The announcement is played with the actual volume of the streamer. Arylic devices need firmware 4.6.415145 or newer. Be sure the Web Adapter is enabled, so the streamer can read the generated mp3 files.
|
|
38
|
+
|
|
39
|
+
- *Assistant satellites* - play text on the voice satellites of the [assistant](https://github.com/ioBroker/ioBroker.assistant) adapter. Select the instance (e.g. `assistant.0`) to play the text on all satellites (state `tts.text`) or one satellite (state `satellites.<id>.tts`). The text is spoken with the voice selected in sayit, the assistant adapter only plays the generated mp3 file, so it needs [ffmpeg](https://ffmpeg.org/) on its host. Be sure the Web Adapter is enabled, so the assistant adapter can read the generated mp3 files.
|
|
40
|
+
|
|
41
|
+
- *Alexa* - say text on an Echo device (or a group) with the [alexa2](https://github.com/Apollon77/ioBroker.alexa2) adapter. Alexa speaks the text with its **own voice**, so the voice (engine) of sayit, the cache and the announcement sound are not used, and sound files (mp3, wav) cannot be played. The text is written into the state `Commands.speak` or `Commands.announcement` (with the chime of Alexa, only if announcements are enabled for the device and "Do not disturb" is off). Long texts are split into blocks of 250 characters, the volume is set before the text and restored afterward by the alexa2 adapter. As Alexa speaks in the cloud, sayit can only estimate the duration of the text before the next one is sent.
|
|
42
|
+
|
|
43
|
+
- *Fully Kiosk Browser* - play text on an Android tablet with [Fully Kiosk Browser](https://www.fully-kiosk.com) and the [fullybrowser](https://github.com/arteck/ioBroker.fullybrowser) adapter (version 3.0.5 or newer). The REST command `playSound` is sent via the state `Commands.setRAW` of the device and the volume is set via `Commands.setAudioVolume`. Be sure the Web Adapter is enabled, so the tablet can read the generated mp3 files.
|
|
44
|
+
|
|
45
|
+
- *Bose SoundTouch* - play text on a Bose SoundTouch speaker of the [bosesoundtouch](https://github.com/iobroker-community-adapters/ioBroker.bosesoundtouch) adapter (one instance per speaker). sayit sends the link to the file directly to the notification interface `/speaker` (port 8090) of the speaker, so the current playback is paused and resumed afterward. Only some models support it (e.g. SoundTouch 10, 20 and 30 Series III), other models reject the announcement (see the log). The speaker checks the app key at the Bose cloud, which was shut down on May 6, 2026, so without a replacement of the Bose cloud (e.g. the service of the [Bose SoundTouch Toolkit](https://gesellix.github.io/Bose-SoundTouch/), which accepts any non-empty key) the speaker may reject the announcement. Be sure the Web Adapter is enabled, so the speaker can read the generated mp3 files.
|
|
46
|
+
|
|
47
|
+
- *Kodi* - play text on Kodi with the [kodi](https://github.com/iobroker-community-adapters/ioBroker.kodi) adapter (one instance per Kodi). The link to the file is written into the state `open` of the instance. The kodi adapter clears the music playlist of Kodi for it and switches to the fullscreen player, so the current playback is stopped and **not restored** after the text. The file is played with the actual volume of Kodi. Be sure the Web Adapter is enabled, so Kodi can read the generated mp3 files.
|
|
48
|
+
|
|
49
|
+
- *Asterisk (phone call)* - call a telephone number with the [asterisk](https://github.com/schmupu/ioBroker.asterisk) adapter and play the text in the call. sayit sends the path of the generated mp3 file with the command `dial` to the asterisk adapter, which converts it to gsm and sends it to the Asterisk server. So sayit and the asterisk adapter **must run on the same host**. Every text is a separate call, so the announcement sound is not played. The telephone number, the caller ID and how many times the message is repeated are set in the configuration, the number and the caller ID could also be given in the `say` message (`asteriskTelnr`, `asteriskCallerId`).
|
|
50
|
+
|
|
36
51
|
- *Chromecast* - play text on a Chromecast device.
|
|
37
52
|
|
|
53
|
+
- *Google Home* - play text on a Google Home or another cast device, which sayit controls directly. The current playback (e.g. music from Spotify) is stopped and **not restored** after the text. Use the output type *Chromecast* with the chromecast adapter, if the playback must be resumed.
|
|
54
|
+
|
|
38
55
|
- *MPD* - play text on Music Player Daemon. Use only **http** for web adapter, don't use https.
|
|
39
56
|
|
|
40
57
|
To enable the text to speech on RaspberryPI or linux system call one time following command `sudo apt-get -y install mpg321` to install mpg321.
|
|
@@ -322,6 +339,21 @@ Like by FreeTTS, the language is a part of the voice, e.g. `de_DE-thorsten-high`
|
|
|
322
339
|
### **WORK IN PROGRESS**
|
|
323
340
|
-->
|
|
324
341
|
## Changelog
|
|
342
|
+
### 5.6.0 (2026-11-04)
|
|
343
|
+
- (copilot) Adapter requires node.js >= 22.19.0 now
|
|
344
|
+
- (@GermanBluefox) Fixed: the announcement sound was overwritten by the following text, so external players (e.g. Squeezebox) said the text twice (#527)
|
|
345
|
+
- (@GermanBluefox) Added the output type "WiiM / LinkPlay" for the streamers of the wiim adapter
|
|
346
|
+
- (@GermanBluefox) Added the output type "Assistant satellites" for the voice satellites of the assistant adapter
|
|
347
|
+
- (@GermanBluefox) Added the output type "Alexa" for the Echo devices of the alexa2 adapter
|
|
348
|
+
- (@GermanBluefox) Added the output type "Bose SoundTouch" with the notification interface of the speaker, which resumes the playback
|
|
349
|
+
- (@GermanBluefox) Added the output type "Kodi" for the kodi adapter
|
|
350
|
+
- (@GermanBluefox) Added the output type "Asterisk (phone call)": the text is played in a phone call of the asterisk adapter
|
|
351
|
+
- (@GermanBluefox) The configuration shows a hint for the output types, which do not restore the playback (Google Home, Kodi)
|
|
352
|
+
|
|
353
|
+
### 5.5.0 (2026-10-27)
|
|
354
|
+
* (@hdering) Added the Aura dashboards as a target of the output type "Browser" (#518)
|
|
355
|
+
* (@GermanBluefox) Added the output type "Fully Kiosk Browser" for the tablets of the fullybrowser adapter
|
|
356
|
+
|
|
325
357
|
### 5.4.0 (2026-10-23)
|
|
326
358
|
* (@GermanBluefox) Updated packages
|
|
327
359
|
* (@GermanBluefox) Added the output type "Squeezebox" for the players of the squeezeboxrpc adapter (#5)
|
|
@@ -342,19 +374,6 @@ Like by FreeTTS, the language is a part of the voice, e.g. `de_DE-thorsten-high`
|
|
|
342
374
|
* (@GermanBluefox) Removed the "install" script and `process.exit()` for compact mode
|
|
343
375
|
* (@GermanBluefox) Passwords and API keys are now protected from reading by non-admin users
|
|
344
376
|
|
|
345
|
-
### 5.3.1 (2026-08-13)
|
|
346
|
-
* (@GermanBluefox) Added the button "Test text generation" to the "Engine" tab, so the selected engine can be tested with an own text
|
|
347
|
-
* (@GermanBluefox) Test generations do not overwrite the cached files anymore
|
|
348
|
-
* (@GermanBluefox) Adapter requires node.js >= 22 and js-controller >= 6.0.11 now
|
|
349
|
-
* (@GermanBluefox) Older changelog entries were moved to CHANGELOG_OLD.md
|
|
350
|
-
* (@GermanBluefox) Updated the dependabot and auto-merge configuration
|
|
351
|
-
|
|
352
|
-
### 5.3.0 (2026-08-13)
|
|
353
|
-
* (@GermanBluefox) Added freetts.org as a new TTS engine with more than 400 voices. An API key is required
|
|
354
|
-
* (@GermanBluefox) The engine is selected in two steps now: first the provider and then the voice
|
|
355
|
-
* (@GermanBluefox) The words of the Blockly block are translated into all 11 languages now
|
|
356
|
-
* (@GermanBluefox) Blockly block migrated to TypeScript and the generated code is unchanged
|
|
357
|
-
|
|
358
377
|
[Older changelogs can be found there](CHANGELOG_OLD.md)
|
|
359
378
|
|
|
360
379
|
## License
|
package/admin/i18n/de.json
CHANGED
|
@@ -110,6 +110,9 @@
|
|
|
110
110
|
"vis-2.0 (New)": "vis-2.0 (neu)",
|
|
111
111
|
"vis.0 (deprecated)": "vis.0 (veraltet)",
|
|
112
112
|
"vis.0 and vis-2.0": "vis.0 und vis-2.0",
|
|
113
|
+
"Aura dashboards": "Aura-Dashboards",
|
|
114
|
+
"Aura instance": "Aura-Instanz",
|
|
115
|
+
"browser_instance_help": "vis: ID des Browsers oder FFFFFFFF für alle. Aura: Client-IDs mit Komma getrennt, leer für alle Dashboards",
|
|
113
116
|
"Folder ID": "Ordner-ID",
|
|
114
117
|
"Test": "Test",
|
|
115
118
|
"Announce duration": "Dauer der Ansage"
|
package/admin/i18n/en.json
CHANGED
|
@@ -110,7 +110,24 @@
|
|
|
110
110
|
"vis-2.0 (New)": "vis-2.0 (new)",
|
|
111
111
|
"vis.0 (deprecated)": "vis.0 (deprecated)",
|
|
112
112
|
"vis.0 and vis-2.0": "vis.0 and vis-2.0",
|
|
113
|
+
"Aura dashboards": "Aura dashboards",
|
|
114
|
+
"Aura instance": "Aura instance",
|
|
115
|
+
"browser_instance_help": "vis: ID of the browser or FFFFFFFF for all. Aura: comma-separated client IDs, empty for all dashboards",
|
|
113
116
|
"Folder ID": "Folder ID",
|
|
114
117
|
"Test": "Test",
|
|
115
|
-
"Announce duration": "Announce duration"
|
|
118
|
+
"Announce duration": "Announce duration",
|
|
119
|
+
"Alexa command": "Alexa command",
|
|
120
|
+
"Speak": "Speak",
|
|
121
|
+
"Announcement with the chime of Alexa": "Announcement with the chime of Alexa",
|
|
122
|
+
"Bose app key": "Bose app key",
|
|
123
|
+
"bose_app_key_help": "Optional. Empty - \"ioBroker.sayit\" is used",
|
|
124
|
+
"info_no_restore": "The current playback (e.g. music from Spotify) is stopped and not restored after the text. If a volume is given for the text, the device keeps this volume afterward.",
|
|
125
|
+
"info_bose": "Only some SoundTouch models support announcements (e.g. SoundTouch 10, 20 and 30 Series III): the current playback is paused and resumed afterward. The speaker checks the app key at the Bose cloud, which was shut down on May 6, 2026. Without a replacement of the Bose cloud the speaker may reject the announcement.",
|
|
126
|
+
"info_no_restore_kodi": "The current playback is stopped and not restored after the text. Kodi clears its music playlist for the text and switches to the fullscreen player.",
|
|
127
|
+
"Telephone number": "Telephone number",
|
|
128
|
+
"Caller ID": "Caller ID",
|
|
129
|
+
"Repeat message": "Repeat message",
|
|
130
|
+
"asterisk_callerid_help": "Number shown to the callee. Empty - anonymous call",
|
|
131
|
+
"asterisk_repeat_help": "Empty - default of the asterisk adapter (5 times)",
|
|
132
|
+
"info_asterisk": "Every text is a separate phone call, so the announcement sound is not played. sayit and the asterisk adapter must run on the same host, because the asterisk adapter reads the generated mp3 file from the disk."
|
|
116
133
|
}
|
package/admin/i18n/es.json
CHANGED
|
@@ -110,6 +110,9 @@
|
|
|
110
110
|
"vis-2.0 (New)": "vis-2.0 (nuevo)",
|
|
111
111
|
"vis.0 (deprecated)": "vis.0 (en desuso)",
|
|
112
112
|
"vis.0 and vis-2.0": "vis.0 y vis-2.0",
|
|
113
|
+
"Aura dashboards": "Aura dashboards",
|
|
114
|
+
"Aura instance": "Aura instance",
|
|
115
|
+
"browser_instance_help": "vis: ID of the browser or FFFFFFFF for all. Aura: comma-separated client IDs, empty for all dashboards",
|
|
113
116
|
"Folder ID": "ID de carpeta",
|
|
114
117
|
"Test": "Prueba",
|
|
115
118
|
"Announce duration": "Duración del anuncio"
|
package/admin/i18n/fr.json
CHANGED
|
@@ -110,6 +110,9 @@
|
|
|
110
110
|
"vis-2.0 (New)": "vis-2.0 (nouveau)",
|
|
111
111
|
"vis.0 (deprecated)": "vis.0 (obsolète)",
|
|
112
112
|
"vis.0 and vis-2.0": "vis.0 et vis-2.0",
|
|
113
|
+
"Aura dashboards": "Aura dashboards",
|
|
114
|
+
"Aura instance": "Aura instance",
|
|
115
|
+
"browser_instance_help": "vis: ID of the browser or FFFFFFFF for all. Aura: comma-separated client IDs, empty for all dashboards",
|
|
113
116
|
"Folder ID": "ID du dossier",
|
|
114
117
|
"Test": "Test",
|
|
115
118
|
"Announce duration": "Durée de l'annonce"
|
package/admin/i18n/it.json
CHANGED
|
@@ -110,6 +110,9 @@
|
|
|
110
110
|
"vis-2.0 (New)": "vis-2.0 (nuovo)",
|
|
111
111
|
"vis.0 (deprecated)": "vis.0 (deprecato)",
|
|
112
112
|
"vis.0 and vis-2.0": "vis.0 e vis-2.0",
|
|
113
|
+
"Aura dashboards": "Aura dashboards",
|
|
114
|
+
"Aura instance": "Aura instance",
|
|
115
|
+
"browser_instance_help": "vis: ID of the browser or FFFFFFFF for all. Aura: comma-separated client IDs, empty for all dashboards",
|
|
113
116
|
"Folder ID": "ID cartella",
|
|
114
117
|
"Test": "Test",
|
|
115
118
|
"Announce duration": "Durata dell'annuncio"
|
package/admin/i18n/nl.json
CHANGED
|
@@ -110,6 +110,9 @@
|
|
|
110
110
|
"vis-2.0 (New)": "vis-2.0 (nieuw)",
|
|
111
111
|
"vis.0 (deprecated)": "vis.0 (verouderd)",
|
|
112
112
|
"vis.0 and vis-2.0": "vis.0 en vis-2.0",
|
|
113
|
+
"Aura dashboards": "Aura dashboards",
|
|
114
|
+
"Aura instance": "Aura instance",
|
|
115
|
+
"browser_instance_help": "vis: ID of the browser or FFFFFFFF for all. Aura: comma-separated client IDs, empty for all dashboards",
|
|
113
116
|
"Folder ID": "Map-ID",
|
|
114
117
|
"Test": "Test",
|
|
115
118
|
"Announce duration": "Duur van de aankondiging"
|
package/admin/i18n/pl.json
CHANGED
|
@@ -110,6 +110,9 @@
|
|
|
110
110
|
"vis-2.0 (New)": "vis-2.0 (nowy)",
|
|
111
111
|
"vis.0 (deprecated)": "vis.0 (przestarzałe)",
|
|
112
112
|
"vis.0 and vis-2.0": "vis.0 i vis-2.0",
|
|
113
|
+
"Aura dashboards": "Aura dashboards",
|
|
114
|
+
"Aura instance": "Aura instance",
|
|
115
|
+
"browser_instance_help": "vis: ID of the browser or FFFFFFFF for all. Aura: comma-separated client IDs, empty for all dashboards",
|
|
113
116
|
"Folder ID": "ID folderu",
|
|
114
117
|
"Test": "Test",
|
|
115
118
|
"Announce duration": "Czas trwania zapowiedzi"
|
package/admin/i18n/pt.json
CHANGED
|
@@ -110,6 +110,9 @@
|
|
|
110
110
|
"vis-2.0 (New)": "vis-2.0 (novo)",
|
|
111
111
|
"vis.0 (deprecated)": "vis.0 (obsoleto)",
|
|
112
112
|
"vis.0 and vis-2.0": "vis.0 e vis-2.0",
|
|
113
|
+
"Aura dashboards": "Aura dashboards",
|
|
114
|
+
"Aura instance": "Aura instance",
|
|
115
|
+
"browser_instance_help": "vis: ID of the browser or FFFFFFFF for all. Aura: comma-separated client IDs, empty for all dashboards",
|
|
113
116
|
"Folder ID": "ID da pasta",
|
|
114
117
|
"Test": "Teste",
|
|
115
118
|
"Announce duration": "Duração do anúncio"
|
package/admin/i18n/ru.json
CHANGED
|
@@ -110,6 +110,9 @@
|
|
|
110
110
|
"vis-2.0 (New)": "vis-2.0 (новое)",
|
|
111
111
|
"vis.0 (deprecated)": "vis.0 (устарело)",
|
|
112
112
|
"vis.0 and vis-2.0": "vis.0 и vis-2.0",
|
|
113
|
+
"Aura dashboards": "Aura dashboards",
|
|
114
|
+
"Aura instance": "Aura instance",
|
|
115
|
+
"browser_instance_help": "vis: ID of the browser or FFFFFFFF for all. Aura: comma-separated client IDs, empty for all dashboards",
|
|
113
116
|
"Folder ID": "ID папки",
|
|
114
117
|
"Test": "Тест",
|
|
115
118
|
"Announce duration": "Длительность объявления"
|
package/admin/i18n/uk.json
CHANGED
|
@@ -110,6 +110,9 @@
|
|
|
110
110
|
"vis-2.0 (New)": "vis-2.0 (новий)",
|
|
111
111
|
"vis.0 (deprecated)": "vis.0 (застаріле)",
|
|
112
112
|
"vis.0 and vis-2.0": "vis.0 і vis-2.0",
|
|
113
|
+
"Aura dashboards": "Aura dashboards",
|
|
114
|
+
"Aura instance": "Aura instance",
|
|
115
|
+
"browser_instance_help": "vis: ID of the browser or FFFFFFFF for all. Aura: comma-separated client IDs, empty for all dashboards",
|
|
113
116
|
"Folder ID": "ID папки",
|
|
114
117
|
"Test": "Тест",
|
|
115
118
|
"Announce duration": "Тривалість оголошення"
|
package/admin/i18n/zh-cn.json
CHANGED
|
@@ -110,6 +110,9 @@
|
|
|
110
110
|
"vis-2.0 (New)": "vis-2.0(新)",
|
|
111
111
|
"vis.0 (deprecated)": "vis.0(已弃用)",
|
|
112
112
|
"vis.0 and vis-2.0": "vis.0 和 vis-2.0",
|
|
113
|
+
"Aura dashboards": "Aura dashboards",
|
|
114
|
+
"Aura instance": "Aura instance",
|
|
115
|
+
"browser_instance_help": "vis: ID of the browser or FFFFFFFF for all. Aura: comma-separated client IDs, empty for all dashboards",
|
|
113
116
|
"Folder ID": "文件夹 ID",
|
|
114
117
|
"Test": "测试",
|
|
115
118
|
"Announce duration": "公告时长"
|
package/admin/jsonConfig.json
CHANGED
|
@@ -43,6 +43,34 @@
|
|
|
43
43
|
"value": "squeezebox",
|
|
44
44
|
"label": "Squeezebox"
|
|
45
45
|
},
|
|
46
|
+
{
|
|
47
|
+
"value": "wiim",
|
|
48
|
+
"label": "WiiM / LinkPlay"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"value": "assistant",
|
|
52
|
+
"label": "Assistant satellites"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"value": "alexa",
|
|
56
|
+
"label": "Alexa"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"value": "bose",
|
|
60
|
+
"label": "Bose SoundTouch"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"value": "kodi",
|
|
64
|
+
"label": "Kodi"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"value": "asterisk",
|
|
68
|
+
"label": "Asterisk (phone call)"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"value": "fully",
|
|
72
|
+
"label": "Fully Kiosk Browser"
|
|
73
|
+
},
|
|
46
74
|
{
|
|
47
75
|
"value": "chromecast",
|
|
48
76
|
"label": "Chromecast"
|
|
@@ -62,6 +90,58 @@
|
|
|
62
90
|
"lg": 4,
|
|
63
91
|
"xl": 4
|
|
64
92
|
},
|
|
93
|
+
"_noRestoreInfo": {
|
|
94
|
+
"type": "infoBox",
|
|
95
|
+
"newLine": true,
|
|
96
|
+
"boxType": "warning",
|
|
97
|
+
"closeable": false,
|
|
98
|
+
"text": "info_no_restore",
|
|
99
|
+
"hidden": "data.type !== 'googleHome'",
|
|
100
|
+
"xs": 12,
|
|
101
|
+
"sm": 12,
|
|
102
|
+
"md": 12,
|
|
103
|
+
"lg": 8,
|
|
104
|
+
"xl": 8
|
|
105
|
+
},
|
|
106
|
+
"_kodiInfo": {
|
|
107
|
+
"type": "infoBox",
|
|
108
|
+
"newLine": true,
|
|
109
|
+
"boxType": "warning",
|
|
110
|
+
"closeable": false,
|
|
111
|
+
"text": "info_no_restore_kodi",
|
|
112
|
+
"hidden": "data.type !== 'kodi'",
|
|
113
|
+
"xs": 12,
|
|
114
|
+
"sm": 12,
|
|
115
|
+
"md": 12,
|
|
116
|
+
"lg": 8,
|
|
117
|
+
"xl": 8
|
|
118
|
+
},
|
|
119
|
+
"_asteriskInfo": {
|
|
120
|
+
"type": "infoBox",
|
|
121
|
+
"newLine": true,
|
|
122
|
+
"boxType": "info",
|
|
123
|
+
"closeable": false,
|
|
124
|
+
"text": "info_asterisk",
|
|
125
|
+
"hidden": "data.type !== 'asterisk'",
|
|
126
|
+
"xs": 12,
|
|
127
|
+
"sm": 12,
|
|
128
|
+
"md": 12,
|
|
129
|
+
"lg": 8,
|
|
130
|
+
"xl": 8
|
|
131
|
+
},
|
|
132
|
+
"_boseInfo": {
|
|
133
|
+
"type": "infoBox",
|
|
134
|
+
"newLine": true,
|
|
135
|
+
"boxType": "info",
|
|
136
|
+
"closeable": false,
|
|
137
|
+
"text": "info_bose",
|
|
138
|
+
"hidden": "data.type !== 'bose'",
|
|
139
|
+
"xs": 12,
|
|
140
|
+
"sm": 12,
|
|
141
|
+
"md": 12,
|
|
142
|
+
"lg": 8,
|
|
143
|
+
"xl": 8
|
|
144
|
+
},
|
|
65
145
|
"systemCommand": {
|
|
66
146
|
"newLine": true,
|
|
67
147
|
"type": "text",
|
|
@@ -106,7 +186,7 @@
|
|
|
106
186
|
"fileTypes": "audio",
|
|
107
187
|
"pattern": "tts.userfiles/*.mp3",
|
|
108
188
|
"objectID": "sayit.%INSTANCE%",
|
|
109
|
-
"hidden": "data.type === 'googleHome'",
|
|
189
|
+
"hidden": "data.type === 'googleHome' || data.type === 'alexa' || data.type === 'asterisk'",
|
|
110
190
|
"noTranslation": true,
|
|
111
191
|
"upload": "tts.userfiles/",
|
|
112
192
|
"xs": 12,
|
|
@@ -290,6 +370,142 @@
|
|
|
290
370
|
"lg": 2,
|
|
291
371
|
"xl": 2
|
|
292
372
|
},
|
|
373
|
+
"wiimDevice": {
|
|
374
|
+
"type": "selectSendTo",
|
|
375
|
+
"label": "Device",
|
|
376
|
+
"hidden": "data.type !== 'wiim'",
|
|
377
|
+
"command": "browseWiim",
|
|
378
|
+
"xs": 12,
|
|
379
|
+
"sm": 6,
|
|
380
|
+
"md": 4,
|
|
381
|
+
"lg": 2,
|
|
382
|
+
"xl": 2
|
|
383
|
+
},
|
|
384
|
+
"assistantDevice": {
|
|
385
|
+
"type": "selectSendTo",
|
|
386
|
+
"label": "Device",
|
|
387
|
+
"hidden": "data.type !== 'assistant'",
|
|
388
|
+
"command": "browseAssistant",
|
|
389
|
+
"xs": 12,
|
|
390
|
+
"sm": 6,
|
|
391
|
+
"md": 4,
|
|
392
|
+
"lg": 2,
|
|
393
|
+
"xl": 2
|
|
394
|
+
},
|
|
395
|
+
"alexaDevice": {
|
|
396
|
+
"type": "selectSendTo",
|
|
397
|
+
"label": "Device",
|
|
398
|
+
"hidden": "data.type !== 'alexa'",
|
|
399
|
+
"command": "browseAlexa",
|
|
400
|
+
"xs": 12,
|
|
401
|
+
"sm": 6,
|
|
402
|
+
"md": 4,
|
|
403
|
+
"lg": 2,
|
|
404
|
+
"xl": 2
|
|
405
|
+
},
|
|
406
|
+
"alexaCommand": {
|
|
407
|
+
"type": "select",
|
|
408
|
+
"label": "Alexa command",
|
|
409
|
+
"hidden": "data.type !== 'alexa'",
|
|
410
|
+
"options": [
|
|
411
|
+
{ "value": "speak", "label": "Speak" },
|
|
412
|
+
{ "value": "announcement", "label": "Announcement with the chime of Alexa" }
|
|
413
|
+
],
|
|
414
|
+
"default": "speak",
|
|
415
|
+
"xs": 12,
|
|
416
|
+
"sm": 6,
|
|
417
|
+
"md": 4,
|
|
418
|
+
"lg": 2,
|
|
419
|
+
"xl": 2
|
|
420
|
+
},
|
|
421
|
+
"boseInstance": {
|
|
422
|
+
"type": "instance",
|
|
423
|
+
"label": "Device",
|
|
424
|
+
"hidden": "data.type !== 'bose'",
|
|
425
|
+
"adapter": "bosesoundtouch",
|
|
426
|
+
"xs": 12,
|
|
427
|
+
"sm": 6,
|
|
428
|
+
"md": 4,
|
|
429
|
+
"lg": 2,
|
|
430
|
+
"xl": 2
|
|
431
|
+
},
|
|
432
|
+
"boseAppKey": {
|
|
433
|
+
"type": "text",
|
|
434
|
+
"label": "Bose app key",
|
|
435
|
+
"help": "bose_app_key_help",
|
|
436
|
+
"hidden": "data.type !== 'bose'",
|
|
437
|
+
"xs": 12,
|
|
438
|
+
"sm": 6,
|
|
439
|
+
"md": 4,
|
|
440
|
+
"lg": 2,
|
|
441
|
+
"xl": 2
|
|
442
|
+
},
|
|
443
|
+
"kodiInstance": {
|
|
444
|
+
"type": "instance",
|
|
445
|
+
"label": "Device",
|
|
446
|
+
"hidden": "data.type !== 'kodi'",
|
|
447
|
+
"adapter": "kodi",
|
|
448
|
+
"xs": 12,
|
|
449
|
+
"sm": 6,
|
|
450
|
+
"md": 4,
|
|
451
|
+
"lg": 2,
|
|
452
|
+
"xl": 2
|
|
453
|
+
},
|
|
454
|
+
"asteriskInstance": {
|
|
455
|
+
"type": "instance",
|
|
456
|
+
"label": "Device",
|
|
457
|
+
"hidden": "data.type !== 'asterisk'",
|
|
458
|
+
"adapter": "asterisk",
|
|
459
|
+
"xs": 12,
|
|
460
|
+
"sm": 6,
|
|
461
|
+
"md": 4,
|
|
462
|
+
"lg": 2,
|
|
463
|
+
"xl": 2
|
|
464
|
+
},
|
|
465
|
+
"asteriskTelnr": {
|
|
466
|
+
"type": "text",
|
|
467
|
+
"label": "Telephone number",
|
|
468
|
+
"hidden": "data.type !== 'asterisk'",
|
|
469
|
+
"xs": 12,
|
|
470
|
+
"sm": 6,
|
|
471
|
+
"md": 4,
|
|
472
|
+
"lg": 2,
|
|
473
|
+
"xl": 2
|
|
474
|
+
},
|
|
475
|
+
"asteriskCallerId": {
|
|
476
|
+
"type": "text",
|
|
477
|
+
"label": "Caller ID",
|
|
478
|
+
"help": "asterisk_callerid_help",
|
|
479
|
+
"hidden": "data.type !== 'asterisk'",
|
|
480
|
+
"xs": 12,
|
|
481
|
+
"sm": 6,
|
|
482
|
+
"md": 4,
|
|
483
|
+
"lg": 2,
|
|
484
|
+
"xl": 2
|
|
485
|
+
},
|
|
486
|
+
"asteriskRepeat": {
|
|
487
|
+
"type": "number",
|
|
488
|
+
"label": "Repeat message",
|
|
489
|
+
"help": "asterisk_repeat_help",
|
|
490
|
+
"min": 1,
|
|
491
|
+
"hidden": "data.type !== 'asterisk'",
|
|
492
|
+
"xs": 12,
|
|
493
|
+
"sm": 6,
|
|
494
|
+
"md": 4,
|
|
495
|
+
"lg": 2,
|
|
496
|
+
"xl": 2
|
|
497
|
+
},
|
|
498
|
+
"fullyDevice": {
|
|
499
|
+
"type": "selectSendTo",
|
|
500
|
+
"label": "Device",
|
|
501
|
+
"hidden": "data.type !== 'fully'",
|
|
502
|
+
"command": "browseFully",
|
|
503
|
+
"xs": 12,
|
|
504
|
+
"sm": 6,
|
|
505
|
+
"md": 4,
|
|
506
|
+
"lg": 2,
|
|
507
|
+
"xl": 2
|
|
508
|
+
},
|
|
293
509
|
"mpdInstance": {
|
|
294
510
|
"type": "instance",
|
|
295
511
|
"label": "Device",
|
|
@@ -305,6 +521,7 @@
|
|
|
305
521
|
"newLine": true,
|
|
306
522
|
"type": "text",
|
|
307
523
|
"label": "Browser instance",
|
|
524
|
+
"help": "browser_instance_help",
|
|
308
525
|
"hidden": "data.type !== 'browser'",
|
|
309
526
|
"xs": 12,
|
|
310
527
|
"sm": 6,
|
|
@@ -328,6 +545,10 @@
|
|
|
328
545
|
{
|
|
329
546
|
"value": "2",
|
|
330
547
|
"label": "vis-2.0 (New)"
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
"value": "aura",
|
|
551
|
+
"label": "Aura dashboards"
|
|
331
552
|
}
|
|
332
553
|
],
|
|
333
554
|
"hidden": "data.type !== 'browser'",
|
|
@@ -337,12 +558,23 @@
|
|
|
337
558
|
"lg": 2,
|
|
338
559
|
"xl": 2
|
|
339
560
|
},
|
|
561
|
+
"browserAuraInstance": {
|
|
562
|
+
"type": "instance",
|
|
563
|
+
"adapter": "aura",
|
|
564
|
+
"label": "Aura instance",
|
|
565
|
+
"hidden": "data.type !== 'browser' || data.browserVis !== 'aura'",
|
|
566
|
+
"xs": 12,
|
|
567
|
+
"sm": 6,
|
|
568
|
+
"md": 3,
|
|
569
|
+
"lg": 2,
|
|
570
|
+
"xl": 2
|
|
571
|
+
},
|
|
340
572
|
"webInstance": {
|
|
341
573
|
"newLine": true,
|
|
342
574
|
"type": "instance",
|
|
343
575
|
"adapter": "web",
|
|
344
576
|
"label": "Web instance",
|
|
345
|
-
"hidden": "data.type !== 'sonos' && data.type !== 'heos' && data.type !== 'squeezebox' && data.type !== 'chromecast' && data.type !== 'mpd' && data.type !== 'googleHome'",
|
|
577
|
+
"hidden": "data.type !== 'sonos' && data.type !== 'heos' && data.type !== 'squeezebox' && data.type !== 'wiim' && data.type !== 'assistant' && data.type !== 'bose' && data.type !== 'kodi' && data.type !== 'fully' && data.type !== 'chromecast' && data.type !== 'mpd' && data.type !== 'googleHome'",
|
|
346
578
|
"xs": 12,
|
|
347
579
|
"sm": 6,
|
|
348
580
|
"md": 4,
|
|
@@ -354,7 +586,7 @@
|
|
|
354
586
|
"onlyIp4": true,
|
|
355
587
|
"noInternal": true,
|
|
356
588
|
"label": "Web server IP",
|
|
357
|
-
"hidden": "data.type !== 'sonos' && data.type !== 'heos' && data.type !== 'squeezebox' && data.type !== 'chromecast' && data.type !== 'mpd' && data.type !== 'googleHome'",
|
|
589
|
+
"hidden": "data.type !== 'sonos' && data.type !== 'heos' && data.type !== 'squeezebox' && data.type !== 'wiim' && data.type !== 'assistant' && data.type !== 'bose' && data.type !== 'kodi' && data.type !== 'fully' && data.type !== 'chromecast' && data.type !== 'mpd' && data.type !== 'googleHome'",
|
|
358
590
|
"xs": 12,
|
|
359
591
|
"sm": 6,
|
|
360
592
|
"md": 4,
|
package/build/lib/engines.js
CHANGED
|
@@ -1335,6 +1335,57 @@ const sayitOptions = {
|
|
|
1335
1335
|
server: true,
|
|
1336
1336
|
libs: ['fs', 'crypto', 'http'],
|
|
1337
1337
|
},
|
|
1338
|
+
wiim: {
|
|
1339
|
+
name: 'WiiM / LinkPlay',
|
|
1340
|
+
mp3Required: true,
|
|
1341
|
+
checkLength: true,
|
|
1342
|
+
server: true,
|
|
1343
|
+
libs: ['fs', 'crypto', 'http'],
|
|
1344
|
+
},
|
|
1345
|
+
assistant: {
|
|
1346
|
+
name: 'Assistant satellites',
|
|
1347
|
+
mp3Required: true,
|
|
1348
|
+
checkLength: true,
|
|
1349
|
+
server: true,
|
|
1350
|
+
libs: ['fs', 'crypto', 'http'],
|
|
1351
|
+
},
|
|
1352
|
+
asterisk: {
|
|
1353
|
+
// The asterisk adapter reads the generated file from the disk, so no web server is required
|
|
1354
|
+
name: 'Asterisk (phone call)',
|
|
1355
|
+
mp3Required: true,
|
|
1356
|
+
checkLength: true,
|
|
1357
|
+
server: false,
|
|
1358
|
+
libs: ['fs'],
|
|
1359
|
+
},
|
|
1360
|
+
kodi: {
|
|
1361
|
+
name: 'Kodi',
|
|
1362
|
+
mp3Required: true,
|
|
1363
|
+
checkLength: true,
|
|
1364
|
+
server: true,
|
|
1365
|
+
libs: ['fs', 'crypto', 'http'],
|
|
1366
|
+
},
|
|
1367
|
+
bose: {
|
|
1368
|
+
name: 'Bose SoundTouch',
|
|
1369
|
+
mp3Required: true,
|
|
1370
|
+
checkLength: true,
|
|
1371
|
+
server: true,
|
|
1372
|
+
libs: ['fs', 'crypto', 'http'],
|
|
1373
|
+
},
|
|
1374
|
+
alexa: {
|
|
1375
|
+
// Alexa speaks the text with its own voice, so no mp3 file is generated
|
|
1376
|
+
name: 'Alexa',
|
|
1377
|
+
mp3Required: false,
|
|
1378
|
+
checkLength: false,
|
|
1379
|
+
server: false,
|
|
1380
|
+
libs: [],
|
|
1381
|
+
},
|
|
1382
|
+
fully: {
|
|
1383
|
+
name: 'Fully Kiosk Browser',
|
|
1384
|
+
mp3Required: true,
|
|
1385
|
+
checkLength: true,
|
|
1386
|
+
server: true,
|
|
1387
|
+
libs: ['fs', 'crypto', 'http'],
|
|
1388
|
+
},
|
|
1338
1389
|
chromecast: {
|
|
1339
1390
|
name: 'Chromecast',
|
|
1340
1391
|
mp3Required: true,
|