Files
weather-or-not/config.yaml

45 lines
1.4 KiB
YAML

# Weather or Not - Configuration (Next.js app stores config in localStorage)
# Default location: Livonia, Michigan, USA
# These defaults are also set in src/lib/storage.ts
location:
latitude: 42.3665
longitude: -83.3957
label: "Livonia, MI"
# Activity thresholds
activities:
motorcycle_ride:
enabled: true
min_temp_c: 10
max_temp_c: 35
max_precipitation_mm: 0 # No rain allowed
max_wind_speed_kmh: 30
max_humidity_pct: 90
no_ice: true # No freezing conditions
no_wet_roads: true # No rain or snow in past 2 hours
notes: "Requires dry roads, no precipitation, comfortable temperature"
mow_lawn:
enabled: true
# Cooldown: minimum days between mowing suggestions
cooldown_days: 3
max_precipitation_today_mm: 0 # No rain expected today
max_precipitation_past_24h_mm: 5 # Ground should be mostly dry
max_wind_speed_kmh: 25
min_temp_c: 15
notes: "Checks that you haven't mowed too recently and ground is dry"
# Notification settings
notifications:
mattermost:
enabled: true
webhook_url: "" # Your Mattermost incoming webhook URL
channel: "#general" # Or your preferred channel
# For Mattermost home channel delivery via Hermes, use the hermes notify endpoint
hermes_notify: true # Set to true to send via Hermes Mattermost integration
# Output format
output:
verbose: true # Show detailed reasoning
colorize: true # Use colors in terminal output (requires colorama)