Weather Station / ECOWITT / DNT
0

Configure Feed

Select the types of activity you want to include in your feed.

at master 1.1 kB View raw
1// API Endpoints 2export const API_ENDPOINTS = { 3 // Realtime data 4 RT_LAST: '/api/rt/last', 5 6 // Configuration 7 CONFIG_CHANNELS: '/api/config/channels', 8 9 // Device info 10 DEVICE_INFO: '/api/device/info', 11 12 // Temperature min/max 13 TEMP_MINMAX: '/api/temp-minmax', 14 15 // Data endpoints 16 DATA_MONTHS: '/api/data/months', 17 DATA_EXTENT: '/api/data/extent', 18 DATA_ALLSENSORS: '/api/data/allsensors', 19 DATA_MAIN: '/api/data/main', 20 21 // Statistics endpoints 22 STATISTICS: '/api/statistics', 23 STATISTICS_DAILY: '/api/statistics/daily', 24 // Dashboard/server-side range statistics 25 STATISTICS_RANGE: '/api/statistics/range', 26 STATISTICS_CHANNELS: '/api/statistics/channels', 27 28 // Forecast endpoints 29 FORECAST_STATIONS: '/api/forecast?action=stations', 30 FORECAST_DATA: '/api/forecast?action=forecast', 31 FORECAST_METEOBLUE: '/api/forecast?action=meteoblue', 32 FORECAST_OPENMETEO: '/api/forecast?action=openmeteo', 33 FORECAST_OPENWEATHER: '/api/forecast?action=openweather', 34 FORECAST_ANALYSIS: '/api/forecast/analysis', 35 // Config 36 CONFIG_FORECAST_STATION: '/api/config/forecast-station', 37};