openhab / openhab-syno-spk

openHAB Synology SPK Install Package
Eclipse Public License 2.0
161 stars 42 forks source link

No compatible audio format found #106

Open Skostrub opened 7 years ago

Skostrub commented 7 years ago

USB Audio card installed. Works with Audio station.

Service VoiceRSS configured. Web audio works (in desktop brouser) Default speaker (should be USB card) while attemting to run "Say" command brings:

[WARN ] [core.voice.internal.VoiceManagerImpl] - No compatible audio format found for TTS 'voicerss' and sink 'javasound'

Not sure whether it should be addressed here, but since it is relevant only to OH2 running on Synology I will post it here.

default

default

cniweb commented 7 years ago

Have you read the docu: http://docs.openhab.org/configuration/multimedia.html

To check, which audio sinks are available, you can use the console: openhab> smarthome:audio sinks

Skostrub commented 7 years ago

btw on Synology DS213J I cannot connet to console. If I run ssh -p 8101 openhab@localhost it closes due to timeout. So I do not see password request. It might be slow system performance when ssl key is generated. but after several attempts it always disconnects after timeout.

Start.sh scripts for OH2 does not work. So I tried to stop the service from package manager. Then run client app from /var/packages/openHAB2/target/runtime/bin.

This tricky way passed me to OH 2console, but openhab> smarthome:audio sinks - command unrecognized.

cniweb commented 7 years ago

I try this on the diskstation:

DS3615xs> ssh -p 8101 openhab@localhost
The authenticity of host '[localhost]:8101 ([127.0.0.1]:8101)' can't be established.
RSA key fingerprint is 73:71:94:60:aa:71:9a:bd:72:12:11:31:c8:e5:4e:64.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '[localhost]:8101' (RSA) to the list of known hosts.
Password authentication
Password:

                          __  _____    ____
  ____  ____  ___  ____  / / / /   |  / __ )
 / __ \/ __ \/ _ \/ __ \/ /_/ / /| | / __  |
/ /_/ / /_/ /  __/ / / / __  / ___ |/ /_/ /
\____/ .___/\___/_/ /_/_/ /_/_/  |_/_____/
    /_/                        2.2.0-SNAPSHOT
                               Build #1067

Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown openHAB.

openhab> smarthome:audio sinks
enhancedjavasound
javasound
webaudio