diff --git a/bundles/org.openhab.voice.voskstt/README.md b/bundles/org.openhab.voice.voskstt/README.md index 224d56f73..26feaf83d 100644 --- a/bundles/org.openhab.voice.voskstt/README.md +++ b/bundles/org.openhab.voice.voskstt/README.md @@ -6,6 +6,17 @@ Vosk STT Service uses [vosk-api](https://github.com/alphacep/vosk-api) to perfor It enables speech recognition for 20+ languages and dialects - English, Indian English, German, French, Spanish, Portuguese, Chinese, Russian, Turkish, Vietnamese, Italian, Dutch, Catalan, Arabic, Greek, Farsi, Filipino, Ukrainian, Kazakh, Swedish, Japanese, Esperanto. More to come. +## Supported platforms + +This add-on uses an underling binary to work. +The following platforms are supported: + +* linux-aarch64 +* linux-armv7l +* linux-x86_64 +* osx +* win64 + ## Configuring the model Before you can use this service you should configure your language model. @@ -37,7 +48,7 @@ In case you would like to setup the service via a text file, create a new file i Its contents should look similar to: ``` -org.openhab.voice.voskstt:preloadModel=true +org.openhab.voice.voskstt:preloadModel=false org.openhab.voice.voskstt:singleUtteranceMode=true org.openhab.voice.voskstt:maxTranscriptionSeconds=60 org.openhab.voice.voskstt:maxSilenceSeconds=5 diff --git a/bundles/org.openhab.voice.voskstt/src/main/resources/OH-INF/config/config.xml b/bundles/org.openhab.voice.voskstt/src/main/resources/OH-INF/config/config.xml index c0266cb91..627b4d697 100644 --- a/bundles/org.openhab.voice.voskstt/src/main/resources/OH-INF/config/config.xml +++ b/bundles/org.openhab.voice.voskstt/src/main/resources/OH-INF/config/config.xml @@ -34,7 +34,7 @@ Keep language model loaded. If true model is just reload the model on config updates, if not model will be loaded and offloaded on each execution. It will fallback to try to load the model when executed if it was not able to load it before. - true + false diff --git a/bundles/org.openhab.voice.voskstt/src/main/resources/linux-aarch64/libvosk.so b/bundles/org.openhab.voice.voskstt/src/main/resources/linux-aarch64/libvosk.so new file mode 100755 index 000000000..1681a990a Binary files /dev/null and b/bundles/org.openhab.voice.voskstt/src/main/resources/linux-aarch64/libvosk.so differ diff --git a/bundles/org.openhab.voice.voskstt/src/main/resources/linux-arm/libvosk.so b/bundles/org.openhab.voice.voskstt/src/main/resources/linux-arm/libvosk.so new file mode 100755 index 000000000..1580867e0 Binary files /dev/null and b/bundles/org.openhab.voice.voskstt/src/main/resources/linux-arm/libvosk.so differ