From 00ab407b04d6375f6013b58d8ed96e196e7c2a3d Mon Sep 17 00:00:00 2001 From: ephemetra <19858141500@163.com> Date: Wed, 25 Feb 2026 10:19:22 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E4=BF=AE=E5=A4=8D=E6=96=87=E6=A1=A3?= =?UTF-8?q?=E4=B8=AD=E7=9A=84=E9=94=99=E8=AF=AF=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. 修正第三部分的错误标题。 2. 修正了server.mqtt_manager_api填入`PUBLIC_IP`+`:`+`UDP_PORT`的错误内容。 --- docs/mqtt-gateway-integration.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/mqtt-gateway-integration.md b/docs/mqtt-gateway-integration.md index 2b96255f..5f8bd517 100644 --- a/docs/mqtt-gateway-integration.md +++ b/docs/mqtt-gateway-integration.md @@ -127,7 +127,7 @@ pm2 restart xz-mqtt ``` 192.168.0.7:8884 ``` -4. 在智控台顶部,点击`参数管理`,搜索`server.mqtt_manager_api`,点击编辑,填入你在`.env`文件中设置的`PUBLIC_IP`+`:`+`UDP_PORT`。类似这样 +4. 在智控台顶部,点击`参数管理`,搜索`server.mqtt_manager_api`,点击编辑,填入你在`.env`文件中设置的`PUBLIC_IP`+`:`+`API_PORT`。类似这样 ``` 192.168.0.7:8007 ``` @@ -154,7 +154,7 @@ curl 'http://localhost:8002/xiaozhi/ota/' \ pm2 logs xz-mqtt ``` -## 第三部分:全模块运行实现小智硬件MQTT+UDP连接 +## 第三部分:单模块运行xiaozhi-server实现小智硬件MQTT+UDP连接 打开你的`data/.config.yaml`文件,在`server`下找到`mqtt_gateway`填入你在`.env`文件中设置的`PUBLIC_IP`+`:`+`MQTT_PORT`。类似这样 ``` @@ -184,4 +184,4 @@ curl 'http://localhost:8002/xiaozhi/ota/' \ 唤醒后留意mqtt-gateway的日志,确认是否有连接成功的日志。 ``` pm2 logs xz-mqtt -``` \ No newline at end of file +```