Good morning,
I tried this curl call from both windows 10 and Node Red and it works (I limited the range to reduce the number of occurrences extracted).
curl --request POST “https://XXXXXXX/api/v2/query?org=org01” --ssl-no-revoke --header “Authorization: XXXXXXXXXXXXX” --header “Accept: application/csv” --header “Content-type:application/vnd.flux” --data “from(bucket: "org01casa01") |> range(start: -10m, stop: 2m)”
Attached is the result of the call.
,result,table,_start,_stop,_time,_value,_field,_measurement
,_result,0,2024-04-17T07:32:45.400047091Z,2024-04-17T07:44:45.400047091Z,2024-04-17T07:35:01Z,4.5,Temperature,MeteoEsterno
,_result,0,2024-04-17T07:32:45.400047091Z,2024-04-17T07:44:45.400047091Z,2024-04-17T07:40:01Z,4.5,Temperature,MeteoEsterno
,result,table,_start,_stop,_time,_value,_field,_measurement,deviceID,deviceName
,_result,1,2024-04-17T07:32:45.400047091Z,2024-04-17T07:44:45.400047091Z,2024-04-17T07:41:04Z,true,valuenew,OpeningSensorvalue,32,PFFinestraCameraJuve
,_result,1,2024-04-17T07:32:45.400047091Z,2024-04-17T07:44:45.400047091Z,2024-04-17T07:42:17Z,false,valuenew,OpeningSensorvalue,32,PFFinestraCameraJuve
,_result,2,2024-04-17T07:32:45.400047091Z,2024-04-17T07:44:45.400047091Z,2024-04-17T07:41:04Z,false,valueold,OpeningSensorvalue,32,PFFinestraCameraJuve
,_result,2,2024-04-17T07:32:45.400047091Z,2024-04-17T07:44:45.400047091Z,2024-04-17T07:42:17Z,true,valueold,OpeningSensorvalue,32,PFFinestraCameraJuve
,result,table,_start,_stop,_time,_value,_field,_measurement,deviceID,deviceName
,_result,3,2024-04-17T07:32:45.400047091Z,2024-04-17T07:44:45.400047091Z,2024-04-17T07:33:20Z,45.2,valuenew,PowerMetervalue,83,Potenza
,_result,3,2024-04-17T07:32:45.400047091Z,2024-04-17T07:44:45.400047091Z,2024-04-17T07:36:55Z,45.1,valuenew,PowerMetervalue,83,Potenza
,_result,3,2024-04-17T07:32:45.400047091Z,2024-04-17T07:44:45.400047091Z,2024-04-17T07:41:55Z,44.5,valuenew,PowerMetervalue,83,Potenza
,_result,4,2024-04-17T07:32:45.400047091Z,2024-04-17T07:44:45.400047091Z,2024-04-17T07:33:20Z,44.8,valueold,PowerMetervalue,83,Potenza
,_result,4,2024-04-17T07:32:45.400047091Z,2024-04-17T07:44:45.400047091Z,2024-04-17T07:36:55Z,45.2,valueold,PowerMetervalue,83,Potenza
,_result,4,2024-04-17T07:32:45.400047091Z,2024-04-17T07:44:45.400047091Z,2024-04-17T07:41:55Z,45.1,valueold,PowerMetervalue,83,Potenza
,result,table,_start,_stop,_time,_value,_field,_measurement,deviceID,deviceName
,_result,5,2024-04-17T07:32:45.400047091Z,2024-04-17T07:44:45.400047091Z,2024-04-17T07:35:04Z,uibutton1OnReleased,event1.data.actionName,QuickApp,132,InterfacciaInfluxdb
,_result,5,2024-04-17T07:32:45.400047091Z,2024-04-17T07:44:45.400047091Z,2024-04-17T07:36:42Z,uibutton3OnReleased,event1.data.actionName,QuickApp,132,InterfacciaInfluxdb
,_result,5,2024-04-17T07:32:45.400047091Z,2024-04-17T07:44:45.400047091Z,2024-04-17T07:39:17Z,uibutton3OnReleased,event1.data.actionName,QuickApp,132,InterfacciaInfluxdb
,_result,5,2024-04-17T07:32:45.400047091Z,2024-04-17T07:44:45.400047091Z,2024-04-17T07:40:03Z,uibutton1OnReleased,event1.data.actionName,QuickApp,132,InterfacciaInfluxdb
,_result,5,2024-04-17T07:32:45.400047091Z,2024-04-17T07:44:45.400047091Z,2024-04-17T07:41:54Z,uibutton3OnReleased,event1.data.actionName,QuickApp,132,InterfacciaInfluxdb
,_result,5,2024-04-17T07:32:45.400047091Z,2024-04-17T07:44:45.400047091Z,2024-04-17T07:41:59Z,uibutton3OnReleased,event1.data.actionName,QuickApp,132,InterfacciaInfluxdb
,_result,6,2024-04-17T07:32:45.400047091Z,2024-04-17T07:44:45.400047091Z,2024-04-17T07:35:41Z,SceneModifiedEvent,event1.type,Scene,100,QueryInfluxdbDATI
,_result,6,2024-04-17T07:32:45.400047091Z,2024-04-17T07:44:45.400047091Z,2024-04-17T07:36:41Z,SceneModifiedEvent,event1.type,Scene,100,QueryInfluxdbDATI
,_result,6,2024-04-17T07:32:45.400047091Z,2024-04-17T07:44:45.400047091Z,2024-04-17T07:36:42Z,SceneStartedEvent,event1.type,Scene,100,QueryInfluxdbDATI
,_result,6,2024-04-17T07:32:45.400047091Z,2024-04-17T07:44:45.400047091Z,2024-04-17T07:39:17Z,SceneModifiedEvent,event1.type,Scene,100,QueryInfluxdbDATI
,_result,6,2024-04-17T07:32:45.400047091Z,2024-04-17T07:44:45.400047091Z,2024-04-17T07:41:54Z,SceneModifiedEvent,event1.type,Scene,100,QueryInfluxdbDATI
,_result,7,2024-04-17T07:32:45.400047091Z,2024-04-17T07:44:45.400047091Z,2024-04-17T07:35:00Z,SceneStartedEvent,event1.type,Scene,79,EstrazioneHC3UTC
,_result,7,2024-04-17T07:32:45.400047091Z,2024-04-17T07:44:45.400047091Z,2024-04-17T07:40:00Z,SceneStartedEvent,event1.type,Scene,79,EstrazioneHC3UTC
,result,table,_start,_stop,_time,_value,_field,_measurement,deviceID,deviceName
,_result,8,2024-04-17T07:32:45.400047091Z,2024-04-17T07:44:45.400047091Z,2024-04-17T07:44:22Z,24.8,valuenew,TemperatureSensorvalue,55,MovSalotto
,_result,9,2024-04-17T07:32:45.400047091Z,2024-04-17T07:44:45.400047091Z,2024-04-17T07:44:22Z,25,valueold,TemperatureSensorvalue,55,MovSalotto
C:\Users\User>