Rhasspy 2.5.0 Released

With summer in the air, it seems like the right time to “officially” release Rhasspy 2.5 :balloon: A very big thanks to all the testers in the Rhasspy community, and especially to @koan, @KiboOst, @fastjack, and @romkabouter!

This version is a complete rewrite of 2.4 with these goals in mind (from the history):

  • Maintain compatibility with Rhasspy 2.4 profiles and APIs
  • Enable contributors to write Rhasspy apps/skills in any language that can speak MQTT and JSON
  • Provide a migration path for Snips skill authors to move their Hermes-based services to Rhasspy
  • Allow for individual Rhasspy components to be developed independently in separate repositories
  • Make modular installations possible, with any combination of individual services

To get started, check out the updated readthedocs page.

For those who have been following since the pre-release, a few things are different:

  • The rhasspy-voltron project is now just rhasspy
  • The rhasspy/rhasspy:2.5.0-pre Docker tag is now rhasspy/rhasspy
  • The rhasspy/rhasspy:2.5.0-pre-arm32v6 Docker tag for Pi Zero satellites is deprecated. See instructions for Pi Zero.
  • Debian packages are now available for easy installation on Ubuntu and Raspberry Pi OS (formally Raspbian)

Some things are still missing:

  • Google STT and TTS services (@daniele_athome is working on the former)
  • Mycroft Adapt and flair intent recognizers
  • Snips NLU (work started, but not finished)
  • Probably other stuff I’ve forgotten

I added a new tutorial that details how to do a Raspberry Pi Docker installation of Rhasspy from scratch. More tutorials are welcome as pull requests or links :slight_smile:

As always, please open GitHub issues and ask questions here on the forums. I’m hoping with 2.5, we can start down the “app store” path with Rhasspy (headed up by @koan) and get some nice pre-built skills only a few clicks away!

Also if you’re unaware, I’ve created a system called OpenTTS for text to speech. It includes the usual cast of characters (espeak, flite, etc.), but can connect out to MaryTTS, MozillaTTS, and even deepvoice3 using docker-compose. Use the opentts system in Rhasspy.

/begin party :partying_face:

29 Likes

yay ! i’ll install it right away :slight_smile: keep up the good work :slight_smile:

1 Like

Hi All,

thanks to all for this great project, it is really amazing. I am working on something similar for robot in a shared workspace, and one of the problem I face is how to make the processing pipeline flexible etc.
So, I am evaluating the entire package and probably moving to integrate my work as part of this package. Working also on ODAS as input, and some denoiser aspect. WHat is really attracting it is the ready to use infrastructure with MQTT.

Btw, for a newbie like me, i have noticed after some days that I was working on something old.
Can i kindly ask one thing?
Could you modify the readme of the rassphy project (git, readthedocs etc), to state clearly the project will continue with the voltron? I have realized after some days I was not working on the latest repos etc. and not getting exactly all the details.

Thanks again the invaluable job
Lawrence

1 Like

fantastic work!! Im going to update my install this weekend!!

Very cool stuff.

Has anyone started either a github, or a page or something where skills/implementations/integrations can be displayed?

I’ll start working on the latter in the near future, unless another dev is first :smiley:

1 Like

@synesthesiam Is there a manual for building the Docker image for Rhasspy? Running docker build . fails with this message:

Step 15/80 : FROM build-$TARGETARCH$TARGETVARIANT as build
invalid reference format

Do I need to set some environment variables beforehand?

See scripts/build-docker.sh
It assumes you have Docker buildx set up for multi-platform builds.

1 Like

Congratulations @synesthesiam

I have been rebuilding my entire system towards Docker Swarm and had some hardware hiccups along the way. Just when I was ready to update Rhasspy, I see 2.5 is here, what a perfect timing!

If something comes up, I’ll let you know!.

Also a great thank you to everybody else who helped out. :+1:

2 Likes

A first thing I noticed is that the documentation mentions for the Docker installation method on an Rpi Zero that the --platform linux/arm/v6 option has to be added to the docker pull command. I’m using a docker compose file and had to make sure the version was set to at least 2.4 and that the platform linux/arm/v6 is set.

Without this setting the container keeps restarting. After some research I believe that the platform option does not yet exist in the v3 version of the Docker compose file format.

The tutorial of the server with satellite setup in the documentation also still mentions the rhasspy/rhasspy:2.5.0-pre image and I assume this can also be replaced with just rhasspy/rhasspy and to add the note to the docker pull to use the platform.

After these very minor tweaks, everything is up and running from the 2.5 beta.

1 Like

Thank you. The new tutorial is really good and I quickly got it running on a new Raspberry PI.

I created a feature request to improve the initial experience for Home Assistant users and reported a bug on Github.

1 Like

What is the proper way to update from 2.4.20?
I’ve Rhasspy on a docker image, did a docker pull rhasspy/rhasspy then restarted docker but is still running the older version

This is a good question, and it depends on how you started Rhasspy. If you followed the docs, you need to stop the 2.4 container by first finding the ID:

$ docker ps | grep rhasspy

Look for the line with synesthesiam/rhasspy and copy the id in the first column (something 12 characters long with random letters and numbers). Then stop it:

$ docker stop <ID>

where <ID> is the id you copied. Now you can start your new Rhasspy container:

$ docker run -d -p 12101:12101 \
      --name rhasspy \
      --restart unless-stopped \
      -v "$HOME/.config/rhasspy/profiles:/profiles" \
      -v "/etc/localtime:/etc/localtime:ro" \
      --device /dev/snd:/dev/snd \
      rhasspy/rhasspy \
      --user-profiles /profiles \
      --profile en

Note that this command includes --name rhasspy so in the future you can stop it with:

$ docker stop rhasspy
1 Like

Thanks for the detailed steps @synesthesiam , I should have looked a bit more at docker images management :slightly_smiling_face:
v2.5 is now up and running, going to check the new doc!

1 Like

Hello, thank you for your work!

Do you plan to provide Hass.io add-on as well for 2.5? It was definitely very helpful way of Rhasspy installation (at least for central node).

Also are you please planning to provide Home Assistant conversation integration as was present in 2.4, or shall we do some MQTT to conversation service automation?

Thank you. :slight_smile:

1 Like

I already have a pull request here:

It still uses the pre-release however. When I am done with Google Wavenet for 2.5 I will be working on the addon again

1 Like

First of all, thanks for your great work
Is it possible to upgrade from pre?

Eventually installed a fresh pi.
Works great.

1 Like

Hello, thank you for reply. Do you have any estimations, when this could be available? :slight_smile: I am looking forward to upgrade to 2.5. :wink:

Early 2.4.x user here… Debating whether to update my server and two satellites, or just install from scratch on a new Pi4 I have. Personal opinions, general comments, and especially actual experience, greatly appreciated. Thanks!

===
Well, installing from scratch on Pi 4 was a snap. :slight_smile: Now I have to learn the new config, for which I know I’m obligated to read the friendly manual :wink: That may take a few days, since work effort is pretty much consuming me these days. By the time I’m done with work, I just don’t feel like reading another screen, or more technical verbiage. The thing that seriously concerns me is keeping my 2.4.x systems working until I have successfully implemented 2.5.0 on separate hardware. WAF has been very good with 2.4.x and I need to maintain that satisfaction while upgrading. Two or three days without voice command makes for an unhappy life. :wink:

All these are my own personal, situational issues. Rhasspy 2.5.0 Voltron appears to be QUITE a wonderful improvement over the 2.4.x releases. Thank you :heart_eyes: to @synesthesiam and all the other developers for your tireless efforts over the last few months to improve and advance this wonderful application/system. I’ve offered before and I will again: :beers: and/or :pizza: can and will be offered as thanks for this effort.

3 Likes