Hi folks, first time poster and recently new Rhasspy / HA user here. I am trying to setup an offline voice assistant (no time like quarantine!), and The Internet says Home Assistant + Rhasspy is the way to go. I have a lot of the pieces working, but I can’t quite close the loop. I am hoping someone can help me out.
What I’m using:
- My MacBook Pro laptop; I would prefer to delay buying dedicated hardware until I have a working proof-of-concept
- Home Assistant Core version 0.113.3 running in Docker
- Rhasspy 2.5.5 also running in Docker
The sticking point is intent recognition. I want to use Home Assistant for intent recognition for two reasons:
- I eventually want to do automation in addition to voice/text commands, which is where Home Assistant shines; and I don’t want to have to duplicate my intents in multiple systems.
- My two main use cases (so far) for this voice assistant are in the kitchen: timers, and shopping list. For timers, it is convenient to able to give the timer an arbitrary name. For the shopping list case, the item to be added to the list does not need to be known to the intent recognizer ahead of time. Both cases seem to be better served by HA’s dynamic slots than by Rhasspy’s static slots (as long as the STT still works; but I consider that a separate problem).
The good news is that Rhasspy has an integration with HA’s conversation system! The bad news is that it is “Not supported yet in 2.5” And as far as I can tell, the Docker image was not created until 2.5, so I cannot go back to an older version where the integration was supported.
So my options, as far as I can see them, are:
- Buy hardware, install Debian and run Rhasspy 2.4, so I can use the HA conversation integration.
- Try to get a working Docker image for 2.4. I’m somewhat experienced with Docker and am willing to give this a try, but from what I can tell a ton has changed between 2.4 and 2.5 (including the repo), and I’m not sure if the new Docker setup would even apply to the old version. But if someone wants to give me some pointers I will take a shot at it.
- Make the necessary changes to get the HA conversation integration working with 2.5. Again, willing to give it a shot, but:
a) from what I can tell these are architectural changes we’re talking about, not minor tweaks;
b) I know nothing about MQTT or Hermes, and very little about HA and Rhasspy;
and probably most importantly,
c) I have written only a few lines of Python in my life
- Wait for someone who actually knows what they are doing to update the HA conversation integrationin 2.5. Maybe use Rhasspy intent recognition and HA intent handling until then.
Any tips, tricks, or suggestions for me? Any updates on the status of the HA conversation integration? I couldn’t find anything on the project boards.
P.S. I really appreciate the UX of Rhasspy. While I am comfortable editing YAML based on docs, the config page and download prompts make it really easy to get started and have more confidence that I haven’t messed it all up. The docs are quite good too, particularly for an open source project. Thanks for the hard work!