From 2c486a438129004aed4b9772ddffd3f01982b604 Mon Sep 17 00:00:00 2001 From: LautaroGalantini Date: Wed, 3 Aug 2022 10:34:43 -0300 Subject: [PATCH] change query range --- test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.cpp b/test.cpp index e1fd22c..3807d79 100644 --- a/test.cpp +++ b/test.cpp @@ -2,7 +2,7 @@ void loop() { // Construct a Flux query // Query will find the worst RSSI for last hour for each connected WiFi network with this device String query = "from(bucket: \"Prueba_Enviando_Datos\") \ - |> range(start: -1h) \ + |> range(start: -2h) \ |> filter(fn: (r) => r._measurement == \"button_status\" and r._field == \"stauts\") \ |> last()";