能力标签
Hermes语音集成
⚙️
Agent工作流

Hermes语音集成

基于 Python · 无代码搭建完整 AI 自动化流程
英文名:hermes-voice-ha-integration
⭐ 17 Stars 🍴 3 Forks 💻 Python 📄 MIT 🏷 AI 7.5分
7.5AI 综合评分
语音控制Home AssistantAI
✦ AI Skill Hub 推荐

经 AI Skill Hub 精选评估,Hermes语音集成 获评「推荐使用」。这款Agent工作流在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 7.5 分,适合有一定技术背景的用户使用。

📚 深度解析

Hermes语音集成 是一套完整的 AI Agent 自动化工作流方案。随着 AI 能力的不断提升,基于 Agent 的自动化工作流正在成为提升个人和团队效率的核心方式。区别于传统的 RPA 自动化(模拟鼠标键盘操作),AI Agent 工作流通过理解任务意图、动态规划执行路径,能够处理更复杂的非结构化任务。

Hermes语音集成 工作流的设计遵循"最小配置,最大复用"原则:核心逻辑已经封装好,用户只需配置自己的 API Key 和业务参数即可快速上手。工作流内置错误处理和重试机制,在网络波动或 API 限速等情况下仍能稳定运行,适合作为生产环境的自动化基础设施。

在实际部署时,建议先在测试环境中运行 3-5 次,验证各个环节的输出结果符合预期,再部署到生产环境。AI Skill Hub 评分 7.5 分,是同类 Agent 工作流中的精选推荐。

📋 工具概览

Hermes语音集成 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。

GitHub Stars
⭐ 17
开发语言
Python
支持平台
Windows / macOS / Linux
维护状态
轻量级项目,按需更新
开源协议
MIT
AI 综合评分
7.5 分
工具类型
Agent工作流
Forks
3

📖 中文文档

以下内容由 AI Skill Hub 根据项目信息自动整理,如需查看完整原始文档请访问底部「原始来源」。

Hermes语音集成 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。

📌 核心特色
  • 可视化 Agent 工作流编排,无需编写复杂代码
  • 支持多步骤自动化任务链,实现全流程无人值守
  • 与外部 API、数据库和第三方服务无缝集成
  • 内置错误处理与自动重试机制,保障稳定运行
  • 提供可复用的自动化模板,快速在同类场景部署
🎯 主要使用场景
  • 自动化日常重复性工作,将精力集中于创造性任务
  • 构建数据采集 → 处理 → 输出的完整自动化管线
  • 实现跨平台、跨系统的数据流转和业务协同
以下安装命令基于项目开发语言和类型自动生成,实际以官方 README 为准。
安装命令
# 方式一:pip 安装(推荐)
pip install hermes-voice-ha-integration

# 方式二:虚拟环境安装(推荐生产环境)
python -m venv .venv
source .venv/bin/activate  # Windows: .venv\Scripts\activate
pip install hermes-voice-ha-integration

# 方式三:从源码安装(获取最新功能)
git clone https://github.com/rusty4444/hermes-voice-ha-integration
cd hermes-voice-ha-integration
pip install -e .

# 验证安装
python -c "import hermes_voice_ha_integration; print('安装成功')"
📋 安装步骤说明
  1. 访问 GitHub 仓库获取工作流文件
  2. 在对应平台(Dify / Flowise / Make 等)中找到「导入工作流」功能
  3. 上传工作流文件
  4. 按照提示配置必要的环境变量和 API Key
  5. 运行测试确认流程正常后投入使用
以下用法示例由 AI Skill Hub 整理,涵盖最常见的使用场景。
常用命令 / 代码示例
# 命令行使用
hermes-voice-ha-integration --help

# 基本用法
hermes-voice-ha-integration input_file -o output_file

# Python 代码中调用
import hermes_voice_ha_integration

# 示例
result = hermes_voice_ha_integration.process("input")
print(result)
以下配置示例基于典型使用场景生成,具体参数请参照官方文档调整。
配置示例
# hermes-voice-ha-integration 配置文件示例(config.yml)
app:
  name: "hermes-voice-ha-integration"
  debug: false
  log_level: "INFO"

# 运行时指定配置文件
hermes-voice-ha-integration --config config.yml

# 或通过环境变量配置
export HERMES_VOICE_HA_INTEGRATION_API_KEY="your-key"
export HERMES_VOICE_HA_INTEGRATION_OUTPUT_DIR="./output"
📑 README 深度解析 真实文档 完整度 58/100 查看 GitHub 原文 →
以下内容由系统直接从 GitHub README 解析整理,保留代码块、表格与列表结构。

Prerequisites

You need:

  1. Home Assistant with network access from the machine running Hermes.
  2. Hermes Agent installed and working.
  3. A Home Assistant Long-Lived Access Token for Hermes.
  4. Python 3.11+ for local development/plugin execution.
  5. Optional audio dependencies if you want voice input/output on the Hermes machine.

---

Step 1 — Install Hermes Agent

Install Hermes using the official installer:

curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash

Restart your shell, then verify:

hermes --version
hermes doctor

Run the setup wizard if this is your first Hermes install:

hermes setup

Choose a model/provider. For a local-first HA assistant, configure Hermes to use your local model endpoint (for example Ollama, vLLM, or llama.cpp). Remote providers also work.

---

Step 3 — Install the Hermes plugins

Clone this repository:

mkdir -p ~/dev
cd ~/dev
git clone https://github.com/rusty4444/hermes-voice-ha-integration.git
cd hermes-voice-ha-integration

Copy the plugins into your Hermes plugin directory:

mkdir -p ~/.hermes/plugins
cp -R plugins/home_assistant ~/.hermes/plugins/home_assistant
cp -R plugins/voice_stack ~/.hermes/plugins/voice_stack

Configure Home Assistant connection details for Hermes. The plugin reads standard environment variables:

```bash cat >> ~/.hermes/.env <<'EOF'

Step 4 — Test Hermes ↔ Home Assistant before installing anything in HA

Start Hermes:

hermes

Ask:

Search my Home Assistant lights.

Then try a read-only state check:

Is the living room light on?

Expected result:

  • Hermes should use ha_search_entities or ha_get_state.
  • The response should include the current state from Home Assistant.
  • If Home Assistant is unreachable, Hermes should say that it cannot reach HA rather than crashing.

If this fails, skip ahead to Troubleshooting before enabling write actions.

---

Step 5 — Install the Home Assistant custom integration

Option B — Manual install

From this repo checkout, copy the custom component into HA's config directory:

cp -R custom_components/hermes /config/custom_components/hermes

If you are copying over SSH/Samba from another machine, the target is the Home Assistant config directory:

/config/custom_components/hermes

Restart Home Assistant after copying.

---

Development setup

cd ~/dev/hermes-voice-ha-integration
python3 -m venv .venv
source .venv/bin/activate
pip install -e '.[dev]'
python -m pytest tests/ -q

Run static compilation:

python -m compileall -q custom_components plugins tests

Build package metadata:

python -m build --sdist --wheel

Run release integrity checks:

python scripts/check_release_integrity.py

See docs/release.md for the full release checklist and artifact semantics.

The tests are mocked and do not require a live Home Assistant instance.

---

Optional: bearer token for the HA-to-Hermes WebSocket connection. Leave empty if no auth is needed.

HERMES_HA_WS_TOKEN= EOF


**About the `HASS_URL` format:** The URL must include a scheme (`http://` or `https://`) and a hostname or IP address. For example `http://192.168.1.50:8123`. If you see `"No host part in the URL"`, the URL is missing the `http://` prefix or the hostname.

**About `HERMES_HA_WS_TOKEN`:** This is optional and used to secure the connection **from Home Assistant to Hermes**. Most users do not need it:

- **Leave empty** (or omit) for unauthenticated WebSocket connections.
- **Set to any string** (e.g. `my-hermes-token`) if you want to require a matching token on the HA side. If you set this, enter the same value in the HA custom integration setup form field "Hermes API / WebSocket token".
- If unset, the system falls back to `API_SERVER_KEY` or `HERMES_API_KEY` if either is configured.

If your HA URL is different, use that instead, for example:
bash HASS_URL=http://192.168.1.50:8123

Enable the plugins in `~/.hermes/config.yaml`:
yaml plugins: enabled: - home_assistant - voice_stack

If your config already has a `plugins.enabled` list, add the two entries instead of replacing the whole section.

Restart Hermes after changing plugins or `.env`.

**How the WebSocket receiver starts:** The WebSocket receiver does not require a standalone `server.py` file. It starts automatically when the `voice_stack` plugin loads. After restarting Hermes, check that the WebSocket is active:
bash

Option A — HACS custom repository

  1. In Home Assistant, open HACS.
  2. Open the three-dot menu → Custom repositories.
  3. Add this repository URL:
   https://github.com/rusty4444/hermes-voice-ha-integration
   
  1. Choose category Integration.
  2. Install Hermes Voice Assistant.
  3. Restart Home Assistant.

Step 7 — Configure the voice pipeline via the HA options UI

After adding the integration, open Settings → Devices &amp; services → Hermes Voice Assistant → Options.

The options flow has two pages.

Step 9 — Configure safety controls

The plugin blocks dangerous service domains by default, including:

  • shell_command
  • command_line
  • python_script
  • pyscript
  • hassio
  • rest_command

For extra safety, create an allow-list at:

~/.hermes/ha_allow_list.json

Example:

{
  "enabled": true,
  "rules": [
    {"entity_id": "light.*", "services": ["turn_on", "turn_off", "toggle"]},
    {"entity_id": "scene.*", "services": ["turn_on"]},
    {"entity_id": "media_player.living_room", "services": ["play_media", "volume_set"]}
  ]
}

When enabled, service calls not matching the allow-list are denied.

Audit logs are written as JSON lines to:

~/.hermes/ha_audit.log

---

Step 10 — Optional: fine-tune voice engines outside HA

Install optional voice dependencies in the Python environment that runs Hermes.

TTS options

Edge TTS (easy, network-backed)

pip install edge-tts

Configure:

cat >> ~/.hermes/.env <<'EOF'
HERMES_TTS_ENGINE=edge
HERMES_TTS_VOICE=en-US-AriaNeural
EOF

Piper TTS (offline)

pip install piper-tts

Download a Piper voice model from:

https://huggingface.co/rhasspy/piper-voices

Configure:

cat >> ~/.hermes/.env <<'EOF'
HERMES_TTS_ENGINE=piper
HERMES_TTS_VOICE=en_US-lessac-medium
EOF

STT options

faster-whisper

pip install faster-whisper sounddevice numpy

Configure:

cat >> ~/.hermes/.env <<'EOF'
HERMES_STT_ENGINE=faster-whisper
HERMES_STT_MODEL=tiny
EOF

Wake-word options

Porcupine

pip install pvporcupine pyaudio

Create a Picovoice key, then add:

cat >> ~/.hermes/.env <<'EOF'
HERMES_WAKE_WORD_ENGINE=porcupine
HERMES_WAKE_WORD=computer
PORCUPINE_ACCESS_KEY=replace-with-picovoice-key
EOF

OpenWakeWord

pip install openwakeword pyaudio numpy

Configure:

cat >> ~/.hermes/.env <<'EOF'
HERMES_WAKE_WORD_ENGINE=openwakeword
EOF

Step 11 — Optional Home Assistant add-on

This repository includes an early HA add-on scaffold in addon/. Use it if you want Hermes voice services to run under Home Assistant Supervisor instead of a separate machine.

High-level flow:

  1. Add this repository as an add-on repository in Settings → Add-ons → Add-on Store → Repositories.
  2. Install Hermes Voice Assistant.
  3. Configure model/STT/TTS/wake-word settings in the add-on options.
  4. Start the add-on.
  5. Open the add-on logs and confirm Hermes starts cleanly.

The add-on is intentionally marked boot: manual in v0.0.5. Start it manually first, verify logs, then decide whether to change boot behaviour later.

---

Test the WebSocket endpoint (replace with your Hermes host/port)

curl -N --no-buffer -H "Accept: text/event-stream" http://localhost:7860/api/hermes/ws


The `voice_stack` plugin starts a small HA-facing WebSocket receiver at:
text ws://<hermes-host>:7860/api/hermes/ws ```

Home Assistant connects to this endpoint through the Hermes URL you enter below. If HERMES_HA_WS_TOKEN, API_SERVER_KEY, or HERMES_API_KEY is set, the HA custom integration token must match it.

---

Hermes × Home Assistant Voice Integration

<p align="center"> <a href="https://buymeacoffee.com/rusty4" target="_blank"> <img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" height="50"> </a> </p>

Hermes + Home Assistant Logo

Connect Hermes Agent to Home Assistant so Hermes can understand your home, call HA services, and optionally run a wake-word → STT → LLM → TTS voice loop.

This repository is a bundle of three pieces:

PiecePathWhat it does
Home Assistant custom integrationcustom_components/hermes/Adds the hermes integration, HA services, status sensors, and the Lovelace action bar.
Hermes Home Assistant pluginplugins/home_assistant/Gives Hermes tools for entity search, state lookup, service calls, bulk control, scene/script discovery, and HA context.
Hermes voice-stack pluginplugins/voice_stack/Adds wake-word, speech-to-text, text-to-speech, and voice pipeline helpers.
Install targetMechanismArtifact/sourceCurrent maturity
HA custom integrationHACS custom repository or manual copyGitHub tag/source distribution, custom_components/hermes/Supported
Hermes pluginsCopy into ~/.hermes/plugins or install the Python wheelWheel/source distribution, plugins/*Supported
HA add-onHome Assistant Supervisor add-on scaffoldGitHub tag/source distribution, addon/Early scaffold

The Python wheel is intentionally plugin-focused. Use the GitHub tag or source distribution for the full HACS/custom-component/add-on bundle.

Release: v0.0.5 — ships runtime Home Assistant translations so the setup form explains exactly what the Hermes URL and token fields mean.

---

Hermes tools provided by the HA plugin

ToolPurpose
ha_search_entitiesSearch entities by name, domain, area-like metadata, or entity ID.
ha_get_stateFetch current state and attributes for one entity.
ha_call_serviceCall a Home Assistant service with safety checks.
ha_get_overviewBuild a compact overview of the home.
ha_list_servicesDiscover service domains and service names.
control_light_and_set_sceneCompound helper for common light + scene actions.
turn_off_all_exceptTurn off a domain while preserving chosen entities.
ha_bulk_controlRun multiple service calls and summarise results.

Voice tools provided by the voice plugin

ToolPurpose
voice_statusShow engine availability and pipeline state.
voice_enableEnable continuous wake-word listening.
voice_disableDisable continuous voice mode.
voice_speakSpeak text through the configured TTS engine.
voice_listenOne-shot record + transcription.
voice_promptBuild the voice-optimised prompt with HA context.

---

Confirm the plugin is loaded

hermes plugins | grep voice_stack

Step 6 — Add the integration in Home Assistant

  1. Open Settings → Devices & services.
  2. Click Add integration.
  3. Search for Hermes Voice Assistant.
  4. Complete the setup form:

Hermes setup UI field guide

Setup fieldWhat it meansExample
**Hermes Agent API URL**The base URL of the machine or container running Hermes Agent's HA-facing API/WebSocket receiver. This must be reachable from Home Assistant. It is **not** your Home Assistant URL.http://192.168.1.20:7860 or http://hermes.local:7860
**Hermes API / WebSocket token**The bearer token expected by Hermes for the HA WebSocket/API receiver. Use HERMES_HA_WS_TOKEN if you set it; otherwise use the fallback token configured as API_SERVER_KEY or HERMES_API_KEY. This is **not** a Home Assistant long-lived access token.the same shared Hermes token from ~/.hermes/.env

Visual check:

Home Assistant  →  http://<hermes-host>:7860  →  /api/hermes/ws

Do not enter http://homeassistant.local:8123 in the Hermes URL field. That URL is only used by Hermes itself when Hermes talks back to Home Assistant via HASS_URL.

  1. Submit.

The integration adds:

  • hermes.hermes_command service for HA-native service dispatch.
  • hermes.voice_settings service for voice/dashboard helpers.
  • Hermes status entities:
  • sensor.hermes_gateway_status — Hermes gateway reachable or offline
  • sensor.hermes_uptime_hours — how long Hermes has been running
  • sensor.hermes_total_interactions — number of voice interactions
  • sensor.hermes_total_errors — number of voice errors
  • sensor.ha_ws_connection — HA WebSocket connection state
  • sensor.hermes_voice_ready — voice pipeline ready flag
  • sensor.hermes_tts_voice — configured default TTS voice
  • sensor.hermes_stt_engine — configured STT engine
  • sensor.hermes_wake_word — configured wake-word keyword(s)
  • sensor.hermes_media_player — configured media player for TTS

---

Page 2 — Voice pipeline

Hermes HA config/options UI — voice pipeline

Mockup of the Step 2 — Voice pipeline options page. The Step 1 — Allow-listed entities & SSL page appears first, with an entity-ID editor and an SSL toggle.

FieldWhat to enter
**TTS engine**edge (default, network), piper (local), elevenlabs, or openai
**Default TTS voice / voice-ID**Voice name or ID for the chosen TTS engine (e.g. en-US-AriaNeural for Edge TTS)
**STT engine**faster-whisper (default, local) or whisper-cpp
**STT model size**Model size for the chosen STT engine: tiny, base, small, medium, large
**Wake-word engine**porcupine (default), openwakeword, or command
**Wake-word keyword(s)**One keyword per line or comma-separated (e.g. hey jarvis, computer)
**Media player entity ID**HA media_player.* entity used for TTS playback (e.g. media_player.living_room_speaker)

Values are persisted in the config entry options. After saving, Hermes reads them from entry.options on every restart. Screenshots of the live UI are welcome via PR.

---

Troubleshooting

🎯 aiskill88 AI 点评 A 级 2026-05-28

高质量的语音控制集成,易于使用

📚 实用指南(长尾问题)
适合谁
  • 构建多智能体协作系统的 Agent 开发者
  • 跨境业务、多语言内容运营团队
  • 做语音类 AI 产品的开发者
最佳实践
  • 生产部署优先使用 Docker Compose 隔离依赖,并挂载 volume 持久化数据
  • 本地部署优先选 GGUF 量化模型,节省显存并保持响应速度
  • Agent 任务先做 dry-run 验证工具调用链,再开启自主执行
常见错误
  • API key 直接提交到 git 仓库(请用 .env 并加入 .gitignore)
  • 容器内无法访问宿主机 localhost — 使用 host.docker.internal
  • 显存不足直接 OOM — 优先降低 context 或换更小的量化模型
  • Python 依赖冲突:建议用 venv / uv 隔离环境
部署方案
  • Docker:hermes-voice-ha-integration 提供官方镜像,docker compose up 一键启动
  • 本地部署:CPU 8GB 起,GPU 推荐 16GB+ 显存
  • 云端托管:可放在 Vercel / Railway / Fly.io 等 PaaS 平台
相关搜索
hermes-voice-ha-integration 中文教程hermes-voice-ha-integration 安装报错怎么办hermes-voice-ha-integration Docker 部署hermes-voice-ha-integration Agent 工作流hermes-voice-ha-integration 与同类工具对比hermes-voice-ha-integration 最佳实践hermes-voice-ha-integration 适合谁用

⚡ 核心功能

👥 适合谁
  • 构建多智能体协作系统的 Agent 开发者
  • 跨境业务、多语言内容运营团队
  • 做语音类 AI 产品的开发者
⭐ 最佳实践
  • 生产部署优先使用 Docker Compose 隔离依赖,并挂载 volume 持久化数据
  • 本地部署优先选 GGUF 量化模型,节省显存并保持响应速度
  • Agent 任务先做 dry-run 验证工具调用链,再开启自主执行
⚠️ 常见错误
  • API key 直接提交到 git 仓库(请用 .env 并加入 .gitignore)
  • 容器内无法访问宿主机 localhost — 使用 host.docker.internal
  • 显存不足直接 OOM — 优先降低 context 或换更小的量化模型
  • Python 依赖冲突:建议用 venv / uv 隔离环境

👥 适合人群

自动化工程师和运维人员项目经理和业务分析师希望减少重复性工作的专业人士数字化转型团队

🎯 使用场景

  • 自动化日常重复性工作,将精力集中于创造性任务
  • 构建数据采集 → 处理 → 输出的完整自动化管线
  • 实现跨平台、跨系统的数据流转和业务协同

⚖️ 优点与不足

✅ 优点
  • +MIT 协议,可免费商用
  • +大幅减少重复性人工操作
  • +可视化流程,清晰直观
  • +可扩展性强,支持复杂场景
⚠️ 不足
  • 初始配置和调试需投入一定时间
  • 强依赖外部服务的稳定性
  • 复杂场景需具备一定技术基础
⚠️ 使用须知

AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。

建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。

📄 License 说明

✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。

🔗 相关工具推荐

📰 相关 AI 新闻
🍿 AI 圈相关吃瓜
🗺️ 相关解决方案
🧩 你可能还需要
基于当前 Skill 的能力图谱,自动补全的工具组合

❓ 常见问题 FAQ

hermes-voice-ha-integration 是一款Python开发的AI辅助工具。开源AI工作流:Home Assistant voice stack integration for Hermes Agent — on-device voice contro。⭐17 · Python 主要应用场景包括:智能家居语音控制。
💡 AI Skill Hub 点评

AI Skill Hub 点评:Hermes语音集成 的核心功能完整,质量良好。对于自动化工程师和运维人员来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。

⬇️ 获取与下载
⬇ 下载源码 ZIP

✅ MIT 协议 · 可免费商用 · 直接从 aiskill88 服务器下载,无需跳转 GitHub

📚 深入学习 Hermes语音集成
查看分步骤安装教程和完整使用指南,快速上手这款工具
🌐 原始信息
原始名称 hermes-voice-ha-integration
原始描述 开源AI工作流:Home Assistant voice stack integration for Hermes Agent — on-device voice contro。⭐17 · Python
Topics 语音控制Home AssistantAI
GitHub https://github.com/rusty4444/hermes-voice-ha-integration
License MIT
语言 Python
🔗 原始来源
🐙 GitHub 仓库  https://github.com/rusty4444/hermes-voice-ha-integration

收录时间:2026-05-28 · 更新时间:2026-05-30 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。