It’s not working for me too.
Solved - send it to the thing ID:
say("Testing 1, 2, 3","pollytts:Nicole","chromecast:chromecast:07xx2xxxxxxxxxx10c690434f532399bxxx")
Same here. Music does not resume when interrupted by a notification.
I cant get this to work: When I insert the device id I get an error.
I tried both with and without the double “chromecast:chromecast:…”
VoiceRSS work fine setting up the same device as default audio sink in the system settings.
2018-10-24 23:05:57.681 [WARN ] [core.voice.internal.VoiceManagerImpl] - Error saying 'Testing 1, 2, 3': No TTS service can be found for voice chromecast:255f3cf49521e13fa5f92fc38ae7ac51
org.eclipse.smarthome.core.voice.TTSException: No TTS service can be found for voice chromecast:255f3cf49521e13fa5f92fc38ae7ac51
at org.eclipse.smarthome.core.voice.internal.VoiceManagerImpl.say(VoiceManagerImpl.java:203) ~[?:?]
at org.eclipse.smarthome.model.script.actions.Voice.say(Voice.java:121) ~[?:?]
at org.eclipse.smarthome.model.script.actions.Voice.say(Voice.java:69) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]
at org.eclipse.xtext.xbase.interpreter.impl.XbaseInterpreter.invokeOperation(XbaseInterpreter.java:1085) ~[?:?]
at org.eclipse.xtext.xbase.interpreter.impl.XbaseInterpreter.invokeOperation(XbaseInterpreter.java:1060) ~[?:?]
at org.eclipse.xtext.xbase.interpreter.impl.XbaseInterpreter._invokeFeature(XbaseInterpreter.java:1046) ~[?:?]
at org.eclipse.xtext.xbase.interpreter.impl.XbaseInterpreter.invokeFeature(XbaseInterpreter.java:991) ~[?:?]
at org.eclipse.smarthome.model.script.interpreter.ScriptInterpreter.invokeFeature(ScriptInterpreter.java:143) ~[?:?]
at org.eclipse.xtext.xbase.interpreter.impl.XbaseInterpreter._doEvaluate(XbaseInterpreter.java:901) ~[?:?]
at org.eclipse.xtext.xbase.interpreter.impl.XbaseInterpreter._doEvaluate(XbaseInterpreter.java:864) ~[?:?]
at org.eclipse.xtext.xbase.interpreter.impl.XbaseInterpreter.doEvaluate(XbaseInterpreter.java:223) ~[?:?]
at org.eclipse.smarthome.model.script.interpreter.ScriptInterpreter.doEvaluate(ScriptInterpreter.java:219) ~[?:?]
at org.eclipse.xtext.xbase.interpreter.impl.XbaseInterpreter.internalEvaluate(XbaseInterpreter.java:203) ~[?:?]
at org.eclipse.xtext.xbase.interpreter.impl.XbaseInterpreter._doEvaluate(XbaseInterpreter.java:446) ~[?:?]
at org.eclipse.xtext.xbase.interpreter.impl.XbaseInterpreter.doEvaluate(XbaseInterpreter.java:227) ~[?:?]
at org.eclipse.smarthome.model.script.interpreter.ScriptInterpreter.doEvaluate(ScriptInterpreter.java:219) ~[?:?]
at org.eclipse.xtext.xbase.interpreter.impl.XbaseInterpreter.internalEvaluate(XbaseInterpreter.java:203) ~[?:?]
at org.eclipse.xtext.xbase.interpreter.impl.XbaseInterpreter.evaluate(XbaseInterpreter.java:189) ~[?:?]
at org.eclipse.smarthome.model.script.runtime.internal.engine.ScriptImpl.execute(ScriptImpl.java:82) ~[?:?]
at org.eclipse.smarthome.model.rule.runtime.internal.engine.RuleEngineImpl.lambda$2(RuleEngineImpl.java:345) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
Correction of the above: When I use this Say line in a rule:
say("Der er bevægelse ved multisensor 6", "VoiceRSS", "chromecast:chromecast:255f3cf49521e13fa5f92fc38ae7ac51")
I get an error:
2018-10-24 23:26:42.605 [INFO ] [pse.smarthome.model.script.PIR ALARM] - ZWaveNode5ZW100MultiSensor6_MotionAlarm
2018-10-24 23:26:42.596 [WARN ] [core.voice.internal.VoiceManagerImpl] - Error saying 'Der er bevægelse ved multisensor 6': No TTS service can be found for voice VoiceRSS:Danish
org.eclipse.smarthome.core.voice.TTSException: No TTS service can be found for voice VoiceRSS:Danish
at org.eclipse.smarthome.core.voice.internal.VoiceManagerImpl.say(VoiceManagerImpl.java:203) ~[?:?]
I believe the tag “VoiceRSS:Danish” isn´t correct. I also tried without :Danish, but then I get en error almost the same, but it say VoiceRSS:da
What tag is suppose to be inserted here?
I have setup the default language to danish and VoiceRSS as default Text-to-speech in the system configuration.
Here are my screens in PaperUI hope it helps - I dont use voicerss
(I have no item set up)
Rule
say(“Hey there”,“pollytts:Nicole”,“chromecast:chromecast:07ab22847dxxxxxx0c690434f532399b918”)
I have set the same in my setup. But I´m having problems using the rule, because I dont know how to define voicerss. I tried with voicerss:da - it gives an error. then i tried with voicerss:danish. It gives an error too. Then I tried with voicerss only, its gives an error too, as it default to voicerss:da
I also tried withtout setting voicerss in the rules, then I get an error telling me, if dosn´t know what audio sink to use.
So my problem is: How to set the syntacs in the rules, using voicerss.
I guess I have to try Polly insted.
Have you added your api key?
Thanks
Andrew
The correct syntax for a rule would be:
say(YourString, "voicerss:daDK, YourAudioSink)
You can find the corrrect Syntax for your voice on the karaf console by using : “smarthome:voice voices”
Ahh this is what I was looking for… Thanks alot… I would never have figured this one, thats for sure!!
Thanks, that help me a lot! Even though it is documented here I overlooked that fact.
For those who are using Google’s voice API one full working syntax would be as follows
say("Hallo, wie geht's?","googletts:deDEStandardA","chromecast:chromecast:2c232e90a111111119c01d5059507602", new PercentType(100))
same here … no solution found until now