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
| Component | Minimum | Notes |
|---|---|---|
| Hardware | Raspberry Pi 4 (2GB), old laptop, mini PC, any Linux box | Pi 4 with 4GB is comfortable |
| OS | Debian/Raspberry Pi OS, Ubuntu, Fedora, Arch, or macOS | 64‑bit recommended |
| Node.js | ≥ 22 | the hub runs TypeScript directly via Node's type‑stripping loader |
| Python | 3.9+ | only needed for the voice wake‑word client |
| Network | Wi‑Fi or Ethernet | same 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:
- Ensure git, Node ≥ 22, and Python 3 are present — installing them
with your system package manager (apt/dnf/pacman/brew) if missing.
- Clone the repo to
~/openhome(override withOPENHOME_DIR). - Run
npm install. - Write a keys file at
~/.openhome/openhome.env(chmod 600) — only if one
doesn't already exist, so re‑running never clobbers your keys.
- Install a systemd user service
openhome-hubthat starts on boot and
restarts on crash, then start it.
- Install an
openhomecommand 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
| Variable | Default | Purpose |
|---|---|---|
OPENHOME_DIR | ~/openhome | where to clone the repo |
OPENHOME_REPO | https://github.com/rmruss2022/openhome.git | source repo |
OPENHOME_BRANCH | main | branch to track |
OPENHOME_CONFIG_DIR | ~/.openhome | where 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