mirror of
https://github.com/ckaczor/HomeMonitor.git
synced 2026-01-14 01:25:38 -05:00
Add initial history API
This commit is contained in:
18
Weather/Service/Data/Resources/GetReadingHistory.sql
Normal file
18
Weather/Service/Data/Resources/GetReadingHistory.sql
Normal file
@@ -0,0 +1,18 @@
|
||||
SELECT Timestamp,
|
||||
WindDirection,
|
||||
WindSpeed,
|
||||
Humidity,
|
||||
HumidityTemperature,
|
||||
Rain,
|
||||
Pressure,
|
||||
PressureTemperature,
|
||||
BatteryLevel,
|
||||
LightLevel,
|
||||
Latitude,
|
||||
Longitude,
|
||||
Altitude,
|
||||
SatelliteCount,
|
||||
GpsTimestamp
|
||||
FROM Reading
|
||||
WHERE Timestamp BETWEEN @Start AND @End
|
||||
ORDER BY Timestamp ASC
|
||||
Reference in New Issue
Block a user