openhome

Installation

openhome runs on hardware you already own. There's a one‑line installer for the

common case, and a manual path when you want control.

Requirements

ComponentMinimumNotes
HardwareRaspberry Pi 4 (2GB), old laptop, mini PC, any Linux boxPi 4 with 4GB is comfortable
OSDebian/Raspberry Pi OS, Ubuntu, Fedora, Arch, or macOS64‑bit recommended
Node.js≥ 22the hub runs TypeScript directly via Node's type‑stripping loader
Python3.9+only needed for the voice wake‑word client
NetworkWi‑Fi or Ethernetsame LAN as your smart devices

One‑line install (recommended)

curl -fsSL https://openhome.studio/install | bash

It's a plain, readable bash script (open https://openhome.studio/install in a

browser to read it first). It will:

  1. Ensure git, Node ≥ 22, and Python 3 are present — installing them

with your system package manager (apt/dnf/pacman/brew) if missing.

  1. Clone the repo to ~/openhome (override with OPENHOME_DIR).
  2. Run npm install.
  3. Write a keys file at ~/.openhome/openhome.env (chmod 600) — only if one

doesn't already exist, so re‑running never clobbers your keys.

  1. Install a systemd user service openhome-hub that starts on boot and

restarts on crash, then start it.

  1. Install an openhome command in ~/.local/bin.

Re‑running the installer is safe: it updates code + deps and leaves your config

alone. (It's also how you update.)

Installer environment overrides

VariableDefaultPurpose
OPENHOME_DIR~/openhomewhere to clone the repo
OPENHOME_REPOhttps://github.com/rmruss2022/openhome.gitsource repo
OPENHOME_BRANCHmainbranch to track
OPENHOME_CONFIG_DIR~/.openhomewhere the keys file lives

Manual install

git clone https://github.com/rmruss2022/openhome.git ~/openhome
cd ~/openhome
npm install
mkdir -p ~/.openhome
cp services/voice-client/voice.env.example ~/.openhome/openhome.env   # starting template
# edit keys, then run the hub:
node --experimental-strip-types services/hub/src/index.ts

The hub listens on http://localhost:4700 (and HTTPS on :4443 when certs are

present — HTTPS is required for in‑browser voice). To run it as a service, see

the systemd unit the installer writes (or ~/.openhome/run-hub.sh).

Voice wake‑word client (optional)

For hands‑free "Hey Jarvis" you need the Python voice client (a mic + the

hub). See services/voice-client/README.md. In short: create a venv, install

services/voice-client/requirements.txt, copy voice.env.example →

/etc/openhome-voice.env, set ELEVENLABS_API_KEY, and enable the

openhome-voice service. Without it, you still control everything from the app.

Uninstall

openhome stop
systemctl --user disable openhome-hub 2>/dev/null
rm -rf ~/openhome ~/.openhome ~/.local/bin/openhome ~/.config/systemd/user/openhome-hub.service
systemctl --user daemon-reload

Next: Configuration · Connecting Devices