feat: Add Raspberry Pi webcam capture and upload demo with install/uninstall scripts, config, and README.
This commit is contained in:
47
demo/picupper.conf.example
Normal file
47
demo/picupper.conf.example
Normal file
@@ -0,0 +1,47 @@
|
||||
# PicUpper Configuration
|
||||
# Copy this file to picupper.conf and update with your settings
|
||||
|
||||
# ==============================================================================
|
||||
# SERVER SETTINGS
|
||||
# ==============================================================================
|
||||
|
||||
# API endpoint URL
|
||||
API_URL="https://dev.seedheads.de/picUploadApi/upload"
|
||||
|
||||
# Your API key (get this from the PicUpper server admin)
|
||||
API_KEY="your-api-key-here"
|
||||
|
||||
# ==============================================================================
|
||||
# CAMERA SETTINGS
|
||||
# ==============================================================================
|
||||
|
||||
# Unique identifier for this camera (no spaces, use hyphens)
|
||||
CAMERA_ID="rpi-webcam-1"
|
||||
|
||||
# Video device path (run 'ls /dev/video*' to find yours)
|
||||
VIDEO_DEVICE="/dev/video0"
|
||||
|
||||
# Capture resolution (common options: 1920x1080, 1280x720, 640x480)
|
||||
RESOLUTION="1920x1080"
|
||||
|
||||
# Skip first N frames (helps camera adjust exposure, default 5)
|
||||
SKIP_FRAMES=5
|
||||
|
||||
# ==============================================================================
|
||||
# ADVANCED SETTINGS (usually don't need to change)
|
||||
# ==============================================================================
|
||||
|
||||
# Temporary file location
|
||||
TEMP_DIR="/tmp"
|
||||
|
||||
# Log file location
|
||||
LOG_FILE="/var/log/picupper.log"
|
||||
|
||||
# Connection timeout in seconds
|
||||
TIMEOUT=30
|
||||
|
||||
# Retry failed uploads (0 = no retry)
|
||||
MAX_RETRIES=3
|
||||
|
||||
# Delay between retries in seconds
|
||||
RETRY_DELAY=5
|
||||
Reference in New Issue
Block a user