更新 'repository.yaml'
This commit is contained in:
40
xiaozhi-esp32-webui/CHANGELOG.md
Normal file
40
xiaozhi-esp32-webui/CHANGELOG.md
Normal file
@@ -0,0 +1,40 @@
|
||||
## 0.8.5 (2025-10-21)
|
||||
- 版本升级
|
||||
## 0.8.2 (2025-09-23)
|
||||
- 版本升级
|
||||
## 0.7.6 (2025-09-10)
|
||||
- 版本升级
|
||||
## 0.7.4 (2025-08-15)
|
||||
- 版本升级
|
||||
## 0.7.2 (2025-07-24)
|
||||
- 版本升级
|
||||
## 0.6.3 (2025-07-11)
|
||||
- 版本升级
|
||||
## 0.6.2 (2025-07-03)
|
||||
- 版本升级
|
||||
## 0.5.7 (2025-06-18)
|
||||
- 版本升级
|
||||
## 0.5.5 (2025-06-09)
|
||||
- 版本升级
|
||||
## 0.5.4 (2025-06-05)
|
||||
- 版本升级
|
||||
## 0.5.3 (2025-06-03)
|
||||
- 版本升级
|
||||
## 0.5.1 (2025-05-29)
|
||||
- 版本升级
|
||||
## 0.4.4 (2025-05-23)
|
||||
- 版本升级
|
||||
## 0.4.3 (2025-05-16)
|
||||
- 版本升级
|
||||
## 0.4.2 (2025-05-13)
|
||||
- 版本升级
|
||||
## 0.4.1 (2025-05-08)
|
||||
- 版本升级
|
||||
## 0.3.13 (2025-05-07)
|
||||
- 版本升级
|
||||
## 0.3.12 (2025-04-28)
|
||||
- 版本升级
|
||||
## 0.3.11 (2025-04-27)
|
||||
- 版本升级
|
||||
## 0.3.4 (2025-04-25)
|
||||
- 首次推出
|
||||
108
xiaozhi-esp32-webui/DOCS.md
Normal file
108
xiaozhi-esp32-webui/DOCS.md
Normal file
@@ -0,0 +1,108 @@
|
||||
# 小智 AI 智控台
|
||||
|
||||
本加载项提供小智 ESP32 是智控台的docker服务,需配合其它addons一起使用,快速体验本地化小智后端服务全功能版的乐趣。
|
||||
|
||||
## 安装方法与次序
|
||||
1. 在加载项仓库中,另外安装配套的addons
|
||||
|
||||
mariadb(在core仓库中,HA官方自带)
|
||||
|
||||
redis server(在冬瓜甄选仓库中)
|
||||
|
||||
小智AI server最简安装版(在冬瓜甄选仓库中)
|
||||
|
||||
1. "Redis Server" 直接启动
|
||||
|
||||
无需任何操作
|
||||
|
||||
1. 配置"MariaDB" 并启动
|
||||
|
||||
(1)在“Databases”里增加下面内容,然后回车
|
||||
|
||||
```
|
||||
xiaozhi_esp32_server
|
||||
```
|
||||
|
||||
(2)在“Logins”修改数据库密码为root,省事可用下面一行直接替换第一行
|
||||
|
||||
```
|
||||
- password: root
|
||||
```
|
||||
|
||||
(3)在“Rights”最后增加以下内容
|
||||
|
||||
```
|
||||
- database: xiaozhi_esp32_server
|
||||
username: homeassistant
|
||||
```
|
||||
|
||||
(4)保存后启动
|
||||
|
||||
1. "小智 AI 智控台" (本addons)直接启动
|
||||
|
||||
因为本文档开始,直接默认设置了mariadb的密码为root。redis的服务器直接设置为“冬瓜甄选仓库”中的redis服务器名。所以直接启动就行。
|
||||
|
||||
(1)自己注册一个管理员并登录
|
||||
|
||||
(2)进入后,点击上方的“参数管理”,复制第一行开头为“server.secret”里的“参数值”里的字符串
|
||||
|
||||
(3)模型配置——配置大语音模型(建议豆包)
|
||||
|
||||
(4)模型配置——配置语音合成(建议豆包)
|
||||
|
||||
(5)模型配置——配置语音识别(建议豆包)
|
||||
|
||||
(6)模型配置——配置意图识别(需要控制HA的话,选最后一项“Intent_function_call”,设置为"默认")
|
||||
|
||||
- 然后点击“修改”,在“函数列表”的最后面,加上以下的字符后,保存。
|
||||
|
||||
```
|
||||
;hass_get_state;hass_set_state
|
||||
```
|
||||
|
||||
1. 配置 "小智 AI Server最简安装版"
|
||||
|
||||
(1)先启动一次,等默认配置生成,然后停止。
|
||||
|
||||
(2)使用filebrowser等方式,修改“小智AI Server最简安装版”的,在“addon_configs”目录——“7eca76cc_xiaozhi_esp32_server”目录——“data”目录——编辑“.config.yaml”文件
|
||||
|
||||
- 把http://127.0.0.1:8002/xiaozhi那一行替换成
|
||||
|
||||
```
|
||||
url: http://homeassistant.local:8002/xiaozhi
|
||||
```
|
||||
|
||||
- 把刚才复制的“server.secret”,放到最后一行替换掉,注意空格要留好。
|
||||
|
||||
(3)启动“小智 AI Server最简安装版”服务。
|
||||
|
||||
1. 配置"小智 AI 智控台"接口等
|
||||
|
||||
上续操作等,己经能正常启动了。但是智控台中“参数管理”中
|
||||
|
||||
- server.websocket
|
||||
|
||||
```
|
||||
ws://homeassistant.local:8000/xiaozhi/v1/
|
||||
```
|
||||
|
||||
|
||||
|
||||
关键己说明,可以直接开始使用,细节配置大家看一下官方的说明
|
||||
## 备用的技术参考配置(可忽略)
|
||||
|
||||
```yaml
|
||||
mysql_host: core-mariadb #MySQL/MariaDB数据库主机地址,查看方式:Home Assistant → 设置 → 加载项 → MySQL/MariaDB → 信息 → 宿主名
|
||||
mysql_port: 3306 #MySQL/MariaDB数据库端口(默认: 3306)
|
||||
mysql_database: xiaozhi_esp32_server #要使用的数据库名称
|
||||
mysql_username: homeassistant #数据库认证用户名
|
||||
mysql_password: root #数据库认证密码
|
||||
redis_host: 0920e2ff-redis-server #Redis服务器主机地址,查看方式:Home Assistant → 设置 → 加载项 → Redis Server → 信息 → 宿主名
|
||||
redis_port: 6379 #Redis服务器端口(默认: 6379)
|
||||
timezone: Asia/Shanghai #设置服务器时区
|
||||
```
|
||||
|
||||
## 使用说明
|
||||
|
||||
1. 启动后,点击“打开网页界面”,浏览器访问 http://homeassistant.local:8002 进入 Web 管理界面
|
||||
2. 首次访问需要注册用户
|
||||
14
xiaozhi-esp32-webui/README.md
Normal file
14
xiaozhi-esp32-webui/README.md
Normal file
@@ -0,0 +1,14 @@
|
||||
# 冬瓜甄选addons:小智 AI 智控台
|
||||
|
||||
适用于 Home Assistant 的 小智 AI 智控台的加载项。它是不能单独使用的,需要配合mariadb,redis server和“小智AI Server最简版”同时使用。
|
||||
|
||||
## 相关说明
|
||||
|
||||
1. 小智后端服务xiaozhi-esp32-server布署有两种方式。都是采用的docker compose的安装方式,其中有一个全模块安装法。
|
||||
2. 此次换种方式,没有全套打包,而是充分体现小型云主机特点,不同的docker形成不同的addons,相互配合使用。
|
||||
|
||||
详细使用说明请原项目的帮助文档和网上的一些经验。
|
||||
|
||||
## 支持与反馈
|
||||
|
||||
本项目基于[xinnan-tech/xiaozhi-esp32-server](https://github.com/xinnan-tech/xiaozhi-esp32-server) 开发。
|
||||
39
xiaozhi-esp32-webui/config.yaml
Normal file
39
xiaozhi-esp32-webui/config.yaml
Normal file
@@ -0,0 +1,39 @@
|
||||
name: "小智 AI 智控台"
|
||||
version: "0.8.5"
|
||||
slug: "xiaozhi_esp32_webui"
|
||||
description: "小智 AI 智控台 - 提供语音识别、对话和控制功能,支持与ESP32设备通信,集成WEB管理界面"
|
||||
url: "https://gitcode.com/waxgourd/addons"
|
||||
arch:
|
||||
- aarch64
|
||||
- amd64
|
||||
startup: application
|
||||
boot: manual
|
||||
translations: true
|
||||
ports:
|
||||
8002/tcp: 8002
|
||||
ports_description:
|
||||
8002/tcp: "WEB服务端口"
|
||||
host_network: false
|
||||
init: false
|
||||
webui: "http://[HOST]:[PORT:8002]/"
|
||||
watchdog: "http://[HOST]:[PORT:8002]/"
|
||||
journald: true
|
||||
options:
|
||||
mysql_host: core-mariadb
|
||||
mysql_port: 3306
|
||||
mysql_database: xiaozhi_esp32_server
|
||||
mysql_username: homeassistant
|
||||
mysql_password: root
|
||||
redis_host: 7eca76cc-redis-server
|
||||
redis_port: 6379
|
||||
timezone: Asia/Shanghai
|
||||
schema:
|
||||
mysql_host: str
|
||||
mysql_port: port
|
||||
mysql_database: str
|
||||
mysql_username: str
|
||||
mysql_password: password
|
||||
redis_host: str
|
||||
redis_port: port
|
||||
timezone: str
|
||||
image: "r.hassbus.com/wghaos/xiaozhi-esp32-webui"
|
||||
BIN
xiaozhi-esp32-webui/icon.png
Normal file
BIN
xiaozhi-esp32-webui/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.9 KiB |
BIN
xiaozhi-esp32-webui/logo.png
Normal file
BIN
xiaozhi-esp32-webui/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 37 KiB |
29
xiaozhi-esp32-webui/translations/en.yaml
Normal file
29
xiaozhi-esp32-webui/translations/en.yaml
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
configuration:
|
||||
mysql_host:
|
||||
name: "MySQL Host"
|
||||
description: "MySQL/MariaDB database host address"
|
||||
mysql_port:
|
||||
name: "MySQL Port"
|
||||
description: "MySQL/MariaDB database port (default: 3306)"
|
||||
mysql_database:
|
||||
name: "MySQL Database"
|
||||
description: "Name of the database to use"
|
||||
mysql_username:
|
||||
name: "MySQL Username"
|
||||
description: "Username for database authentication"
|
||||
mysql_password:
|
||||
name: "MySQL Password"
|
||||
description: "Password for database authentication"
|
||||
redis_host:
|
||||
name: "Redis Host"
|
||||
description: "Redis server host address"
|
||||
redis_port:
|
||||
name: "Redis Port"
|
||||
description: "Redis server port (default: 6379)"
|
||||
timezone:
|
||||
name: "Timezone"
|
||||
description: "Set the server timezone"
|
||||
|
||||
network:
|
||||
8002/tcp: "Web management interface port"
|
||||
29
xiaozhi-esp32-webui/translations/zh-Hans.yaml
Normal file
29
xiaozhi-esp32-webui/translations/zh-Hans.yaml
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
configuration:
|
||||
mysql_host:
|
||||
name: "MySQL主机"
|
||||
description: "MySQL/MariaDB数据库主机地址"
|
||||
mysql_port:
|
||||
name: "MySQL端口"
|
||||
description: "MySQL/MariaDB数据库端口(默认: 3306)"
|
||||
mysql_database:
|
||||
name: "MySQL数据库名"
|
||||
description: "要使用的数据库名称"
|
||||
mysql_username:
|
||||
name: "MySQL用户名"
|
||||
description: "数据库认证用户名"
|
||||
mysql_password:
|
||||
name: "MySQL密码"
|
||||
description: "数据库认证密码"
|
||||
redis_host:
|
||||
name: "Redis主机"
|
||||
description: "Redis服务器主机地址"
|
||||
redis_port:
|
||||
name: "Redis端口"
|
||||
description: "Redis服务器端口(默认: 6379)"
|
||||
timezone:
|
||||
name: "时区"
|
||||
description: "设置服务器时区"
|
||||
|
||||
network:
|
||||
8002/tcp: "Web管理界面端口"
|
||||
Reference in New Issue
Block a user