Hello, I install home assistant core and rhasppy on Pi4. Boh are working separately.
I read some topics and documentation but I don’t understand how to configure rhasspy in home assistant. I have no add-ons because I don’t have supervisor, only core.
There’s an example of all files that I have to configure in rhasspy and home assistant ?
Hi romkabouter,
I am new to Rhasspy and Home Assistant. I have read good sharing from you that help others in this community.
Let me run up thru my setup and probably you can guide me on with previous sharing or others useful tips.
I am current running on Pi 4B with 2 different Home Assistant setup as below:
Raspbian OS, Home Assistant Docker with Rhasspy and OpenTTS as Add-On
Home Assistant OS with Rhasspy and OpenTTS as Add-On
My progress at the moment are:
Rhasspy side Wake word, Intent Recognition - working
Home Assistant side Integration to Philip Hue lights and Automation thru Events setup -working
Rhasspy SST to HA - working
HA Automation - working
What I am struggling for the pass 2 week was I am unable to have HA TTS back to Rhasspy although these same steps mentioned on Rhasspy and HA guide plus all responses in this and HA community.
And I have also define Rest_Command.rhasspy_speak as a service.
So I am not sure where/what when wrong. Any help is much appreciated.
For your understanding, you can add as much services as you need in the actions.
But for correctly end the session from Rhasspy with an answer to the correct satellite (or server if no sats), a message must be published to the Rhasspy server with the sessionID
I assume you have Rhasspy mqtt set to the same broker as Home Assistant (so external and not internal)
If not, do so, otherwise it still will not work
After changing to port 1883 at rhasspy external MQTT, still encounter same "RuntimeError: Failed to connect to MQTT broker. Not sure what else is the issue here?
Do you have set the right ip adress and are you running the MQTT addon in Home Assistant?
The ipadress must be the ipadress of your HA instance, running the MQTT addon (since you are running Home Assistant OS)
You need a MQTT connection between Home Assistant and Rhasspy. The both need to be connected to the same broker.
You are right. I saw on HA server log that Mosquitto Core failed to login to HA. And also Rhasspy is looping in HA thus unable to launch Rhasspy Web UI now.
Let me look into these 2 issue before I can resume. Will try and give you a update again in 30 mins time.
Both Rhasspy Add-On as per my below setup has crashed for the same reason as soon as I enable MQTT External. It goes on infinite loop and taking up 95% cpu power.
HA docker with Rhasspy Add-On
HA OS with Rhasspy Add-On
Prior to this, all were running well except last leg of TTS from HA to Rhasspy.
Too tired to proceed further. May need to do the whole setup from scratch all over again once I rest enough. Good night and thanks for your help.