iobroker.sayit 5.0.0 → 5.1.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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2015-2024 bluefox <dogafox@gmail.com>
3
+ Copyright (c) 2015-2025 bluefox <dogafox@gmail.com>
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -107,6 +107,17 @@ To install omxplayer write `sudo apt-get install omxplayer` or write `sudo apt-g
107
107
 
108
108
  **Note:** The default announce selection will be possible only after the start of the instance.
109
109
 
110
+ With `sendTo` you can send more different parameters, like `sonosDevice` or `browserInstance`:
111
+ ```javascript
112
+ sendTo('sayit.0', 'say', {
113
+ text: 'Hello',
114
+ sonosDevice: 'Wohnzimmer', // optional, if not defined, the device from configuration will be used
115
+ engine: 'Google-de', // optional, if not defined, the device from configuration will be used
116
+ type: 'sonos', // optional, if not defined, the device from configuration will be used
117
+ volume: 20, // optional, if not defined, the device from configuration will be used
118
+ });
119
+ ```
120
+
110
121
  ### Priorities
111
122
  To immediately pronounce the text despite the queued texts, you have two possibilities:
112
123
  - place "!" as a first character in text, so this text will be pronounced immediately after the current one.
@@ -267,6 +278,11 @@ The following values for engines are possible:
267
278
  ### **WORK IN PROGRESS**
268
279
  -->
269
280
  ## Changelog
281
+ ### 5.1.0 (2025-09-17)
282
+ * (bluefox) Adapter was rewritten with TypeScript
283
+ * (bluefox) Updated Polly voices list
284
+ * (bluefox) Added option to send sonos device as parameter in sendTo command
285
+
270
286
  ### 5.0.0 (2024-07-16)
271
287
  * (mcm1957) Adapter requires admin v7 or newer now
272
288
  * (mcm1957) Adapter requires jas-controller 5 or newer now
@@ -541,7 +557,7 @@ Changed type of top-level object to "meta" in order to comply with js-controller
541
557
 
542
558
  The MIT License (MIT)
543
559
 
544
- Copyright (c) 2014-2024, bluefox <dogafox@gmail.com>
560
+ Copyright (c) 2014-2025, bluefox <dogafox@gmail.com>
545
561
 
546
562
  Permission is hereby granted, free of charge, to any person obtaining a copy
547
563
  of this software and associated documentation files (the "Software"), to deal