I don’t use Rhasspy with Home Assistant automations, so I can’t really pinpoint the exact error, but I think you’re doing something wrong with the flow of messages. I don’t see you sending a hermes/dialogueManager/continueSession
message, for instance. Did you forget to set the MQTT topic in the mqtt.publish
action?
The (relevant part of the) message flow of a session is:
- Wake word detected, session started
- Intent recognized, continue the session
- Intent recognized, continue the session
- …
- Intent recognized, end the session
hermes/dialogueManager/continueSession
and hermes/dialogueManager/EndSession
are different response messages to a recognized intent. During this whole flow, the session ID stays the same. After you end a session, the next wake word recognition starts a new session, with a new session ID.