mirror of
https://github.com/ckaczor/HomeMonitor.git
synced 2026-01-14 09:59:13 -05:00
Add API for recent power
This commit is contained in:
6
Power/Service/Data/Resources/GetRecentStatus.sql
Normal file
6
Power/Service/Data/Resources/GetRecentStatus.sql
Normal file
@@ -0,0 +1,6 @@
|
||||
SELECT TOP 1
|
||||
Timestamp,
|
||||
Generation,
|
||||
Consumption
|
||||
FROM Status
|
||||
ORDER BY Timestamp DESC
|
||||
Reference in New Issue
Block a user