Voice assistant: Rhasspy and OpenHAB3

openHAB version: 3.2

What is the meant architecture of rhasspy and OH3?

The docu about this topic is not elaborative. I understood the following from the code:

  • The user defines an item thats holds a string. rhasspy sends a mqtt/json to that item.
  • in OpenHAB the user should define some rules to connect the relevant items and actions

I do not quite understand the details:

  1. How and where should the rules be defined? Directly in the JAVA code here?
  2. What is the exact format that rhasspy needs to send?