]> git.basschouten.com Git - openhab-addons.git/commitdiff
[voskstt] add linux arm and linux aarch64 binaries (#12355)
authorGiviMAD <GiviMAD@users.noreply.github.com>
Wed, 23 Feb 2022 20:09:49 +0000 (21:09 +0100)
committerGitHub <noreply@github.com>
Wed, 23 Feb 2022 20:09:49 +0000 (21:09 +0100)
* [voskstt] add linux arm and linux aarch64 binaries
* [voskstt] change preload model configuration default to false
* [voskstt] add supported platforms to readme

Signed-off-by: Miguel Álvarez Díez <miguelwork92@gmail.com>
bundles/org.openhab.voice.voskstt/README.md
bundles/org.openhab.voice.voskstt/src/main/resources/OH-INF/config/config.xml
bundles/org.openhab.voice.voskstt/src/main/resources/linux-aarch64/libvosk.so [new file with mode: 0755]
bundles/org.openhab.voice.voskstt/src/main/resources/linux-arm/libvosk.so [new file with mode: 0755]

index 224d56f732bcdeb0928bcd3fcd95e9ce129fae4a..26feaf83d84a7d81ac87bd6097c7a963a3f90597 100644 (file)
@@ -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
index c0266cb9109927d5de3ec16b700acea6ad1a06c2..627b4d6970b2027ab3a320980056d0eb3200f2de 100644 (file)
@@ -34,7 +34,7 @@
                        <description>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.</description>
-                       <default>true</default>
+                       <default>false</default>
                </parameter>
                <parameter name="noResultsMessage" type="text" groupName="messages">
                        <label>No Results Message</label>
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 (executable)
index 0000000..1681a99
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 (executable)
index 0000000..1580867
Binary files /dev/null and b/bundles/org.openhab.voice.voskstt/src/main/resources/linux-arm/libvosk.so differ