meteor_detection_system/meteor-edge-client/meteor-client-config.toml
2025-11-03 00:11:13 +08:00

45 lines
868 B
TOML

[device]
registered = true
hardware_id = "SIM_DEVICE"
device_id = "sim-device-001"
user_profile_id = "user-sim"
registered_at = "2025-01-01T00:00:00Z"
jwt_token = "dummy-jwt-token"
[api]
base_url = "http://localhost:3000"
upload_endpoint = "/api/v1/events"
timeout_seconds = 30
[camera]
# Accepts unified camera specs like "device:0", "sim:pattern:meteor", or "sim:file:./video.mp4"
source = "device:0"
device_index = 0
fps = 30.0
width = 640
height = 480
[detection]
algorithm = "brightness_diff"
threshold = 0.3
buffer_frames = 150
[storage]
base_path = "./meteor_events"
max_storage_gb = 10.0
retention_days = 7
pre_event_seconds = 2
post_event_seconds = 2
[communication]
heartbeat_interval_seconds = 300
upload_batch_size = 1
retry_attempts = 3
[logging]
level = "info"
directory = "./meteor_logs"
max_file_size_mb = 10
max_files = 5
upload_enabled = false