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