7. Emkay Home

The Emkay Home page on emkay.ai

The idea

Emkay Home is the house's own OpenVoiceOS. It runs on a machine that is always on – a Raspberry Pi, an old PC, a virtual machine – and ties the house's Emkays together.

It is optional. Every Emkay runs fine on its own. Home is for when you want more than a browser can do:

And it must be as easy as Emkay itself: open the page, tap here and there, and you're up. Nobody should see the word HiveMind, a key or a password.


Getting it

The ways in are equals – pick what suits the machine you have. They all lead to the same house. Each has a step-by-step page on emkay.ai/home.

Way For Repo
One line – curl -fsSL https://emkay.ai/home.sh \| bash any Linux: Pi, old PC, VM, Proxmox LXC emkay-home
A ready image for an SD card, USB stick or disk a Pi or a spare PC – start it and open emkay-home.local emkay-home-bootable
Portable – unzip and double-click the Windows, macOS or Linux computer you already have emkay-home-portable
A Home Assistant app (add-on) a Home Assistant OS machine with power to spare – the house in Home Assistant's backups emkay-home – add it as a repository under Settings → Apps
Docker compose by hand people who like Docker emkay-home/compose

The one-line installer is quiet (one line per step, the rest in a log), speaks Emkay's languages, and ends with the address to open and a QR code. On the machine, emkay-home shows the status; emkay-home update, logs, restart and uninstall do what they say.

The house page

https://<the house>/ is the light, polished way in. On its front:

Under Settings: the home's brands, speech, Home Assistant, the house's assistant, language, the certificate – and the control panel, which can do everything. The house's control panel carries Emkay Home's own icon and has a page of its own, Emkays in the house.

Adding an Emkay

  1. On the house page, Add an Emkay shows a QR code (a one-time code, ten minutes).
  2. Scan it with the phone or tablet. A welcome page checks that the device trusts the house's certificate, and helps if it doesn't.
  3. The device asks where Emkay should think:
  4. Here on the device (recommended) – Emkay keeps its own brain and shares with the house: it borrows the home and more with peers (chapter 8).
  5. In the house – the device becomes a satellite: it keeps the face, the wake word, the microphone and the speaker; the house has the skills.

Both kinds are in the house's one list of Emkays. For one that thinks for itself, a switch says whether it may control the home or only ask.

Pairing links are only ever shown as QR codes – never mailed, because a link in a mail can end up in someone's link scanner.

How it fits together

a device with Emkay                             the house (docker compose)
 ┌───────────────────────┐                      ┌───────────────────────────────────────────┐
 │ face, wake word, mic, │  https://<house>/    │ Caddy ── /          → emkay_home (the page)│
 │ speech, voice         │ ───────────────────► │      ├─ /hivemind   → hivemind-core        │
 │ (Emkay, any browser)  │                      │      ├─ /emkay/  /blocks/ (served here)    │
 └───────────────────────┘                      │      └─ :8500       → the control panel    │
                                                │ ovos_messagebus ◄── ovos_core + skills     │
                                                └───────────────────────────────────────────┘
Part What
ovos_messagebus, ovos_core stock OpenVoiceOS from ovos-docker – no microphone or speaker in the house; the Emkays are its ears and voice
emkay_home hivemind-core 5 and the house page; it also runs the home, the Home Assistant link and peers
emkay_home_panel the stock OVOS control panel, in Emkay's look
emkay_home_stt, emkay_home_tts speech in the house, when chosen (OVOS' own STT and TTS servers)
emkay_home_ollama the house's assistant's model – only if added
caddy one https address for everything, with the house's own certificate

Emkay Home is a profile and a page on top of stock OpenVoiceOS, not a fork. It seeds the same skills and defaults as app.emkay.ai on the first start, so the house and the browser stay alike; after that they are the house's to change.

Certificates

A browser only gives a page the microphone over https, so every device must trust the house. Emkay Home makes its own certificate authority – offline, private, nothing leaves the house – and the welcome page helps install it once on each device. If the house already has a trusted certificate (a Cloudflare tunnel, Tailscale, your own domain), it can use that instead. emkay.ai runs no certificate service.

Speech in the house

Every Emkay can hear and speak by itself. On a strong machine the house can do it for all of them – better and faster than a phone. Speech on the house page: on the devices or in the house. The house looks at the machine and suggests which; nobody picks models. For Danish it uses NVIDIA's Danish Parakeet.

The house's assistant

A tablet can't run a large model; the house can. Off by default. When turned on – with Ollama in the house or a model server you already have – the house lends its assistant to the Emkays, and each Emkay can choose to ask it when it doesn't know. More in chapter 8.

Emkay and Blocks from the house

The house fetches every new Emkay build (the release site) and serves it at /emkay/; Emkay Blocks at /blocks/. Blocks opened from the house knows the house's rooms, devices and scenes, and a skill made there can be sent straight to the house with 🏠 To the house. The house page lists those skills, with Edit (back into Blocks) and Remove.

Home Assistant

Connect to my Home Assistant on the house page: log in on Home Assistant's own page, and the house gets a token of its own. With the OpenVoiceOS integration in Home Assistant, the house and every paired Emkay show up as devices there – an automation can turn off listening in the bedroom at night. More in chapter 9.

Under the bonnet: HiveMind 5

The house runs hivemind-core 5, where every connection is a Noise handshake. The house works out the slow part (the key from the password) once, when it pairs an Emkay, and puts it in the pairing link, so an old phone never has to. Each Emkay may only send what a satellite sends. A house set up here can still be looked after with HiveMind's own tools.

Repos: emkay-home · emkay-home-bootable · emkay-home-portable · Emkay's side: docs/hivemind.md