```
Validation And Formatting / HACS (push) Has been cancelled
Validation And Formatting / Hassfest (push) Has been cancelled

docs(README): 更新安装说明并添加HACS安装方法

- 修改手动安装路径说明,使表述更清晰
- 新增HACS安装方法作为推荐方式,包含详细步骤

chore(hacs): 统一组件名称表述
- 将HACS显示名称从"阿里语音识别"更新为"阿里通义千问语音识别"
- 保持与其他文档的一致性
```
This commit is contained in:
2026-01-31 21:19:10 +08:00
parent 1e459a315c
commit 69f7a1e2cf
3 changed files with 12 additions and 8 deletions
+8 -4
View File
@@ -16,10 +16,17 @@
### 方法一:手动安装 ### 方法一:手动安装
1. 下载本项目代码。 1. 下载本项目代码。
2.`hass_stt_qwen` 文件夹复制到您的 Home Assistant 配置目录下的 `custom_components` 文件夹中。 2.`/custom_components/`下的`hass_stt_qwen` 文件夹复制到您的 Home Assistant 配置目录下的 `custom_components` 文件夹中。
- 最终路径应为:`/config/custom_components/hass_stt_qwen/` - 最终路径应为:`/config/custom_components/hass_stt_qwen/`
3. 重启 Home Assistant。 3. 重启 Home Assistant。
### 方法二:HACS 安装(推荐)
1. 确保你已经在 Home Assistant 中安装并配置了 HACSHome Assistant Community Store)。
2. 点击 HACS 界面左上角的菜单,选择 `自定义仓库(Custom repositories`,在弹出的窗口中输入仓库地址 `https://github.com/xyzmos/hass_stt_qwen`,类别选择 `集成`,然后点击 `添加`。之后再搜索 `阿里通义千问语音识别` 即可找到。
3. 选择 `阿里通义千问语音识别` 集成,点击 `下载此存储库`
4. 下载完成后,重启 Home Assistant。
## 配置指南 ## 配置指南
1. 登录 Home Assistant。 1. 登录 Home Assistant。
@@ -55,6 +62,3 @@ A: 通义千问 Qwen ASR 支持中文、英文、粤语、日语等多种语言
**Q: 遇到连接失败怎么办?** **Q: 遇到连接失败怎么办?**
A: 请检查 API Key 是否正确,以及网络连接是否正常。如果您在海外,请尝试切换到新加坡区域。 A: 请检查 API Key 是否正确,以及网络连接是否正常。如果您在海外,请尝试切换到新加坡区域。
**Q: 如何调整 VAD/超时/接入点?**
A: 在集成的“选项”里可以配置自定义 WebSocket 接入点、是否启用 Server VAD、VAD 参数与超时。
@@ -1,10 +1,10 @@
{ {
"domain": "hass_stt_qwen", "domain": "hass_stt_qwen",
"name": "阿里通义千问语音识别", "name": "阿里通义千问语音识别",
"codeowners": ["@CircleLiu"], "codeowners": ["@xyzmos"],
"config_flow": true, "config_flow": true,
"documentation": "https://bbs.nextrt.com/d/2-home-assistant-a-li-yun-tong-yi-qian-wen-stt-yu-yin-shi-bie-cha-jian", "documentation": "https://bbs.nextrt.com/d/2-home-assistant-a-li-yun-tong-yi-qian-wen-stt-yu-yin-shi-bie-cha-jian",
"iot_class": "cloud_push", "iot_class": "cloud_push",
"issue_tracker": "https://bbs.nextrt.com/d/2-home-assistant-a-li-yun-tong-yi-qian-wen-stt-yu-yin-shi-bie-cha-jian", "issue_tracker": "https://github.com/xyzmos/hass_stt_qwen/issues",
"version": "0.1.0" "version": "1.0"
} }
+1 -1
View File
@@ -1,5 +1,5 @@
{ {
"name": "阿里语音识别", "name": "阿里通义千问语音识别",
"render_readme": true, "render_readme": true,
"country": ["CN"] "country": ["CN"]
} }