openhome

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",...}

systemctl --user stop openhome-hub.

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.

on a headless hub; consider multi-user.target over graphical.target.

MemAvailable drops, and a nightly restart bounds slow leaks — this keeps the

box recoverable instead of OOM‑locked.

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.

and recovers automatically.

repo. After writing any file on the device, run sync.

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

cloud only helps the app find your hub. Pull the internet and local control

keeps working.

music, voice replies, and calendar.

for dev). See Installation.


Next: Updating · Security & Privacy