No project description provided
Project description
Rhasspy Wake Mycroft Precise Hermes
Implements hermes/hotword
functionality from Hermes protocol using Mycroft Precise.
Requirements
- Python 3.7
- Mycroft Precise
- Expects
precise-engine
in$PATH
- Expects
Installation
$ git clone https://github.com/rhasspy/rhasspy-wake-precise-hermes
$ cd rhasspy-wake-precise-hermes
$ ./configure
$ make
$ make install
Running
$ bin/rhasspy-wake-precise-hermes <ARGS>
Command-Line Options
usage: rhasspy-wake-precise-hermes [-h] [--model MODEL] [--engine ENGINE]
[--model-dir MODEL_DIR]
[--sensitivity SENSITIVITY]
[--trigger-level TRIGGER_LEVEL]
[--wakeword-id WAKEWORD_ID]
[--log-predictions]
[--udp-audio UDP_AUDIO UDP_AUDIO UDP_AUDIO]
[--host HOST] [--port PORT]
[--username USERNAME] [--password PASSWORD]
[--tls] [--tls-ca-certs TLS_CA_CERTS]
[--tls-certfile TLS_CERTFILE]
[--tls-keyfile TLS_KEYFILE]
[--tls-cert-reqs {CERT_REQUIRED,CERT_OPTIONAL,CERT_NONE}]
[--tls-version TLS_VERSION]
[--tls-ciphers TLS_CIPHERS]
[--site-id SITE_ID] [--debug]
[--log-format LOG_FORMAT]
optional arguments:
-h, --help show this help message and exit
--model MODEL Precise model file to use (.pb)
--engine ENGINE Path to precise-engine executable
--model-dir MODEL_DIR
Directories with Precise models
--sensitivity SENSITIVITY
Model sensitivity (default: 0.5)
--trigger-level TRIGGER_LEVEL
Activation threshold before prediction (default: 3)
--wakeword-id WAKEWORD_ID
Wakeword ID for model (default: use file name)
--log-predictions Log prediction probabilities for each audio chunk
(very verbose)
--udp-audio UDP_AUDIO UDP_AUDIO UDP_AUDIO
Host/port/siteId for UDP audio input
--host HOST MQTT host (default: localhost)
--port PORT MQTT port (default: 1883)
--username USERNAME MQTT username
--password PASSWORD MQTT password
--tls Enable MQTT TLS
--tls-ca-certs TLS_CA_CERTS
MQTT TLS Certificate Authority certificate files
--tls-certfile TLS_CERTFILE
MQTT TLS certificate file (PEM)
--tls-keyfile TLS_KEYFILE
MQTT TLS key file (PEM)
--tls-cert-reqs {CERT_REQUIRED,CERT_OPTIONAL,CERT_NONE}
MQTT TLS certificate requirements (default:
CERT_REQUIRED)
--tls-version TLS_VERSION
MQTT TLS version (default: highest)
--tls-ciphers TLS_CIPHERS
MQTT TLS ciphers to use
--site-id SITE_ID Hermes site id(s) to listen for (default: all)
--debug Print DEBUG messages to the console
--log-format LOG_FORMAT
Python logger format
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file rhasspy-wake-precise-hermes-0.3.0.tar.gz
.
File metadata
- Download URL: rhasspy-wake-precise-hermes-0.3.0.tar.gz
- Upload date:
- Size: 92.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e777fc477c828362df07dfe3b3e4326fb1c54229a500f36d52e06af1b80a865 |
|
MD5 | a2fc6c455807e5e89b5a99a2d42da435 |
|
BLAKE2b-256 | 2c61ea17bf9f2b4a7aa5517a5f333f29df8f0bec53222427c021e393ce7ed872 |