Running WIN10, OH 2.2.0
Cannot get following working and NO READ IN LOG
say("Kinder", "pollytts:Marlene", "sonos:CONNECTAMP:Esszimmer")
What works:
say("Kinder")
using from PaperUI: same Sonos player as default audiosink, Polly TTS Engine, Marlene.
Read for this one in log:
21:24:41.300 [DEBUG] [ice.pollytts.internal.PollyTTSService] - voice UID: 'pollytts:Marlene' voice Label: 'Marlene' voice Locale: de_DE
21:24:41.363 [DEBUG] [api.CachedPollyTTSCloudImplementation] - PollyTTS cache cleaner lastdelete 32930895
21:24:41.394 [DEBUG] [ice.pollytts.internal.PollyTTSService] - Audio Stream for 'Kinder' in format AudioFormat [codec=MP3, container=NONE, bitDepth=16, bitRate=64000, frequency=22050]
Q: How to get the syntax right/define which sonos audiosink should be used in the say () command?
Much inspiration from many sources but did not find a solution:
OH Documentation Multimedia SAY()
that would state:
say("Hello world!", "voicerss:enUS", "sonos:PLAY5:kitchen")
items:
Group EZ_Sonos (Sonos)
Player EZ_Sonos_Control "Control" <sonos_control> (EZ_Sonos) {channel="sonos:CONNECTAMP:Esszimmer:control"}
String EZ_Sonos_CurrentAlbum "Album [%s]" <sonos_album> (EZ_Sonos) {channel="sonos:CONNECTAMP:Esszimmer:currentalbum"}
String EZ_Sonos_CurrentArtist "Artist [%s]" <sonos_artist> (EZ_Sonos) {channel="sonos:CONNECTAMP:Esszimmer:currentartist"}
String EZ_Sonos_CurrentTitle "Title [%s]" <sonos_title> (EZ_Sonos) {channel="sonos:CONNECTAMP:Esszimmer:currenttitle"}
String EZ_Sonos_CurrentTrack "Track [%s]" <sonos_track> (EZ_Sonos) {channel="sonos:CONNECTAMP:Esszimmer:currenttrack"}
Switch EZ_Sonos_Led "Led" <sonos_led> (EZ_Sonos) {channel="sonos:CONNECTAMP:Esszimmer:led"}
Switch EZ_Sonos_Mute "Mute" <sonos_mute> (EZ_Sonos) {channel="sonos:CONNECTAMP:Esszimmer:mute"}
String EZ_Sonos_NotificationSound "Notification Sound [%s]" <sonos_notification> (EZ_Sonos) {channel="sonos:CONNECTAMP:Esszimmer:notificationsound"}
Dimmer EZ_Sonos_Notificationsoundvolume "Notification Sound Volume" <soundvolume> (EZ_Sonos) {channel="sonos:CONNECTAMP:Esszimmer:notificationvolume"}
String EZ_Sonos_State "State [%s]" <sonos_state> (EZ_Sonos) {channel="sonos:CONNECTAMP:Esszimmer:state"}
Switch EZ_Sonos_Stop "Stop" <sonos_stop> (EZ_Sonos) {channel="sonos:CONNECTAMP:Esszimmer:stop", autoupdate="false"}
Dimmer EZ_Sonos_Volume "Volume" <soundvolume> (EZ_Sonos) {channel="sonos:CONNECTAMP:Esszimmer:volume"}
String EZ_Sonos_ZoneName "Zone Name [%s]" <sonos_zone> (EZ_Sonos) {channel="sonos:CONNECTAMP:Esszimmer:zonename"}
Sitemap works as well and updates.
Bundle:List
START LEVEL 100 , List Threshold: 50
ID | State | Lvl | Version | Name
----+----------+-----+------------------------+------------------------------------------------------------------------------------------------------------
15 | Active | 80 | 5.3.1.201602281253 | OSGi JAX-RS Connector
16 | Active | 80 | 2.4.5 | Jackson-annotations
17 | Active | 80 | 2.4.5 | Jackson-core
18 | Active | 80 | 2.4.5 | jackson-databind
19 | Active | 80 | 2.4.5 | Jackson-dataformat-XML
20 | Active | 80 | 2.4.5 | Jackson-dataformat-YAML
21 | Active | 80 | 2.4.5 | Jackson-module-JAXB-annotations
22 | Active | 80 | 2.7.0 | Gson
23 | Active | 80 | 18.0.0 | Guava: Google Core Libraries for Java
24 | Active | 80 | 3.0.0.v201312141243 | Google Guice (No AOP)
25 | Active | 80 | 3.12.0.OH | nrjavaserial
26 | Active | 80 | 1.5.8 | swagger-annotations
27 | Active | 80 | 3.19.0.GA | Javassist
29 | Active | 80 | 3.5.2 | JmDNS
32 | Active | 80 | 1.1.0.Final | Bean Validation API
34 | Active | 80 | 2.0.1 | javax.ws.rs-api
35 | Active | 80 | 3.2.0.v201101311130 | ANTLR Runtime
38 | Active | 80 | 3.2.1 | Commons Collections
39 | Active | 80 | 1.1 | Commons Exec
40 | Active | 80 | 2.2.0 | Commons IO
41 | Active | 80 | 2.6 | Commons Lang
51 | Active | 80 | 4.1.3 | Apache Karaf :: OSGi Services :: Event
70 | Active | 80 | 2.11.0.v20150805-0538 | EMF Common
71 | Active | 80 | 2.11.1.v20150805-0538 | EMF Ecore
72 | Active | 80 | 2.11.1.v20150805-0538 | EMF XML/XMI Persistence
73 | Active | 80 | 3.8.0.v20160509-1230 | Common Eclipse Runtime
74 | Active | 80 | 3.6.100.v20160223-2218 | Extension Registry Support
101 | Active | 80 | 0.2.1.v20170706-0855 | org.eclipse.lsp4j
102 | Active | 80 | 0.2.1.v20170706-0855 | org.eclipse.lsp4j.jsonrpc
103 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome Config Core
104 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome Configuration Discovery
105 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome Configuration mDNS Discovery
106 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome Config Dispatcher
107 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome Config Serial
108 | Active | 75 | 0.10.0.b1 | Eclipse SmartHome Config XML
109 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome Core
110 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome Core Audio
111 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome AutoUpdate Binding
112 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome Core Binding XML
113 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome Core ID
114 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome Core Persistence
115 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome Scheduler Service
116 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome Core Thing
117 | Active | 75 | 0.10.0.b1 | Eclipse SmartHome Core Thing XML
118 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome Transformation Service
119 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome Core Voice
120 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome Console
121 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome Console for OSGi runtime Karaf
122 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome JavaSound I/O, Fragments: 188
123 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome Monitor
124 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome Net I/O Bundle
125 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome REST Interface Bundle
126 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome Core REST API
127 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome REST mDNS Announcer
128 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome REST Interface JAX-RS optimization Bundle
129 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome Sitemap REST API
130 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome SSE REST API
131 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome Voice REST API
132 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome Bonjour/MDS Service Discovery Bundle
133 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome Web Audio Support
134 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome Model Core
135 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome Item Model
136 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome Item Model IDE
137 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome Item Model Runtime
138 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome Language Server
139 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome Persistence Model
140 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome Persistence Model IDE
141 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome Persistence Runtime
142 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome Rule Model
143 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome Rule Model IDE
144 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome Rule Runtime
145 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome Script
146 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome Script Model IDE
147 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome Script Runtime
148 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome Sitemap Model
149 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome Sitemap Model IDE
150 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome Sitemap Runtime
151 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome Thing Model
152 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome Thing Model IDE
153 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome Thing Model Runtime
154 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome Json Storage Service
155 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome UI
156 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome UI Icons
157 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome Classic IconSet
158 | Active | 80 | 2.12.0.v20170518-0757 | Xtend Runtime Library
159 | Active | 80 | 2.12.0.v20170518-0757 | Xtend Macro Interfaces
160 | Active | 80 | 2.12.0.v20170518-0959 | Xtext
161 | Active | 80 | 2.12.0.v20170519-0752 | Xtext Common Types
162 | Active | 80 | 2.12.0.v20171017-1700 | Xtext IDE Core
163 | Active | 80 | 2.12.0.v20170518-0959 | Xtext Utility
164 | Active | 80 | 2.12.0.v20170519-0752 | Xbase Model
165 | Active | 80 | 2.12.0.v20170519-0752 | Xbase Generic IDE Services
166 | Active | 80 | 2.12.0.v20170518-0757 | Xbase Runtime Library
181 | Active | 80 | 2.3.0 | JUPnP Library
182 | Active | 80 | 1.9.6 | MIME streaming extension
183 | Active | 80 | 5.0.2 | Require-Bundle Fix :: org.objectweb.asm
185 | Active | 90 | 2.2.0 | openHAB Core
186 | Active | 80 | 2.2.0 | openHAB Karaf Integration
188 | Resolved | 80 | 2.2.0 | openHAB Sound Support, Hosts: 122
189 | Active | 80 | 2.2.0 | openHAB Dashboard UI
194 | Active | 80 | 3.1.4 | Stax2 API
195 | Active | 80 | 3.2.0 | Commons Net
196 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome Basic UI, Fragments: 198
197 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome Paper UI, Fragments: 201
198 | Resolved | 75 | 2.2.0 | openHAB Basic UI Fragment, Hosts: 196
199 | Active | 80 | 2.2.0 | HABPanel User Interface
200 | Active | 80 | 2.2.0 | HomeBuilder User Interface
201 | Resolved | 75 | 2.2.0 | openHAB Paper UI Theme Fragment, Hosts: 197
202 | Active | 80 | 1.6.0 | Commons Codec
203 | Active | 80 | 4.2.3 | Apache HttpClient OSGi bundle
204 | Active | 80 | 4.2.3 | Apache HttpCore OSGi bundle
205 | Active | 80 | 3.1.0.7 | Apache ServiceMix :: Bundles :: commons-httpclient
207 | Active | 80 | 2.2.0 | openHAB 1.x Compatibility Layer
208 | Active | 80 | 2.2.0 | openHAB Cloud Connector Bundle
216 | Active | 80 | 2.3.0.201804102115 | Robonect Binding
217 | Active | 80 | 1.11.0 | openHAB HTTP Binding
218 | Active | 80 | 1.11.0 | openHAB Expire Binding
219 | Active | 80 | 1.11.0 | openHAB KNX Binding
220 | Active | 80 | 2.2.0 | Network Binding
224 | Active | 80 | 0.10.0.b1 | WeatherUnderground Binding
234 | Active | 80 | 2.2.0 | Exec Binding
235 | Active | 75 | 0.10.0.b1 | Eclipse SmartHome RegEx Transformation Service
236 | Active | 75 | 0.10.0.b1 | Eclipse SmartHome Exec Transformation Service
237 | Active | 75 | 0.10.0.b1 | Eclipse SmartHome Map Transformation Service
238 | Active | 80 | 0.10.0.b1 | Astro Binding
240 | Active | 80 | 2.2.0.201712061958 | PollyTSS Voice Service
244 | Active | 80 | 0.10.0.b1 | Sonos Binding
245 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome Configuration UPnP Discovery
246 | Active | 80 | 0.10.0.b1 | Eclipse SmartHome UPnP Transport Bundle