iobroker.sayit 5.2.4 → 5.3.1

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
@@ -47,6 +47,10 @@ Online:
47
47
  - Yandex: Russian
48
48
  To use Yandex voices you must request the API key here: [https://tech.yandex.ru/speechkit/cloud/doc/dg/concepts/About-docpage/](https://tech.yandex.ru/speechkit/cloud/doc/dg/concepts/About-docpage/). [This service will be disabled 1st of Jan 2019 and replaced by Yandex.cloud]
49
49
  To use Yandex.cloud you should register here: [https://cloud.yandex.ru/], install SpeechKIT API in the Cloud and get Auth Token and Folder ID as described in API instructions.
50
+ - FreeTTS: more than 400 voices in more than 75 languages, provided by [https://freetts.org](https://freetts.org).
51
+ The language is not selected by the engine, but by the voice, e.g. `de-DE-KatjaNeural`.
52
+ An API key from the [pricing page](https://freetts.org/pricing) is required. The free tier of the service
53
+ appends a spoken "generated with freeTTS.org" to every text, so it cannot be used for announcements.
50
54
  - Cloud: To use Cloud voices you need configured and running `cloud` adapter or enter app-key directly in settings
51
55
  - Amazon Web Services Polly:
52
56
  To use AWS Polly voices, you need to create an access key and secret key [here](https://console.aws.amazon.com/iam/home). The Amazon documentation can you find [here](http://docs.aws.amazon.com/general/latest/gr/managing-aws-access-keys.html).
@@ -59,6 +63,19 @@ Offline:
59
63
  - Coqui TTS: English, German, Spanish, French, Dutch, Japanese, Chinese;
60
64
  For instructions how to use go to the [official documentation](https://tts.readthedocs.io/en/latest/index.html)
61
65
 
66
+ ### Test of the text generation
67
+ With the button `Test text generation` on the tab `Engine` you can check if the selected engine is configured properly.
68
+
69
+ The field `Test text` is prefilled with a test sentence in the language of the selected engine and can be changed
70
+ as desired. If the field is empty, the same sentence will be used. The text will be generated with the settings
71
+ of the dialog, so they must not be saved before the test.
72
+
73
+ The text will be only generated and not played, so the test works even if no player is available.
74
+ The dialog shows the size and the duration of the generated file and tries to open it in a new browser tab,
75
+ so you can listen to it. For that the browser must allow pop-ups for the ioBroker admin.
76
+
77
+ To test the generation **and** the playback together, use the button `Test` on the tab `Player`.
78
+
62
79
  ### Cloud and Amazon Web Services Polly text formatting
63
80
  You can format your text with [Speech Synthesis Markup Language](http://docs.aws.amazon.com/polly/latest/dg/ssml.html).
64
81
 
@@ -139,6 +156,13 @@ The following values for engines are possible:
139
156
  - **zh-CN** - 简体中文
140
157
  - **pt** - Português
141
158
 
159
+ #### FreeTTS
160
+ - **freeTTS** - the voice, the speed and the pitch are taken from the instance configuration
161
+
162
+ The language is a part of the voice, so only one engine name exists. The voice, e.g. `de-DE-KatjaNeural`,
163
+ is selected in the configuration dialog and the list of all available voices is read from the service.
164
+ A request is limited to 10000 characters, so longer texts are split and said one after another.
165
+
142
166
  #### Yandex
143
167
  - **ru_YA:Yandex** - Русский
144
168
  - **ru_YA_CLOUD:Yandex Cloud** - Русский [Yandex.Cloud API generates files in OGG format. To play ogg files on linux mplayer should be installed and selected as system player]
@@ -278,9 +302,22 @@ The following values for engines are possible:
278
302
  ### **WORK IN PROGRESS**
279
303
  -->
280
304
  ## Changelog
305
+ ### 5.3.1 (2026-08-13)
306
+ * (@GermanBluefox) Added the button "Test text generation" to the "Engine" tab, so the selected engine can be tested with an own text
307
+ * (@GermanBluefox) Test generations do not overwrite the cached files anymore
308
+ * (@GermanBluefox) Adapter requires node.js >= 22 and js-controller >= 6.0.11 now
309
+ * (@GermanBluefox) Older changelog entries were moved to CHANGELOG_OLD.md
310
+ * (@GermanBluefox) Updated the dependabot and auto-merge configuration
311
+
312
+ ### 5.3.0 (2026-08-13)
313
+ * (@GermanBluefox) Added freetts.org as a new TTS engine with more than 400 voices. An API key is required
314
+ * (@GermanBluefox) The engine is selected in two steps now: first the provider and then the voice
315
+ * (@GermanBluefox) The words of the Blockly block are translated into all 11 languages now
316
+ * (@GermanBluefox) Blockly block migrated to TypeScript and the generated code is unchanged
317
+
281
318
  ### 5.2.4 (2026-08-07)
282
319
  * (@GermanBluefox) Corrected the upload of the announcement mp3 files and the location of the cache directory
283
- * (@GermanBluefox) Corrected the splitting of long texts for the google engine
320
+ * (@GermanBluefox) Corrected the splitting of long texts for the Google engine
284
321
  * (@GermanBluefox) Corrected the detection of sonos devices in the configuration dialog
285
322
  * (@GermanBluefox) Cached files will be deleted again if the engine was changed
286
323
  * (@GermanBluefox) The queue does not block anymore if an error occurs by processing of a task
@@ -298,270 +335,7 @@ The following values for engines are possible:
298
335
  * (mcm1957) Adapter requires jas-controller 5 or newer now
299
336
  * (bluefox) Added possibility to play directly from states: `sayit.0/tts.userfiles/gong.mp3`
300
337
 
301
- ### 4.0.5 (2024-07-12)
302
- * (bluefox) Packages updated
303
- * (bluefox) Corrected playing in vis
304
- * (bluefox) Corrected blockly
305
- * (bluefox) Corrected upload of files
306
-
307
- ### 4.0.1 (2024-05-25)
308
- * (bluefox) Packages updated
309
- * (neopholus) Using the pre-calculated duration of the mp3 to wait long enough even for longer announcements
310
-
311
- ### 4.0.0 (2023-10-31)
312
- * (bluefox) Breaking changes: A minimal node.js version is 16
313
- * (bluefox) Browser outputs now to vis(1) and vis-2
314
-
315
- ### 3.0.5 (2023-04-17)
316
- * (bluefox) Corrected error with System player
317
- * (bluefox) Do not allow for chromecast to cache files.
318
- * (bluefox) Allowed to add cloud App-Key without running cloud adapter
319
- * (bluefox) Added austrian language
320
- * (bluefox) Added norwegian language
321
- * (klein0r) Used sendTo instead of setState in blockly
322
-
323
- ### 3.0.0 (2023-04-03)
324
- * (bluefox) Restored cloud engines. Warning: update cloud adapter to at least 4.4.0
325
- * (bluefox) Breaking changes: A minimal node.js version is 14
326
-
327
- ### 2.1.2 (2023-03-27)
328
- * (bluefox) Corrected engines with web-link
329
-
330
- ### 2.1.1 (2023-03-24)
331
- * (Jey-Cee) Added support for Coqui TTS
332
- * (bluefox) Renamed all configuration attributes
333
-
334
- ### 2.0.0 (2023-03-23)
335
- * (bluefox) Adapter was completely rewritten with async/await
336
- * (bluefox) Could be buggy
337
-
338
- ### 1.13.0 (2023-03-22)
339
- * (bluefox) Made compatible with future js-controller
340
-
341
- ### 1.12.6 (2022-02-09)
342
- * (bluefox) used setForeignBinaryState if possible
343
-
344
- ### 1.12.5 (2022-02-09)
345
- * (bluefox) Fixed errors in io-package.json
346
-
347
- ### 1.12.3 (2021-06-25)
348
- * (bluefox) corrected the Google engine
349
- * (bluefox) Added new voices: german, korean, brasil, Dutch
350
-
351
- ### 1.12.2 (2020-11-07)
352
- * (Apollon77) Prevent crash case (Sentry IOBROKER-SAYIT-Q, IOBROKER-SAYIT-S, IOBROKER-SAYIT-T)
353
-
354
- ### 1.12.0 (2020-10-19)
355
- * (withstu) Support for HEOS was added
356
-
357
- ### 1.11.5 (2020-09-24)
358
- * (Apollon77) prevent scheduled restart problems
359
-
360
- ### 1.11.3 (2020-09-17)
361
- * (Apollon77) make sure initialize errors do not crash adapter (Sentry IOBROKER-SAYIT-N)
362
-
363
- ### 1.11.2 (2020-08-08)
364
- * (Apollon77) catch errors in MDNS discovery (Sentry IOBROKER-SAYIT-E)
365
-
366
- ### 1.11.1 (2020-08-06)
367
- * (Apollon77) handle errors from process spawn better (Sentry IOBROKER-SAYIT-D)
368
-
369
- ### 1.11.0 (2020-08-02)
370
- * (Apollon77) Move the generated mp3 file to an own directory in iobroker-data instead of inside node_modules (Hopefully not breaking)
371
- * (Apollon77) Change the file writing to use Sync methods to make sure they cannot run in parallel
372
-
373
- ### 1.10.2 (2020-07-19)
374
- * (Apollon77) Crash case prevented (Sentry IOBROKER-SAYIT-8)
375
-
376
- ### 1.10.1 (2020-07-16)
377
- * (Apollon77) Handle edge cases and prevent crashes (Sentry IOBROKER-SAYIT-4, IOBROKER-SAYIT-6)
378
- * (Apollon77) try to get caching working again for Yandex
379
-
380
- ### 1.10.0 (2020-07-07)
381
- * (algar42) GUI updated to fill drop-downs correctly. Premium voices added to Yandex.Cloud engine
382
-
383
- ### 1.9.8 (2020-06-11)
384
- * (Apollon77) fixed error handling on file copy
385
-
386
- ### 1.9.7 (2020-06-11)
387
- * (algar42) tts.ogg state added for ogg file type
388
-
389
- ### 1.9.6 (2020-05-24)
390
- * (bluefox) Showed names of SONOS devices
391
-
392
- ### 1.9.4 (2020-05-11)
393
- * (Apollon77) Fix Blockly
394
- * (Apollon77) Update dependencies
395
-
396
- ### 1.9.3 (2020-04-24)
397
- * (bluefox) Fixed blockly with missing languages
398
-
399
- ### 1.9.2 (2020-04-21)
400
- Changed type of top-level object to "meta" in order to comply with js-controller v3
401
-
402
- ### 1.9.1 (2020-03-12)
403
- * (foxriver76) removed usage of adapter.getMessage
404
-
405
- ### 1.9.0 (2019-11-06)
406
- * (algar42) Output file extension is changed dynamically based on the engine selected
407
-
408
- ### 1.8.2 (2019-07-11)
409
- * (bluefox) Web server URL will be updated if web server was updated
410
-
411
- ### 1.8.1
412
- * Add Ukrainian Google Language
413
-
414
- ### 1.8.0 (2018-12-04)
415
- * (bluefox) Priority for the text was added
416
-
417
- ### 1.7.1 (2018-09-19)
418
- * (BuZZy1337) fixed error in Blockly-Block
419
-
420
- ### 1.7.0 (2018-06-08)
421
- * (bluefox) Ivona removed
422
- * (bluefox) Error was fixed by upload of file to FTP
423
- * (bluefox) admin3
424
-
425
- ### 1.6.8 (2018-04-11)
426
- * (BuZZy1337) Generate separate mp3 files for each instance.
427
- * Fixes [Issue#34](https://github.com/ioBroker/ioBroker.sayit/issues/34)
428
- * (BuZZy1337) Always upload mp3 files to the state sayit.X.tts.mp3
429
-
430
- ### 1.6.7 (2018-02-05)
431
- * (Apollon77) Remove unneeded logging
432
- * (bondrogeen) Admin3 Fixes
433
-
434
- ### 1.6.6 (2017-11-27)
435
- * (angelnu) Wait for a Google Home announcement to complete
436
-
437
- ### 1.6.5 (2017-11-04)
438
- * (bluefox) Fix cloud .pro
439
-
440
- ### 1.6.4 (2017-10-18)
441
- * (bluefox) Fix system commands
442
-
443
- ### 1.6.3 (2017-10-04)
444
- * (bluefox) Code refactoring
445
- * (bluefox) Add Google Home as output
446
- * (bluefox) Remove ivona because not more supported
447
-
448
- ### 1.5.2 (2017-03-09)
449
- * (bluefox) Catch error if some directory in mp3 folder
450
-
451
- ### 1.5.1 (2017-02-15)
452
- * (bluefox) Fix blockly language
453
-
454
- ### 1.5.0 (2017-01-27)
455
- * (DarkChaos) Add AWS Polly as source
456
- * (bluefox) Add cloud as a source
457
-
458
- ### 1.4.0 (2017-01-16)
459
- * (bluefox) fixed install problem
460
- * (bluefox) add PicoTTS as a source
461
-
462
- ### 1.3.3 (2017-01-13)
463
- * (bluefox) show only installed instances in blockly
464
-
465
- ### 1.3.2 (2017-01-10)
466
- * (angelnu) changes for new chromecast tts
467
-
468
- ### 1.3.1 (2016-12-27)
469
- * (bluefox) small fixed of config dialog
470
- * (AirKing555) Fix Volume change
471
-
472
- ### 1.3.0 (2016-12-20)
473
- * (instalator) add mpd
474
-
475
- ### 1.2.1 (2016-10-31)
476
- * (bluefox) Fix cache
477
-
478
- ### 1.2.0 (2016-10-28)
479
- * (bluefox) Finish sayit
480
-
481
- ### 1.1.3 (2016-10-24)
482
- * (bluefox) Fix changing of engine
483
-
484
- ### 1.1.2 (2016-10-20)
485
- * (bluefox) Add omxplayer option
486
-
487
- ### 1.0.1 (2016-10-12)
488
- * (bluefox) support for blockly
489
-
490
- ### 1.0.0 (2016-05-14)
491
- * (bluefox) Make the type of mp3 as file
492
-
493
- ### 0.3.16 (2015-12-26)
494
- * (Vegetto) Support for Chromecast devices
495
-
496
- ### 0.3.16 (2015-12-26)
497
- * (bluefox) enable play of mp3 files from disk
498
-
499
- ### 0.3.15 (2015-11-10)
500
- * (bluefox) fill default settings by first start
501
-
502
- ### 0.3.14 (2015-11-01)
503
- * (bluefox) fixed error with sayItWindows
504
-
505
- ### 0.3.13 (2015-10-27)
506
- * (bluefox) fixed error with sayItSystem
507
-
508
- ### 0.3.12 (2015-10-06)
509
- * (bluefox) fixed error if received mp3 file is too short
510
- * (bluefox) try to implement cache datapoint (you can use `sayit.0.tts.cachetext` to create cache for phrases and use sayit without internet)
511
-
512
- ### 0.3.11 (2015-08-03)
513
- * (bluefox) change google requests from http to https
514
-
515
- ### 0.3.10 (2015-07-26)
516
- * (bluefox) add new voice Russian-Maxim
517
- * (bluefox) fixed error with mp24ftp
518
-
519
- ### 0.3.9 (2015-07-09)
520
- * (bluefox) fixed error by mediaplayer24
521
-
522
- ### 0.3.8 (2015-06-09)
523
- * (bluefox) make the volume for announcement configurable
524
- * (bluefox) make the command for "system" configurable
525
-
526
- ### 0.3.7 (2015-05-28)
527
- * (bluefox) fixed volume for an announcement
528
- * (bluefox) support for play files from internal filesystem, like `/sayit.0/tts.userfiles/myGong.mp3`
529
-
530
- ### 0.3.6 (2015-03-24)
531
- * (bluefox) fixed error with volume by sonos
532
-
533
- ### 0.3.5 (2015-03-22)
534
- * (bluefox) fixed error in an announcement
535
-
536
- ### 0.3.4 (2015-03-20)
537
- * (bluefox) fixed error in an announcement
538
-
539
- ### 0.3.3 (2015-03-20)
540
- * (bluefox) enable announcement
541
-
542
- ### 0.3.2 (2015-03-16)
543
- * (bluefox) clear cache if engine changed
544
-
545
- ### 0.3.1 (2015-03-15)
546
- * (bluefox) fixed small error with log
547
-
548
- ### 0.3.0 (2015-03-08)
549
- * (bluefox) add ivona/Amazon voices
550
-
551
- ### 0.2.2 (2015-03-08)
552
- * (bluefox) fixed error by buffering of non-generated texts.
553
-
554
- ### 0.2.1 (2015-03-07)
555
- * (bluefox) fixed error by buffering of non-generated texts.
556
-
557
- ### 0.2.0 (2015-03-02)
558
- * (bluefox) add yandex-russian support
559
-
560
- ### 0.1.0 (2015-03-02)
561
- * (bluefox) queue texts
562
-
563
- ### 0.0.1 (2015-02-06)
564
- * (bluefox) initial commit
338
+ [Older changelogs can be found there](CHANGELOG_OLD.md)
565
339
 
566
340
  ## License
567
341