Weather Station / ECOWITT / DNT
1# Demo environment variables for realtime refresh
2# Copy to .env and adjust as needed
3## Server-side background poller interval (ms). Min 10000. Default 300000 (5 min).
4RT_REFRESH_MS=300000
5## Client-side refresh for the Realtime tab (ms). Default 300000 (5 min).
6NEXT_PUBLIC_RT_REFRESH_MS=300000
7## Only if you also want the API route (/api/rt) to write to DNT (normally OFF to avoid duplicates): set to 1 to enable
8# RT_ARCHIVE_FROM_API=1
9
10## OpenWeatherMap API Key for 5-day forecast (FREE - get key at https://openweathermap.org/api)
11## Uses the free "5 Day / 3 Hour Forecast" API
12OPENWEATHER_API_KEY=your_api_key_here
13
14## Meteoblue API Key for 7-14 day forecast (FREE - get key at https://www.meteoblue.com/en/weather-api)
15## Register for free, confirm non-commercial use, and get instant access
16METEOBLUE_API_KEY=your_api_key_here
17
18## Forecast Station ID for daily automatic forecast storage (default: 11035 - Wien Hohe Warte)
19## This station is used for all forecast sources (Geosphere, Meteoblue, Open-Meteo, OpenWeatherMap)
20## Find station IDs at: https://dataset.api.hub.geosphere.at/v1/station/current/tawes-v1-10min/metadata
21## Popular stations: 11035 (Wien), 11120 (Innsbruck), 11320 (Graz), 11150 (Salzburg), 11240 (Klagenfurt)
22FORECAST_STATION_ID=11035