synesthesiam/rhasspy

Rhasspy voice assistant for offline home automation

HTML

952

627 commits

updated Jul 30, 2020

See the code

See what people are saying

SourceMessageScoreDate

Perhaps https://rhasspy.readthedocs.io/en/latest/

on Ask HN: Any DIY open-source Alexa/Google alternatives?

0

Feb 24, 2026

Right before LLMs broke into the scene we had a few techniques I was aware of: * Personality Forge uses a rules-based scripting approach [0]. This is basically ELIZA extended to take advantage of modern processing power. * Rasa [1] used traditional NLP/NLU techniques and small-model ML to match…

on ELIZA Reanimated: Restoring the Mother of All Chatbots

0

Jun 20, 2025

Yep, Mike Hansen was on the live stream launching the new device. He also notably created Rhasspy [1], which is open-source voice assistant software for Raspberry Pi (when connected to a microphone and speaker). [1] https://rhasspy.readthedocs.io/en/latest/

on The era of open voice assistants

0

Dec 20, 2024

This is the tricky bit yes. I bought some Pi HATs[1] earlier, and they seem to work fine when testing, but haven't tried to use them properly yet. Alternatively I have some condenser microphones and an audio card HAT for the Pi. So I hope to be able to use that with Pi Zero W. Played around with…

on Anthropic's Prompt Engineering Interactive Tutorial

0

Aug 30, 2024

With how hard something like this is, we should be looking at the positive side. Picovoice here solves both the issues of hotword/wake-word detection and intent extraction. This looks like something you could build on top of ARM's [keyword spotting…

on Offline Voice Assistant on a Microcontroller with 192KB RAM

0

Dec 13, 2022

I hope this means people will be looking at jailbreaking these devices. I'd do it myself but that stuff is beyond me at this time. I'd love to repurpose my Alexas into satellite Rhasspy[1] devices if Alexa retires. 1: on HN the other day https://news.ycombinator.com/item?id=33705938 & direct link…

on Voice assistants are not doing it for big tech

0

Nov 23, 2022

You can set Intent Handling to a local command (instead of Home Assistant in my example) [1]. I never tried that, but according to the docs you get JSON on stdin and output JSON on stdout. From that you should be able to hack in any pipeline you need. [1]…

on Rhasspy – Offline private voice assistant for many human languages

0

Nov 22, 2022

Sadly there is no write-up. I essentially followed the tutorial [1] on an RPi first, then split it into main and satellite after I got it to work reliably on the single node. The HASS integration (Intent Handling) is fully supported in Rhasspy, just enter the URL and the access token. I am using…

on Rhasspy – Offline private voice assistant for many human languages

0

Nov 22, 2022

There is no obvious reason why it can't work. The docker image [1] should be all you need, it runs both on my satellite and my main server. Also keep in mind you will need a way of actually doing something useful with the assistant (see [2] for some info, you might want Home Assistant if it fits…

on Rhasspy – Offline private voice assistant for many human languages

0

Nov 22, 2022

Discussed 3 years ago [1]. See also the docs [2] and board [3]. Wanted to post this as currently Alexa and Mycroft are being discussed, but I have not seen a mention of this project. It is offline first, compared to Mycroft which relies on cloud services by default, even if you seem to be able to…

on Rhasspy – Offline private voice assistant for many human languages

0

Nov 22, 2022

README

Rhasspy has moved and improved!

This repository contains code for an older version of Rhasspy (2.4).


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

A newer version of Rhasspy (2.5) is available at https://github.com/rhasspy/rhasspy

Rhasspy transcribes 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)
  • Swedish (sv)
  • Catalan (ca)

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

CategoryNameOffline?endeesfritnlruelhizhviptsvca
Wake Wordpocketsphinx✓✓✓✓✓✓✓✓✓✓✓✓✓
porcupine✓✓
snowboyrequires account✓•••••••••••••
precise✓✓•••••••••••••
Speech to Textpocketsphinx✓✓✓✓✓✓✓✓✓✓✓✓✓
kaldi✓✓✓
Intent Recognitionfsticuffs✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓
fuzzywuzzy✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓
adapt✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓
flair✓✓✓✓✓✓✓✓
rasaNLUneeds extra software✓✓✓✓✓✓✓✓✓✓✓✓✓✓
Text to Speechespeak✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓
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.

catalan
dutch
french
german
greek
hassio
hindi
home-assistant
intent-recognition
italian
mandarin
portuguese
russian
spanish
speech-recognition
swedish
vietnamese
voice-assistant

synesthesiam/rhasspy

Rhasspy voice assistant for offline home automation

HTML

952

627 commits

updated Jul 30, 2020

See the code

See what people are saying

SourceMessageScoreDate

Perhaps https://rhasspy.readthedocs.io/en/latest/

on Ask HN: Any DIY open-source Alexa/Google alternatives?

0

Feb 24, 2026

Right before LLMs broke into the scene we had a few techniques I was aware of: * Personality Forge uses a rules-based scripting approach [0]. This is basically ELIZA extended to take advantage of modern processing power. * Rasa [1] used traditional NLP/NLU techniques and small-model ML to match…

on ELIZA Reanimated: Restoring the Mother of All Chatbots

0

Jun 20, 2025

Yep, Mike Hansen was on the live stream launching the new device. He also notably created Rhasspy [1], which is open-source voice assistant software for Raspberry Pi (when connected to a microphone and speaker). [1] https://rhasspy.readthedocs.io/en/latest/

on The era of open voice assistants

0

Dec 20, 2024

This is the tricky bit yes. I bought some Pi HATs[1] earlier, and they seem to work fine when testing, but haven't tried to use them properly yet. Alternatively I have some condenser microphones and an audio card HAT for the Pi. So I hope to be able to use that with Pi Zero W. Played around with…

on Anthropic's Prompt Engineering Interactive Tutorial

0

Aug 30, 2024

With how hard something like this is, we should be looking at the positive side. Picovoice here solves both the issues of hotword/wake-word detection and intent extraction. This looks like something you could build on top of ARM's [keyword spotting…

on Offline Voice Assistant on a Microcontroller with 192KB RAM

0

Dec 13, 2022

I hope this means people will be looking at jailbreaking these devices. I'd do it myself but that stuff is beyond me at this time. I'd love to repurpose my Alexas into satellite Rhasspy[1] devices if Alexa retires. 1: on HN the other day https://news.ycombinator.com/item?id=33705938 & direct link…

on Voice assistants are not doing it for big tech

0

Nov 23, 2022

You can set Intent Handling to a local command (instead of Home Assistant in my example) [1]. I never tried that, but according to the docs you get JSON on stdin and output JSON on stdout. From that you should be able to hack in any pipeline you need. [1]…

on Rhasspy – Offline private voice assistant for many human languages

0

Nov 22, 2022

Sadly there is no write-up. I essentially followed the tutorial [1] on an RPi first, then split it into main and satellite after I got it to work reliably on the single node. The HASS integration (Intent Handling) is fully supported in Rhasspy, just enter the URL and the access token. I am using…

on Rhasspy – Offline private voice assistant for many human languages

0

Nov 22, 2022

There is no obvious reason why it can't work. The docker image [1] should be all you need, it runs both on my satellite and my main server. Also keep in mind you will need a way of actually doing something useful with the assistant (see [2] for some info, you might want Home Assistant if it fits…

on Rhasspy – Offline private voice assistant for many human languages

0

Nov 22, 2022

Discussed 3 years ago [1]. See also the docs [2] and board [3]. Wanted to post this as currently Alexa and Mycroft are being discussed, but I have not seen a mention of this project. It is offline first, compared to Mycroft which relies on cloud services by default, even if you seem to be able to…

on Rhasspy – Offline private voice assistant for many human languages

0

Nov 22, 2022

README

Rhasspy has moved and improved!

This repository contains code for an older version of Rhasspy (2.4).


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

A newer version of Rhasspy (2.5) is available at https://github.com/rhasspy/rhasspy

Rhasspy transcribes 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)
  • Swedish (sv)
  • Catalan (ca)

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

CategoryNameOffline?endeesfritnlruelhizhviptsvca
Wake Wordpocketsphinx✓✓✓✓✓✓✓✓✓✓✓✓✓
porcupine✓✓
snowboyrequires account✓•••••••••••••
precise✓✓•••••••••••••
Speech to Textpocketsphinx✓✓✓✓✓✓✓✓✓✓✓✓✓
kaldi✓✓✓
Intent Recognitionfsticuffs✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓
fuzzywuzzy✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓
adapt✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓
flair✓✓✓✓✓✓✓✓
rasaNLUneeds extra software✓✓✓✓✓✓✓✓✓✓✓✓✓✓
Text to Speechespeak✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓
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.

catalan
dutch
french
german
greek
hassio
hindi
home-assistant
intent-recognition
italian
mandarin
portuguese
russian
spanish
speech-recognition
swedish
vietnamese
voice-assistant

Significant stargazers

Paulus Schoutsen

2,985 followers · starred Oct 2019

Abin Simon

195 followers · starred Jan 2020

Duncan Beevers

125 followers · starred Jan 2020

Tyler Langlois

132 followers · starred Jan 2020