# 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)