12. The plugins
Plugins give OpenVoiceOS its ears, voice and hands (chapter 2). Everything here is an ordinary OVOS plugin in its own repo, made for Emkay and usable on any OVOS (the browser ones only make sense in a browser). The README of each repo has the details: its messages, settings and how to install it.
In Emkay most of them are already there. On another OVOS, pip install the package and restart OVOS' services.
The device
PHAL plugins do the part that depends on the device. Skills send messages; these answer them. Each answers the same messages as the plugin a normal OVOS device uses, so skills don't notice the difference.
| Plugin | What it does | |
|---|---|---|
| ovos-phal-plugin-browser | The hardware of a browser tab: volume, location (from the browser's geolocation), power and restart, connectivity, sensors (battery, light, motion, how the device lies …), the camera and someone is there, MIDI keyboards, kiosk (full screen, keep awake, install), local only, choosing microphone and speaker, and getting your attention when Emkay is behind other windows. Every sensor is off until turned on. | |
| ovos-phal-plugin-midi | A MIDI instrument on the bus: skills send notes, drum beats or whole .mid/.kar files with a time to play them, and the synth plays them in time – the music under karaoke, the jam band, the coach and Blocks' ♪ blocks. MIDI keyboards come back as ovos.midi.input. |
|
| ovos-PHAL-plugin-peers | Sharing and lending between devices on the LAN (chapter 8). | |
| ovos-PHAL-plugin-sync | My Emkay: your devices as one assistant, synced through a sealed storage (chapter 6). | |
| ovos-PHAL-plugin-home | The home manager: every brand behind one contract, ovos.home.* (chapter 9). |
|
| ovos-PHAL-plugin-calendar | The household's calendars, lists and schedules behind one contract, ovos.calendar.* and ovos.lists.*, with sources as plugins. |
|
| ovos-PHAL-plugin-netpolicy | Which services may reach the internet, enforced in the device's firewall, and local only – for Emkay Home and any OVOS on Linux (chapter 10). | |
| ovos-phal-plugin-ha-link | Links the device to Home Assistant, so it shows up there with the OpenVoiceOS integration (chapter 9). | |
| ovos-network-log | The network log for any OVOS: every request, by host and who asked – never what was said. Optionally sent on the bus as ovos.network.request. |
Speech
How Emkay hears and speaks on the device, in the browser. The browser ones need nothing installed on the device; the models are downloaded once.
| Plugin | What it does | |
|---|---|---|
| ovos-stt-plugin-whisper-browser | Whisper on the device: the recording never leaves it. A model per language (stt-models: Danish uses the national Røst model, small devices a light one). | |
| ovos-stt-plugin-browser | The browser's own speech recognition – on the device where the browser can (processLocally), else the browser maker's service (shown in amber). |
|
| ovos-tts-plugin-piper-browser | Piper voices on the device, as WebAssembly. After the voice is downloaded, nothing leaves the device to speak. English is Alan. | |
| ovos-tts-plugin-browser | The browser's own voices (speechSynthesis) – the answer for small devices that can't run Piper. |
|
| hey-emkay-wakeword | The training of "Hey Emkay" – an openWakeWord model, trained on synthetic speech. |
Sound and media
| Plugin | What it does | |
|---|---|---|
| ovos-audio-plugin-browser | An audio backend that plays music, radio and podcasts in the browser's <audio> element, over the bus – instead of mpv or VLC, which a browser can't start. |
|
| ovos-ocp-tts-plugin | Plays text read aloud as media: a tts//… address becomes that sentence in the device's own voice – so a fairy tale can be paused and continued like a song. |
|
| ovos-media-provider-ha-music | Music Assistant through Home Assistant: "play Kim Larsen in the living room", on the room's speaker. | |
| ovos-audio-transformer-plugin-autovolume | Auto volume: listens to the room on the device and speaks up when it is noisy, softly when it is quiet – and learns from the times you set the volume yourself. | |
| ovos-audio-transformer-plugin-overheard-manners | Overheard manners: someone in the room says "av for helvede!", and Emkay gently remarks on it. Listens locally, sharing the listener's speech recognition; nothing is sent. |
Thinking
Plugins that change who answers.
| Plugin | What it does | |
|---|---|---|
| ovos-assist-pipeline-plugin | A pipeline step: what Home Assistant's Assist recognizes goes to Home Assistant; everything else stays with OVOS. | |
| ovos-peer-persona-plugin | A persona another device lends, as your own: the house's large model, asked only when nothing on the Emkay knew (chapter 8). |
Home brands and calendar sources
Plugins for the managers above. Each is small, in its own repo, found by its entry point.
| Plugin | What it does | |
|---|---|---|
| IKEA DIRIGERA | IKEA lights, outlets, blinds, air purifiers, sensors and remotes – on the LAN. | |
| Philips Hue | Hue lights, rooms, scenes, sensors and switches – the bridge's local API. | |
| Shelly | Relays, plugs, dimmers, covers and sensors – each Shelly on the LAN. | |
| Home Assistant (home) | What Home Assistant exposes to voice assistants, as one more brand. | |
| Demo house | A whole house that isn't there – for tests, the control panel and Emkay Dev. | |
| ICS calendars | Calendar addresses: the school, the sports club, the bin collection, holidays. | |
| My calendars everywhere | Your own calendars, schedules and lists on every device of yours, through My Emkay. |
For developers
| Plugin | What it does | |
|---|---|---|
| Quiet hours (example) | A working PHAL plugin and a template: turns the voice down at 22:00 and back up at 07:00. | |
| ovos-routing-judge | Who took an utterance, and was it the skill that should have? One judge for the tools that replay test sentences against OVOS (Klondike, the store's nightly test). Going to OpenVoiceOS. |
Also in Emkay – plugins by others
Under Emkay's own plugins runs stock OpenVoiceOS. The parts that shape how Emkay understands, hears and plays – made by OpenVoiceOS and others:
Understanding
| Plugin | From | What it does |
|---|---|---|
| ovos-padatious | OpenVoiceOS | intents learned from example sentences – pre-trained for Emkay in GitHub Actions |
| ovos-adapt-parser | OpenVoiceOS | intents from keywords |
| ovos-m2v-pipeline | OpenVoiceOS | a small model that sorts sentences to skills, one model per language |
| ovos-common-query-pipeline-plugin | OpenVoiceOS | asks the question skills, keeps the best answer |
| ovos-ocp-pipeline-plugin | OpenVoiceOS | "play …" – OVOS Common Play |
| ovos-common-reading-pipeline-plugin | andlo | "read …", "tell me a story" – the reading providers' pipeline |
| ovos-good-manners-pipeline-plugin | OpenVoiceOS | good manners about what is said to the assistant |
| ovos-utterance-normalizer | OpenVoiceOS | tidies up what was heard before the pipeline |
| ovos-utterance-corrections-plugin | OpenVoiceOS | fixes words speech recognition often gets wrong |
| ovos-utterance-plugin-cancel | OpenVoiceOS | "… never mind" cancels the sentence |
| ovos-typed-slots-transformer | OpenVoiceOS | numbers, dates and the like in intents |
Hearing, speaking and the screen
| Plugin | From | What it does |
|---|---|---|
| ovos-ww-plugin-openwakeword | OpenVoiceOS | the wake word plugin OVOS' config names for "Hey Emkay" – run in the page with openWakeWord's models |
| ovos-ww-plugin-precise-onnx | OpenVoiceOS | "Hey Mycroft" – run in the page with precise-onnx-js |
| ovos-stt-plugin-server | OpenVoiceOS | OpenVoiceOS' public speech servers – only if chosen |
| ovos-tts-plugin-server | OpenVoiceOS | OpenVoiceOS' public voice servers – only if chosen |
| ovos-gui | OpenVoiceOS | the screen service, drawn by ovos-gui-visage |
| ovos-gui-visage | Oscillate Labs | the face |
| ovos-audio | OpenVoiceOS | speech output, transformers and the media service |
Media and the rest
| Plugin | From | What it does |
|---|---|---|
| ovos-media-provider-local | OpenVoiceOS | your own music from a folder on the device |
| ovos-media-provider-news | OpenVoiceOS | the news |
| ovos-media-provider-pyradios | OpenVoiceOS | internet radio |
| ovos-control-panel | OpenVoiceOS | the control panel (chapter 5) |
| ovos-persona | OpenVoiceOS | personas – installed only when Ask the house's assistant is turned on |
The exact lists are Emkay's requirements/.
The messages, in one place
The contracts the plugins answer, so other devices can take part. Each links to where it is described.
| Namespace | What | Answered by |
|---|---|---|
mycroft.volume.*, ovos.phal.sensor, ovos.phal.camera.* |
volume, sensors, camera – as OVOS' own plugins | the browser plugin; OVOS' device plugins |
ovos.kiosk.* |
full screen, keep awake, install as app | the browser plugin |
ovos.local_only* |
local only (chapter 10) | the browser plugin, netpolicy |
ovos.network.request |
one request went out (sent, not asked) | Emkay, ovos-network-log, peers |
ovos.midi.* |
notes, files, keyboards | ovos-phal-plugin-midi |
ovos.jamband.background.* |
background music for other skills (the coach) | ovos-skill-jamband |
ovos.karaoke.sing |
sing a song | ovos-skill-karaoke |
ovos.home.* |
the home (chapter 9) | ovos-PHAL-plugin-home |
ovos.calendar.*, ovos.lists.* |
calendars, lists, schedules | ovos-PHAL-plugin-calendar |
ovos.sync.* |
events and values across your devices (chapter 6) | ovos-PHAL-plugin-sync |
ovos.peers.* |
sharing and lending (chapter 8) | ovos-PHAL-plugin-peers |
ovos.attention* |
get the user's attention (notification, come to the front) | the browser plugin |