Añadir climate-drainage-ngs/grafana/queries/historical-state.sql
This commit is contained in:
parent
b8165645dc
commit
bad37bf6a9
15
climate-drainage-ngs/grafana/queries/historical-state.sql
Normal file
15
climate-drainage-ngs/grafana/queries/historical-state.sql
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
SELECT
|
||||||
|
ts,
|
||||||
|
raw_drain_state,
|
||||||
|
sample_valid,
|
||||||
|
drain_state,
|
||||||
|
control_state,
|
||||||
|
semantic_state,
|
||||||
|
battery_v
|
||||||
|
FROM mv_hot.drain_readings
|
||||||
|
WHERE tenant = 'tma4p1aego_lab'
|
||||||
|
AND site = 'bench_gh01'
|
||||||
|
AND product = 'climate'
|
||||||
|
AND asset = 'drain-01'
|
||||||
|
ORDER BY ts DESC
|
||||||
|
LIMIT 20;
|
||||||
Loading…
x
Reference in New Issue
Block a user