mirror of
https://gitcode.com/waxgourd/addons
synced 2025-12-06 12:28:28 +08:00
首次推出xiaozhi-esp32-server-mini、xiaozhi-esp32-server、xiaozhi-esp32-webui;
This commit is contained in:
27
xiaozhi-esp32-webui/DOCS.md
Normal file
27
xiaozhi-esp32-webui/DOCS.md
Normal file
@@ -0,0 +1,27 @@
|
||||
# 小智 AI OTA 管理
|
||||
|
||||
本加载项提供小智 ESP32 语音识别服务器功能,可与 ESP32 设备配合使用实现语音识别功能。
|
||||
|
||||
## 安装
|
||||
1. 在 Home Assistant 的加载项商店中添加此仓库地址或复制到本地加载项目录
|
||||
1. 安装 "Redis Server" 并配置
|
||||
1. 安装 "Mysql"或"MariaDB" 并配置
|
||||
1. 安装 "小智 AI OTA 管理" 加载项
|
||||
|
||||
## 配置
|
||||
|
||||
```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. 首次访问需要注册用户
|
||||
15
xiaozhi-esp32-webui/README.md
Normal file
15
xiaozhi-esp32-webui/README.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# 冬瓜甄选addons:小智 AI OTA 管理
|
||||
|
||||
适用于 Home Assistant 的 小智 AI OTA 管理加载项。
|
||||
|
||||
## 使用方法
|
||||
|
||||
1. 安装加载项
|
||||
2. 配置 Mysql 和 Redis 参数
|
||||
3. 点击启动,访问 http://homeassistant.local:8002 进入 Web 管理界面
|
||||
|
||||
详细使用说明请参阅 DOCS.md 文档。
|
||||
|
||||
## 支持与反馈
|
||||
|
||||
本项目基于[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 OTA 管理"
|
||||
version: "0.3.4"
|
||||
slug: "xiaozhi_esp32_webui"
|
||||
description: "小智 AI Server 全模块版 - 提供语音识别、对话和控制功能,支持与ESP32设备通信,集成WEB管理界面"
|
||||
url: "https://github.com/xinnan-tech/xiaozhi-esp32-server"
|
||||
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:
|
||||
redis_host:
|
||||
redis_port: 6379
|
||||
timezone: Asia/Shanghai
|
||||
schema:
|
||||
mysql_host: str
|
||||
mysql_port: port
|
||||
mysql_database: str
|
||||
mysql_username: str
|
||||
mysql_password: str
|
||||
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