Skip to content
Rhasspy voice assistant for Home Assistant and Hass.IO
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin Tests passing May 24, 2019
docker Needed to add libssd-dev May 25, 2019
docs Added profile check and download command May 18, 2019
etc Add new test WAV for Dutch by an actual human May 18, 2019
examples Added timer example May 15, 2019
profiles Selectively downloading flair embeddings May 24, 2019
public Added log tab and updated swagger API May 9, 2019
rhasspy Diffing profile relative to system json May 24, 2019
src Added --ssl May 17, 2019
tools Add tools build files May 22, 2019
.dockerignore Remove vi profile from docker ignore Apr 16, 2019
.env.development Second attempt at git cleanup Mar 31, 2019
.gitignore Using binary distributions for everything May 22, 2019
.projectile Second attempt at git cleanup Mar 31, 2019
Makefile Using binary distributions for everything May 22, 2019
README.md Minor fix to README May 15, 2019
app.py
babel.config.js Second attempt at git cleanup Mar 31, 2019
config.json Second attempt at git cleanup Mar 31, 2019
create-venv.sh Merge branch 'fix-venv' of https://github.com/synesthesiam/rhasspy May 23, 2019
download-dependencies.sh Successful create-venv on armhf May 23, 2019
make-g2p.sh Splitting CMU dictionary on spaces explicitly May 19, 2019
mkdocs.yml
mypy.ini Type annotation fixes May 3, 2019
package.json Can't seem to install flair on the pi's :( May 16, 2019
requirements.txt Added --ssl May 17, 2019
run-docker-alsa.sh Fixing Dockerfiles and examples May 3, 2019
run-docker-pulseaudio.sh Fixing Dockerfiles and examples May 3, 2019
run-tests.sh Tests passing May 24, 2019
run-venv.sh Using binary distributions for everything May 22, 2019
test.py Tests passing May 24, 2019
yarn.lock Can't seem to install flair on the pi's :( May 16, 2019

README.md

Rhasspy logo

Rhasspy (pronounced RAH-SPEE) is an offline, multilingual voice assistant toolkit inspired by Jasper that works well with Home Assistant, Hass.io, and Node-RED.

Rhasspy transforms voice commands into JSON events that can trigger actions in home automation software, like Home Assistant automations or Node-RED flows. You define custom voice commands in a profile using a specialized template syntax, and Rhasspy takes care of the rest.

To run Rhasspy with the English (en) profile using Docker:

docker run -d -p 12101:12101 \
      --restart unless-stopped \
      -v "$HOME/.config/rhasspy/profiles:/profiles" \
      --device /dev/snd:/dev/snd \
      synesthesiam/rhasspy-server:latest \
      --profile en \
      --user-profiles /profiles

Then visit the web interface at http://localhost:12101 See the web interface documentation for a brief tour of what you can do.

Supported Languages

Rhasspy currently supports the following languages:

  • English (en)
  • German (de)
  • Spanish (es)
  • French (fr)
  • Italian (it)
  • Dutch (nl)
  • Russian (ru)
  • Greek (el)
  • Hindi (hi)
  • Mandarin (zh)
  • Vietnamese (vi)
  • Portuguese (pt)

The table below summarizes language support across the various supporting technologies that Rhasspy uses:

Category Name Offline? en de es fr it nl ru el hi zh vi pt
Wake Word pocketsphinx
snowboy requires account
precise
Speech to Text pocketsphinx
kaldi
Intent Recognition fsticuffs
fuzzywuzzy
adapt
flair
rasaNLU needs extra software
Text to Speech espeak
flite
picotts
marytts
wavenet

• - yes, but requires training/customization

For more information, please see the documentation.

Intended Audience

Rhasspy is intended for advanced users that want to have a voice interface to Home Assistant, but value privacy and freedom above all else. There are many other voice assistants, but none (to my knowledge) that:

  1. Can function completely disconnected from the Internet
  2. Are entirely free/open source
  3. Work well with Home Assistant, Hass.io, and Node-RED

If you feel comfortable sending your voice commands through the Internet for someone else to process, or are not comfortable with rolling your own Home Assistant automations to handle intents, I recommend taking a look at Mycroft.

Contributing

For users who are also coders, pull requests for bug fixes or new components are always welcome and much appreciated!

If you can speak/write one of the supported languages, I would love to hear your feedback about that language's profile. I only speak English, so I rely on users of Rhasspy (and Google Translate) to help me write example sentences and create test WAV files.

You can’t perform that action at this time.