fix(edge): EDGE_DEVICE_ID从edge-001改为edge,与WVP标准值一致
Edge的config_sync过滤Stream事件时要求device_id匹配, WVP端标准device_id为"edge",此前不匹配导致Edge静默忽略 所有配置推送事件。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
23
.env
Normal file
23
.env
Normal file
@@ -0,0 +1,23 @@
|
||||
# Local debug overrides
|
||||
DEBUG_SERVER_HOST=0.0.0.0
|
||||
|
||||
# Alarm upload - cloud API URL (Service backend)
|
||||
CLOUD_API_URL=http://localhost:8000
|
||||
|
||||
# ===== 边缘设备 ID(必须与 WVP 数据库 ROI 表的 device_id 一致) =====
|
||||
EDGE_DEVICE_ID=edge
|
||||
|
||||
# ===== 配置同步模式(REDIS=监听云端Stream, LOCAL=仅本地SQLite) =====
|
||||
CONFIG_SYNC_MODE=REDIS
|
||||
|
||||
# ===== 云端 Redis(截图处理器 + 配置同步,db=1) =====
|
||||
CLOUD_REDIS_HOST=sh-crs-6upea3zn.sql.tencentcdb.com
|
||||
CLOUD_REDIS_PORT=24637
|
||||
CLOUD_REDIS_DB=1
|
||||
CLOUD_REDIS_PASSWORD=HkVZkVnn1
|
||||
|
||||
# ===== 腾讯云 COS(截图上传) =====
|
||||
COS_REGION=ap-shanghai
|
||||
COS_BUCKET=xhwkzx-1-1389966313
|
||||
COS_SECRET_ID=AKIDVxPiqmVhYv7FCwVqytdAVddQ2TJySt9I
|
||||
COS_SECRET_KEY=1rVyEI8mMVWs21xfBUjy4BE6DA4z7KWb
|
||||
Reference in New Issue
Block a user