Troubleshooting & FAQ
Real fixes for the things that actually go wrong, drawn from running openhome on
a Pi 4 in the wild.
The hub won't respond / health check fails
openhome logs # look for a crash loop
curl -s localhost:4700/health # expect {"status":"ok",...}
- If it's crash‑looping, stop it first to stabilize the box, then fix:
systemctl --user stop openhome-hub.
- A partial/corrupt source file (e.g. a missing
async) will crash‑loop under
systemd and can pin the CPU. Re‑deploy the file from the repo, verify, restart.
"Hey Jarvis" is silent / box unreachable, SSH resets every connect
This pattern (kex_exchange_identification on SSH, pingable but no login) is
usually out of memory — the box can't fork a login shell.
- The 2GB/4GB Pi runs tight. A desktop GUI (labwc/pcmanfm/portal) wastes ~250MB
on a headless hub; consider multi-user.target over graphical.target.
- A memory watchdog (
memwatch) can restart the voice/gateway when
MemAvailable drops, and a nightly restart bounds slow leaks — this keeps the
box recoverable instead of OOM‑locked.
- If it's fully OOM‑locked, a physical power‑cycle is the only fix.
After a reboot, lights/config are empty or the hub won't parse
Unclean reboots on an ext4 SD card can commit a file's size but not its data
blocks — the file comes back the right length, filled with NUL bytes.
- Onboarded lights/scenes survive because the durable store keeps a
.bakmirror
and recovers automatically.
- Source files have no such backup — git is the backup; re‑deploy from the
repo. After writing any file on the device, run sync.
- A
node --checkthat passes while the running hub still fails means the bytes
on disk are corrupt even though the page cache looked fine. Re‑copy, sync,
and confirm md5sum matches your source.
It beeps repeatedly / ignores commands after the wake tone
The mic can hear openhome's own wake beep (especially over Bluetooth latency) and
treat it as speech. The fix is to drain the mic after the beep and add a short
wake cooldown so emitted audio can't re‑trigger the wake word. If this regresses
after a revert, re‑apply the drain_after_beep + WAKE_COOLDOWN logic in the
voice client.
A light shows offline
Almost always the device's own Wi‑Fi dropped. Power‑cycle the bulb/plug; it
re‑announces and the hub picks it back up. Confirm it's on the same subnet.
Music plays on the wrong speaker
If a scene's music lands on your laptop instead of the room speaker, the room's
Spotify Connect client dropped out of the device list. Restart the speaker
service so it re‑advertises, then re‑trigger. Avoid rapid back‑to‑back scene
triggers (give Spotify Connect ~12s).
restart over SSH hangs
Restarting the hub over an SSH session can kill that session (exit 143). Run the
restart, then verify in a separate shell with a short retry loop. On a 4‑core
Pi 4, a load spike right after restart is a normal init surge.
FAQ
- Does my data leave the house? No. Keys and data live on your hub; the
cloud only helps the app find your hub. Pull the internet and local control
keeps working.
- Do I need all the keys? No — only
ANTHROPIC_API_KEY. The rest unlock
music, voice replies, and calendar.
- Can I run it on a Mac mini / old laptop? Yes — any Linux box (and macOS
for dev). See Installation.
Next: Updating · Security & Privacy