Files
zwift-activity-loader/config.example.yaml
Thomas Klaehn c54fa58c35 Initial commit
Signed-off-by: Thomas Klaehn <thomas.klaehn@perinet.io>
2026-02-10 11:47:49 +01:00

23 lines
842 B
YAML

# Zwift Activity Monitor Configuration
# Copy this file to config.yaml and fill in your credentials
# Authentication (prefer environment variables for security)
username: "" # Or set ZWIFT_USERNAME
password: "" # Or set ZWIFT_PASSWORD
# Storage paths
output_dir: /data/activities # Directory for FIT files
state_file: /data/zwift-state.json # State persistence file
token_cache: /data/.zwift-token.json # OAuth token cache
# Monitoring configuration
poll_interval: 5m # How often to check for new activities (e.g., 5m, 10m, 1h)
# API configuration
rate_limit: 5 # Maximum requests per second to Zwift API
max_retries: 3 # Number of retries for failed API calls
# Logging configuration
log_level: info # Logging level: debug, info, warn, error
log_file: "" # Optional: path to log file (empty = stdout only)