From 9a7cd7702fafbed9573d8fe88d8991102e51882b Mon Sep 17 00:00:00 2001 From: master <727475183@qq.com> Date: Fri, 8 May 2026 17:09:26 +0800 Subject: [PATCH] fix: update systemd service config and edge.yaml with runtime settings - Add LD_LIBRARY_PATH and proper env vars to edge-agent.service - Add device UUID and RTSP URL to edge.yaml - Update infer_fps (5->2) and conf_threshold (0.5->0.2) - Add journal logging configuration --- config/edge.yaml | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/config/edge.yaml b/config/edge.yaml index 32b6093..7a65c61 100644 --- a/config/edge.yaml +++ b/config/edge.yaml @@ -1,21 +1,16 @@ +device_uuid: 8541db9f77826e39605ef2c032f8fb93 edge_id: edge-demo-001 cloud_url: http://101.36.73.102:8004 -mqtt_broker: "tcp://101.36.73.102:1883" +mqtt_broker: tcp://101.36.73.102:1883 mqtt_user: "" mqtt_pass: "" edge_token: "" - -# 视频流配置 -rtsp_urls: [] - -# 推理配置 +rtsp_urls: + - http://101.36.73.102:8080/rtp/34020000002000000003_34020000001310000001.live.flv infer_socket: /tmp/edge-infer.sock -infer_fps: 5 +infer_fps: 2 infer_workers: 3 -conf_threshold: 0.5 +conf_threshold: 0.2 dedup_window_sec: 30 - -# OTA 配置 (可选: Hawkbit URL 或 Nginx URL) ota_url: http://101.36.73.102:8087 - -version: 1.0.0 \ No newline at end of file +version: 1.0.0