Hi,
I’m looking over MQTT published topics on hermes, mainly to implement two things in Rhasspy:
- My Snips logger: https://github.com/KiboOst/SNIPS-Tips/tree/master/snipsLogger
Actually I have it working on rhasspy, but listening to websocket - Snips Led Control: https://github.com/Psychokiller1888/snipsLedControl
I have the rhasspy reference here: https://rhasspy.readthedocs.io/en/latest/reference/#mqtt-api
Anyway rhasspy miss a lot of published topics for this:
Here are the needed topics for the logger:
‘ON_HOTWORD’: ‘hermes/hotword/default/detected’,
‘ON_LISTENING’: ‘hermes/asr/startListening’,
‘ON_THINK’: ‘hermes/asr/textCaptured’,
‘ON_ERROR’: ‘hermes/nlu/intentNotRecognized’,
‘ON_SUCCESS’: ‘hermes/nlu/intentParsed’,
‘ON_SAY’: ‘hermes/tts/say’,
‘ON_PLAY_FINISHED’: ‘hermes/audioServer/{}/playFinished’,
And for the SLC:
_SUB_ON_HOTWORD = ‘hermes/hotword/+/detected’
_SUB_ON_SAY = ‘hermes/tts/say’
_SUB_ON_THINK = ‘hermes/asr/textCaptured’
_SUB_ON_LISTENING = ‘hermes/asr/startListening’
_SUB_ON_HOTWORD_TOGGLE_ON = ‘hermes/hotword/toggleOn’
_SUB_LEDS_ON_ERROR = ‘hermes/nlu/intentNotRecognized’
_SUB_LEDS_ON_SUCCESS = ‘hermes/nlu/intentParsed’
_SUB_ON_PLAY_FINISHED = ‘hermes/audioServer/{}/playFinished’
_SUB_ON_TTS_FINISHED = ‘hermes/tts/sayFinished’
There is stuff in rhasspy/fr/transition/xxx but these are dependant from the language profile and the services used, so not really usefull for such tools as the tool would parse the rhasspy profile to know everything regarding language used and services used.
Is it planned to implemented missing hermes topics so we have a listener on hermes/ topics knowing all happening ?