Speeding up a Hermes + Home Assistant voice assistant Fix slow shell startup — a...
That's Mr. Crabapple To You @jcrabapple@dmv.community
Speeding up a Hermes + Home Assistant voice assistant
Fix slow shell startup — a systemctl --user enable --now user-cron.timer in .bashrc ran on every shell spawn (8.3s). Removed it: login shell went 8.4s → 0.14s.
Give the voice brain its own profile — dedicated Hermes voice profile with skills emptied, memory trimmed, toolsets cut. Cut conversation latency 9-10s → 2.5s.
Use a non-reasoning model — swap the thinking model for its non-thinking variant, lower reasoning_effort. Removes the "thinking" phase on every turn.
Trim the tool schema — every toolset adds schema the model parses each turn. Dropped a 14-tool search plugin.
Collapse multi-call flows into one script — places.py "burrito" returns a three-line answer in ~0.9s instead of several calls + a JSON dump.
Pre-map entity IDs — room names mapped to exact IDs so "turn on the game room" skips the entity-listing round-trip.
Result: voice answers went from ~25s (worst case) to ~1.7-2.5s. The model was rarely the bottleneck — shell startup and round-trips were.