Hi, re posting my issue as previous got deleted it seems…
I’m running Openhab in docker, version openhab/openhab:3.1.0-snapshot-debian
.
I have Google TTS , bundle 3.1.0.202102070347
in active state.
I followed the instructions to configure oAuth for GoogleTTS which resulted with the following log entries:
2021-02-08 20:02:36.335 [DEBUG] [.googletts.internal.GoogleTTSService] - Updating configuration
2021-02-08 20:02:36.337 [DEBUG] [ce.googletts.internal.GoogleCloudAPI] - Trying to get access and refresh tokens.
2021-02-08 20:02:36.869 [WARN ] [.googletts.internal.GoogleTTSService] - Audio format OGG_OPUS is not yet supported.
2021-02-08 20:02:36.873 [DEBUG] [.googletts.internal.GoogleTTSService] - Updating configuration
2021-02-08 20:02:36.944 [WARN ] [.googletts.internal.GoogleTTSService] - Audio format OGG_OPUS is not yet supported.
In UI , the Default Voice section is empty, e.g no GoogleTTS voice listed.
Any commands that require TTS results in the following error:
java.util.NoSuchElementException: null
at java.util.ArrayList$Itr.next(ArrayList.java:1000) ~[?:?]
at org.openhab.core.voice.internal.VoiceManagerImpl.getPreferredVoice(VoiceManagerImpl.java:440) ~[?:?]
at org.openhab.core.voice.internal.VoiceConsoleCommandExtension.getDefaultVoice(VoiceConsoleCommandExtension.java:115) ~[?:?]
at org.openhab.core.voice.internal.VoiceConsoleCommandExtension.execute(VoiceConsoleCommandExtension.java:92) ~[?:?]
at org.openhab.core.io.console.ConsoleInterpreter.execute(ConsoleInterpreter.java:55) [bundleFile:?]
at org.openhab.core.io.console.karaf.internal.CommandWrapper.execute(CommandWrapper.java:78) [bundleFile:?]
at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:68) [bundleFile:4.2.7]
at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:86) [bundleFile:4.2.7]
at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:599) [bundleFile:4.2.7]
at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:526) [bundleFile:4.2.7]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:415) [bundleFile:4.2.7]
at org.apache.felix.gogo.runtime.Pipe.doCall(Pipe.java:416) [bundleFile:4.2.7]
at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:229) [bundleFile:4.2.7]
at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:59) [bundleFile:4.2.7]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
at java.lang.Thread.run(Thread.java:834) [?:?]
@tnemrap , in my previous post , you mentioned i did not succeed with the auth and code. How can i debug it? What should I look for?
Thank you for your time and help!!!
Yuly