[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-108911":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":13,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":15,"stars7d":16,"stars30d":17,"stars90d":14,"forks30d":14,"starsTrendScore":18,"compositeScore":19,"rankGlobal":9,"rankLanguage":9,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":21,"topics":24,"createdAt":9,"pushedAt":25,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":14,"starSnapshotCount":14,"syncStatus":15,"lastSyncTime":29,"discoverSource":30},108911,"hermes-voice","majorminorlabs\u002Fhermes-voice","majorminorlabs","Talk to a Hermes Agent profile through Home Assistant Assist",null,"Python",746,45,8,0,2,30,384,15,77.96,"MIT License",false,"main",true,[],"2026-11-11 22:18:49","2026-11-23 20:32:03","# Hermes Voice\n\nTalk to one of your [Hermes Agent](https:\u002F\u002Fgithub.com\u002FNousResearch\u002Fhermes-agent) profiles out loud, through\nHome Assistant Assist, on an old Amazon Echo running echo-dot-assist.\n\nOn an Echo Show, the screen follows along: what it heard, the answer as it is written, the tools Hermes is\nusing, and, when idle, what it is working on in the background. The screen is a web page, so you can make\nit your own ([The Hermes screen](#the-hermes-screen-echo-show)).\n\n[echo-dot-assist](https:\u002F\u002Fgithub.com\u002FGamer92000\u002Fecho-dot-assist) replaces the Alexa client while\nkeeping Fire OS and the Echo's audio processing. Hermes Voice runs on the Home Assistant and Hermes\nhosts. It connects Assist to a Hermes profile once the Echo has been set up as an Assist satellite.\n\n```\n Echo (echo-dot-assist)          Home Assistant                        Hermes Agent\n ┌──────────────┐  audio  ┌──────────────────────────────┐  HTTPS\u002FHTTP  ┌─────────────────────┐\n │ wake word,   │ ──────▶ │ Assist pipeline              │ ───────────▶ │ one profile's       │\n │ mic, speaker │ ◀────── │  speech-to-text (Whisper…)   │  \u002Fv1\u002Fchat\u002F   │ API server          │\n └──────────────┘  audio  │  conversation: hermes_voice ─┼─ completions │ (SOUL.md, memory,   │\n                          │  text-to-speech (Piper…)     │ ◀─────────── │  tools, provider)   │\n                          └──────────────────────────────┘   reply      └─────────────────────┘\n```\n\nThis repo adds only the missing pieces:\n\n| Piece | What it does |\n|---|---|\n| `custom_components\u002Fhermes_voice` | Home Assistant conversation agent that sends each turn to a Hermes profile with a stable `X-Hermes-Session-Id`, so Hermes keeps the conversation. Streams the reply so speech starts early, cleans it for speech, and speaks a short fallback instead of error text. |\n| `custom_components\u002Fhermes_voice\u002Fscreen`, `devices\u002Fecho\u002Fscreen-app` | The Hermes screen: a page Home Assistant serves with the conversation as it happens, and a small Android app that shows it full screen on an Echo Show. |\n| `skill\u002Fhermes-voice-setup` | A Hermes skill: your own agent prepares a voice profile, installs\u002Fconfigures Home Assistant + hermes_voice, and verifies it. |\n| `docs\u002Fchanges-and-undo.md` | Everything Hermes Voice changes in Home Assistant, Hermes and on the Echo, and how to undo each. |\n| `docs\u002Fvoice-profile.md` | How to set up a dedicated voice profile by hand (SOUL.md, tools, thinking effort, separate provider). |\n| `wakeword\u002F` | Reproducible pipeline that trains a \"hey hermes\" microWakeWord model, plus the trained model (`wakeword\u002Fmodel\u002F`). |\n\nEverything else is existing open-source work, used as-is; see [CREDITS.md](CREDITS.md).\n\n## How it works\n\n- **One Home Assistant entry per Hermes profile.** The profile is selected by URL: a standalone gateway on\n  its own port (`http:\u002F\u002FHOST:8650\u002Fv1`) or the multiplexed gateway route (`http:\u002F\u002FHOST:8642\u002Fp\u002F\u003Cprofile>\u002Fv1`).\n- **Hermes keeps the history.** hermes_voice sends only the new user message plus the session header.\n  Session modes:\n  - `per_conversation` (default): `ha-\u003Cconversation_id>`. Home Assistant starts a new conversation after\n    5 minutes of silence.\n  - `per_device`: `ha-dev-\u003Cdevice>-\u003Cwindow>`. One session per voice device, continued until it has been\n    idle for `idle_reset_minutes` (default 30). Window state survives restarts.\n- **Personality stays the profile's.** Hermes applies the profile's SOUL.md and long-term memory. hermes_voice\n  adds one short \"answer briefly, for speech\" system message (configurable).\n- **No Home Assistant device control in v0.1.** Hermes gets no HA tools from this integration. To let the\n  agent control devices, give the profile Home Assistant's MCP server.\n\n## The Hermes screen (Echo Show)\n\nOn an Echo Show the home screen becomes Hermes':\n\n- **Idle**: the avatar, the time, running timers, and Hermes' background work: tasks running, waiting for\n  review or blocked, the next scheduled job, and (opt-in) a short \"next up\" suggestion.\n- **Listening and thinking**: your words once speech-to-text has them, and each tool as Hermes uses it\n  (\"Searching the web\", \"Reading a page\").\n- **Answering**: the reply appears as it is written, while it is spoken.\n- **Tap** the idle screen for an overview of scheduled jobs and recent sessions. Timer alarms get a big Stop button.\n\n**Make it yours.** The screen is one HTML page (`custom_components\u002Fhermes_voice\u002Fscreen\u002F`: `index.html`,\n`style.css`, `app.js`) that gets a live feed of events from Home Assistant over its websocket: listening,\nthinking, each part of the reply, tool calls, timers, background work. Swap the avatar by dropping a picture\nin Home Assistant's `www\u002Fhermes_voice\u002F` folder, restyle it, or build something else on the same feed. Open\n`\u002Fhermes_voice\u002Fscreen?demo` in a desktop browser to work on it without an Echo.\n\nSet up: [devices\u002Fecho\u002FREADME.md](devices\u002Fecho\u002FREADME.md#hermes-screen-on-an-echo-show). Design, options and\nthe feed: [docs\u002Fshow-screen.md](docs\u002Fshow-screen.md).\n\n## What you need\n\n- A Hermes Agent install with a working model provider (`hermes setup`).\n- Docker Desktop on macOS for the one-machine setup shown below. The skill can also configure an\n  existing Home Assistant installation. The Docker examples use `host.docker.internal`; with native\n  Docker on Linux, configure addresses that the Home Assistant container can reach.\n- A voice device: an Echo Dot or Echo Show running [echo-dot-assist](https:\u002F\u002Fgithub.com\u002FGamer92000\u002Fecho-dot-assist)\n  (see [devices\u002Fecho\u002FREADME.md](devices\u002Fecho\u002FREADME.md)), or another Assist satellite.\n\n## Quick start (let your Hermes agent set it up)\n\n**Skill installation is currently blocked by Hermes' security scanner.** The command below is the\nintended installation path, but it does not currently succeed for an unverified community skill.\nUse the [manual install](#manual-install) while this is being resolved; do not disable scanning or\nuse a force override. The setup scripts and device guide remain available in this repository.\nSee [the scan findings and release check](docs\u002Fskill-installation.md) and [issue #4](https:\u002F\u002Fgithub.com\u002Fmajorminorlabs\u002Fhermes-voice\u002Fissues\u002F4).\n\n1. Install the skill:\n   ```bash\n   hermes skills install majorminorlabs\u002Fhermes-voice\u002Fskill\u002Fhermes-voice-setup\n   ```\n   It carries everything it needs: setup scripts, the Home Assistant integration and the \"Hey Hermes\"\n   wake word model.\n2. Ask your agent: *\"Use the hermes-voice-setup skill to make me a voice assistant.\"* It asks you a few\n   questions (which profile, what the voice assistant may do, whether you already run Home Assistant),\n   shows a `--dry-run` of each step, and then runs:\n   ```bash\n   voice_profile.py --profile voice --create --write-soul --tools safe --reasoning low --service\n   ha_setup.py --profile voice --docker --config-dir ~\u002Fhermes-voice\u002Fha-config --set-default\n   speech_setup.py --docker --data-dir ~\u002Fhermes-voice\u002Fspeech --set-default --internal-url http:\u002F\u002F\u003CLAN-IP>:8123 --piper-voice en_US-ryan-high\n   verify.py --recall\n   ```\n   `--tools` decides what Hermes may do when spoken to: `safe` (web search, memory), `home` (+ Home Assistant\n   control), `full` (terminal, files, code: for coding by voice) or your own list. See\n   [docs\u002Fvoice-profile.md](docs\u002Fvoice-profile.md#4b-choose-what-hermes-may-do-by-voice).\n3. Set up the Echo with echo-dot-assist and switch it to \"Hey Hermes\"\n   ([devices\u002Fecho\u002FREADME.md](devices\u002Fecho\u002FREADME.md)).\n\n## Manual install\n\n1. Prepare a voice profile and start its API server: [docs\u002Fvoice-profile.md](docs\u002Fvoice-profile.md).\n2. HACS → ⋮ → Custom repositories → add this repository's URL, category *Integration* → install\n   **Hermes Voice** → restart Home Assistant. Or download `hermes_voice-\u003Cversion>.zip` from the release,\n   unzip it into `\u003Cconfig>\u002Fcustom_components\u002F` to create `\u003Cconfig>\u002Fcustom_components\u002Fhermes_voice\u002F`, then restart.\n3. Settings → Devices & services → Add integration → **Hermes Voice**: gateway URL, the profile's\n   `API_SERVER_KEY`, a display name. The URL is validated with `GET \u002Fv1\u002Fmodels` (no model call).\n4. Settings → Voice assistants → your pipeline → Conversation agent → the new Hermes entity. The pipeline\n   also needs speech-to-text and text-to-speech (Wyoming Whisper + Piper, or HA Cloud); `speech_setup.py`\n   in the skill sets those up.\n5. Options: session mode, idle reset, voice cleanup, voice instruction, fallback message, timeout,\n   optional memory scope key (`X-Hermes-Session-Key`), stream replies (on), working phrase (\"One moment.\",\n   said when Hermes starts a tool before saying anything; empty turns it off), tell Hermes the date and time\n   (on: Hermes has no clock, so each turn carries Home Assistant's local date and time).\n6. Recommended: in the pipeline, turn on **Prefer handling commands locally**. Home Assistant then answers\n   its own sentences at once (the time, timers on the device, lights and other devices) and sends everything\n   else to Hermes. Those answers are Home Assistant's, not Hermes', and Hermes does not see those turns.\n   `ha_setup.py --set-default` turns it on.\n\nRequires Home Assistant 2026.10 or newer (the version tested).\n\n## Devices\n\n| Device | Status |\n|---|---|\n| Echo Dot 2nd gen via [echo-dot-assist](https:\u002F\u002Fgithub.com\u002FGamer92000\u002Fecho-dot-assist) | Tested end to end (flashed from Windows, \"Hey Hermes\" wake word, Home Assistant in Docker on macOS). Device setup is echo-dot-assist's; it can brick the Echo. |\n| Echo Show 5 1st gen (2019) via echo-dot-assist | Tested end to end (flashed from an Ubuntu live USB, \"Hey Hermes\" wake word, Home Assistant in Docker on macOS). Needs a Linux PC and a 16 GB drive; see [devices\u002Fecho\u002FREADME.md](devices\u002Fecho\u002FREADME.md#echo-show-5-1st-gen-on-an-ubuntu-live-usb). |\n| Echo Dot 3rd gen (2018), Echo 2nd gen, Echo Show 5 2nd gen, Echo Show 8, Echo Input via echo-dot-assist | Supported by echo-dot-assist; not tested by this project. |\n| Other Home Assistant Assist satellites (e.g. Voice PE) | Should work, since the satellite only needs a pipeline whose conversation agent is hermes_voice. Untested. |\n\nThe tested Echo Dot 2 required a hardware short after the unlock stalled. The device guide records\nthe Windows driver issue, recovery point, firmware mismatch and subsequent slot inspection.\nIt also explains why matching firmware in both slots does not establish a working fallback.\nRead the [Echo Dot 2 recovery notes](devices\u002Fecho\u002FREADME.md#echo-dot-2-recovery-on-windows) before recovering a stalled unlock.\n\nThe tested Echo Show 5 needed no opening, but its first unlock run reported success and left it locked; a rerun\nworked. The device guide has the exact downloads, disk space, timings and the full run\n([Echo Show 5 notes](devices\u002Fecho\u002FREADME.md#echo-show-5-1st-gen-on-an-ubuntu-live-usb)).\n\n## Research log\n\nEverything tested on real hardware is written down in [docs\u002Fresearch\u002F](docs\u002Fresearch\u002FREADME.md): what was\nchecked, the evidence, the decisions and why, and what went wrong.\n\n## Known limits\n\n- **Latency**: about 3.5 s per plain turn in testing, almost all of it the model; Home Assistant adds about\n  0.03 s. Turns with a tool (web search) took 7 s in all, but speech started at about 3 s with \"One moment.\"\n  (streaming, on by default). `voice_profile.py --reasoning low` makes the model answer sooner.\n- **Rate limits**: a voice profile that shares your main agent's provider login shares its rate limit. On\n  429\u002Ftimeout\u002Fconnection errors hermes_voice speaks a fallback line. Use a separate provider or a fallback\n  chain ([docs\u002Fvoice-profile.md](docs\u002Fvoice-profile.md)).\n- **Memory is per profile**, not per speaker; anything said may be remembered for everyone using that device.\n- **Wake word**: the \"Hey Hermes\" model is tested on one Echo Dot 2nd gen and one Echo Show 5 1st gen in one home. If it misses you\n  or wakes on its own, adjust its threshold on the Echo's settings page.\n- Streaming speech needs a text-to-speech engine that supports it (Piper via Wyoming does). With others\n  the full answer is generated before speech starts.\n\n## Development\n\n```bash\ntests\u002Frun.sh                   # pytest (pytest-homeassistant-custom-component), ruff, mypy in the pinned HA 2026.10.4 image\ntools\u002Fsync_skill_assets.sh     # after changing the integration or the wake word model: refresh the skill's copies\ntools\u002Fbuild_release.sh         # release files in dist\u002F (integration zip, skill zip, wake word zip, checksums)\n```\n\nDocs: [architecture](docs\u002Farchitecture.md) · [voice profile](docs\u002Fvoice-profile.md) ·\n[troubleshooting](docs\u002Ftroubleshooting.md) · [what it changes, and undo](docs\u002Fchanges-and-undo.md) · [decisions](DECISIONS.md)\n\n## License\n\nThe code is [MIT-licensed](LICENSE). The bundled `hey_hermes.tflite` wake word model is for\n[non-commercial use only](wakeword\u002Fmodel\u002FMODEL_NOTICE.md).\n","Hermes Voice 是一个将 Hermes Agent 语音交互能力集成到 Home Assistant 的开源项目，使旧款亚马逊 Echo 设备（通过 echo-dot-assist 替换 Alexa 客户端）可作为 Home Assistant Assist 卫星设备，实现本地化、低延迟的语音对话。核心功能包括：基于 Whisper 的语音识别与 Piper 的文本转语音流式处理、带会话 ID 的稳定对话上下文管理、Echo Show 屏幕实时同步显示（含听觉反馈、思考过程与工具调用状态），以及可定制的‘Hey Hermes’唤醒词模型训练。适用于家庭自动化场景中需私有化、可控性强、支持多智能体角色切换的语音助手部署。","2026-11-24 04:35:16","CREATED_QUERY"]