Skip to main content

A wake word detection system for Rhasspy

Project description

A wakeword detector for Rhasspy.

The Rhasspy project already has several wake word detectors to choose from. Unfortunately the existing wake word detectors fall in two categories: the not very good and the limited.

OpenWakeWordListener is sensitive, accurate, fast, and you can choose any wake word you like - you can even have multiple wake words or offload the wake word detection to another computer entirely. The trade-off is that OpenWakeWordListener requires more computing resources.

Installation

pip install openwakewordlistener

Configuring Rhasspy

  1. Open the Rhasspy web UI.
  2. Click the little cog icon in the left margin to open the settings.
  3. To the right of "MQTT", press the drop-down menu and select "External".
  4. To the right of "Wake Word" press the drop-down menu and select "Hermes MQTT".
  5. Click "Save Settings"

That's it! While you're in the settings, make note of which MQTT settings Rhasspy uses - you need to use the same settings for OpenWakeWordListener.

If you are running Rhasspy as a Home Assistant add-on, make sure you have also installed the Mosquitto MQTT broker add-on.

Running

To run the detector standalone: python -m openwakewordlistener

Give the -h command line switch for a list of command line arguments.

Including in your own project

After installing the package, all you have to do is:

  1. Import the package:

    from openwakewordlistener import wakeword_listener

  2. Instantiate a listener:

    listener = wakeword_listener.WakeWordListener()

  3. Start the listener:

    listener.run()

Dependencies

OpenWakeWordListener uses Silero VAD for speech detection and Whisper for speech decoding.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openwakewordlistener-0.0.6.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openwakewordlistener-0.0.6-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file openwakewordlistener-0.0.6.tar.gz.

File metadata

  • Download URL: openwakewordlistener-0.0.6.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for openwakewordlistener-0.0.6.tar.gz
Algorithm Hash digest
SHA256 0a46bc9f9bfaf0fb7e06169193d1e9426d1edc803024f2398406dcde82fafbb8
MD5 88106117071e8b020e1be4ac16dd5908
BLAKE2b-256 9c5013f05e6ae7a2ce2dc3082eeb6d372cf47fa1f44b10a2d4ca103680803af8

See more details on using hashes here.

File details

Details for the file openwakewordlistener-0.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for openwakewordlistener-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 9890bd165e4c320fcfd7eb01117e994be73976c2f69d51b04b6edc3cbd05f7d5
MD5 f64f4d865ab7158546fdf3c3628063e5
BLAKE2b-256 3e71d414abaa80c086269b5f2ffc473d45aa11e23b95688fb21b3c5d19395491

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page