hermes/hotword/<hotword_id>detected: when a wakeword is detected, this message will be sent, and Snips will listening to your voice command. You can for instance use this message to play a little tone, or start a led animation, indicating the start of a listening session
hermes/asr/textCaptured: when listening, Snips will transcribe your query into text, and after a small period of silence, it will stop listening, and send this message. You may use this to play another tone, or stop a led animation, indicating end of listening
hermes/intent/<intent_name>: after text has been captured, the NLU module will process the text and transform it into an intent, which is the final representation of your query that you can use as an actionable item. This is where you want to put your intent handler code
MQTT_BROKER_HOSTNAMEwith your broker hostname or IP:
hotword_idis the ID of your wakeword. The default value is
default, which we will use here. We extend the above example to detect a wakeword and trigger an action as follows:
INTENT_NAMEis the name of our intent.