Files
weather-or-not/config.yaml

44 lines
1.4 KiB
YAML

# Weather or Not - Configuration
# Location for weather data (Open-Meteo)
location:
latitude: 40.7128 # Change to your latitude
longitude: -74.0060 # Change to your longitude
label: "Home" # Display name
# 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)