52 lines
1.0 KiB
YAML
52 lines
1.0 KiB
YAML
app:
|
|
name: "weather-alerts"
|
|
version: "1.0.0"
|
|
log_level: "INFO"
|
|
|
|
weather:
|
|
location: "viola,tn"
|
|
hours_ahead: 4 # Matches 4-hour run frequency
|
|
unit_group: "us"
|
|
|
|
alerts:
|
|
rules:
|
|
temperature:
|
|
enabled: true
|
|
below: 32
|
|
above: 95
|
|
precipitation:
|
|
enabled: true
|
|
probability_above: 60
|
|
wind:
|
|
enabled: true
|
|
speed_above: 25
|
|
gust_above: 30
|
|
severe_weather:
|
|
enabled: true
|
|
|
|
notifications:
|
|
ntfy:
|
|
server_url: "https://ntfy.sneakygeek.net"
|
|
topic: "weather-alerts"
|
|
priority: "high"
|
|
tags: ["cloud", "warning"]
|
|
|
|
state:
|
|
file_path: "./data/state.json"
|
|
dedup_window_hours: 24
|
|
|
|
ai:
|
|
enabled: true
|
|
model: "meta/meta-llama-3-8b-instruct"
|
|
api_timeout: 60
|
|
max_tokens: 500
|
|
|
|
# These metrics are used for change detection from previous forecast
|
|
change_detection:
|
|
enabled: true
|
|
thresholds:
|
|
temperature: 5.0 # degrees F
|
|
wind_speed: 10.0 # mph
|
|
wind_gust: 10.0 # mph
|
|
precipitation_prob: 20.0 # percentage points
|