Message Types
Messages are used to communicate information between Mycroft services and other components. This list of Message types outlines the details and provides sample code for each.
General
speak
{
"utterance": <words to be spoken>,
"lang": <language code, e.g. en-us>
}...
def initialize(self):
self.add_event('speak',
self.handler_speak)
def handler_speak(self, message):
# code to excecute when speak message detected...
......
def some_method(self):
self.bus.emit(Message('speak',
{"utterance": <words to be spoken>,
"lang": <language code, e.g. en-us>}))
...python3 -m mycroft.messagebus.send 'speak' '{ "utterance": <words to be spoken>, "lang": <language code, e.g. en-us>}'mycroft.internet.connected
mycroft.ready
mycroft.stop
mycroft.not.paired
mycroft.paired
mycroft.awoken
mycroft.debug.log
complete_intent_failure
configuration.updated
Recognizer
recognizer_loop:wakeword
recognizer_loop:record_begin
recognizer_loop:record_end
recognizer_loop:utterance
recognizer_loop:audio_output_start
recognizer_loop:audio_output_end
recognizer_loop:sleep
recognizer_loop:wake_up
Enclosure
enclosure.notify.no_internet
enclosure.mouth.viseme_list
mycroft.eyes.default
Microphone Behavior
mycroft.mic.listen
mycroft.mic.mute
mycroft.mic.unmute
Audio Playback
mycroft.audio.service.play
mycroft.audio.service.stop
mycroft.audio.service.pause
mycroft.audio.service.resume
mycroft.audio.service.next
mycroft.audio.service.prev
mycroft.audio.service.track_info
mycroft.audio.service.track_info_reply
mycroft.audio.service.list_backends
Volume Control
mycroft.volume.increase
mycroft.volume.decrease
mycroft.volume.mute
mycroft.volume.unmute
mycroft.volume.set
mycroft.volume.get
mycroft.volume.get.response
mycroft.volume.duck
mycroft.volume.unduck
Mycroft Skill Core
mycroft.skill.handler.start
mycroft.skill.handler.complete
mycroft.skill.enable_intent
mycroft.skill.disable_intent
mycroft.skills.loaded
mycroft.skills.loading_failure
mycroft.skills.shutdown
mycroft.skills.initialized
mycroft.skills.list
mycroft.skills.settings.update
Mycroft Skill Manager (MSM)
msm.updating
msm.installing
msm.install.succeeded
msm.install.failed
msm.installed
msm.updated
msm.removing
msm.remove.succeeded
msm.remove.failed
msm.removed
Skill Manager
skillmanager.deactivate
skillmanager.list
skillmanager.update
Messagebus Connection
open
close
reconnecting
System Administrative Actions
system.wifi.setup
system.wifi.reset
system.ntp.sync
system.ssh.enable
system.ssh.disable
system.reboot
system.shutdown
system.update
Common Play System
play:query
play:query.response
Confirm Search
Search Result
Search Failed
play:start
Common Query System
question:query
question:query.response
question:action
Mycroft Alarm Skill
private.mycroftai.has_alarm
PROPOSED
skill.namespace.*
private.github_username.*
Last updated
Was this helpful?