update:优化说明文档

This commit is contained in:
hrz
2025-04-27 13:55:04 +08:00
parent 96d0f2e6f9
commit 2d6049b7bd
3 changed files with 7 additions and 11 deletions
+5 -9
View File
@@ -276,15 +276,11 @@ LLM:
如果你能看到,类似以下日志,则是本项目服务启动成功的标志。
```
250426 21:44:42[0.3.11_SiFuChEdnofu][core.websocket_server]-INFO-Web Socket Server is running at ws://xx.xx.xx.xx:8000/xiaozhi/v1/
250426 21:44:42[0.3.11_SiFuChEdnofu][core.websocket_server]-INFO-=======上面的地址是websocket协议地址,请勿用浏览器访问=======
250426 21:44:42[0.3.11_SiFuChEdnofu][core.websocket_server]-INFO-如想测试websocket请用谷歌浏览器打开test目录下的test_page.html
250426 21:44:42[0.3.11_SiFuChEdnofu][core.websocket_server]-INFO-=============================================================
250426 21:44:42[0.3.11_SiFuChEdnofu][core.ota_server]-INFO-Simple OTA Server is running at http://xx.xx.xx.xx:8002/xiaozhi/ota/
250426 21:44:42[0.3.11_SiFuChEdnofu][core.ota_server]-INFO-=======上面的地址为最简化安装环境提供OTA基础信息,可用作小智固件v1.6.1及以后版本的自定义OTA地址=======
250426 21:44:42[0.3.11_SiFuChEdnofu][core.ota_server]-INFO-如想测试OTA地址请用谷歌浏览器打开test目录下的test_page.html
250426 21:44:42[0.3.11_SiFuChEdnofu][core.ota_server]-INFO-=============================================================
250427 13:04:20[0.3.11_SiFuChTTnofu][__main__]-INFO-OTA接口是 http://192.168.4.123:8002/xiaozhi/ota/
250427 13:04:20[0.3.11_SiFuChTTnofu][__main__]-INFO-Websocket地址是 ws://192.168.4.123:8000/xiaozhi/v1/
250427 13:04:20[0.3.11_SiFuChTTnofu][__main__]-INFO-=======上面的地址是websocket协议地址,请勿用浏览器访问=======
250427 13:04:20[0.3.11_SiFuChTTnofu][__main__]-INFO-如想测试websocket请用谷歌浏览器打开test目录下的test_page.html
250427 13:04:20[0.3.11_SiFuChTTnofu][__main__]-INFO-=======================================================
```
正常来说,如果您是通过源码运行本项目,日志会有你的接口地址信息。
+1 -1
View File
@@ -169,7 +169,7 @@ docker logs -f xiaozhi-esp32-server
如果你能看到,类似以下日志,则是Server启动成功的标志。
```
25-02-23 12:01:09[core.websocket_server] - INFO - Server is running at ws://xxx.xx.xx.xx:8000/xiaozhi/v1/
25-02-23 12:01:09[core.websocket_server] - INFO - Websocket地址是 ws://xxx.xx.xx.xx:8000/xiaozhi/v1/
25-02-23 12:01:09[core.websocket_server] - INFO - =======上面的地址是websocket协议地址,请勿用浏览器访问=======
25-02-23 12:01:09[core.websocket_server] - INFO - 如想测试websocket请用谷歌浏览器打开test目录下的test_page.html
25-02-23 12:01:09[core.websocket_server] - INFO - =======================================================
+1 -1
View File
@@ -42,7 +42,7 @@ async def main():
read_config_from_api = config.get("read_config_from_api", False)
if not read_config_from_api:
# 启动 Simple OAT 服务器
# 启动 Simple OTA 服务器
ota_server = SimpleOtaServer(config)
ota_task = asyncio.create_task(ota_server.start())