Details
-
Type: Monitor
-
Status: Answered
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: FIWARE-TECH-HELP
-
Labels:
Description
Created question in FIWARE Q/A platform on 06-06-2019 at 10:06
Please, ANSWER this question AT https://stackoverflow.com/questions/56473264/api-to-read-multiple-sensor-measurements-via-orionkeyrock-or-connect-sth-comet
Question:
API to read multiple sensor measurements via Orion+keyrock or connect Sth-comet+keyrock?
Description:
I am a hardware developer and I have multiple sensors communicating with the framework. I also have deployed the system until cygnus and keyrock components. Currently I have also developed a client that mines time series data straight from connecting on the mongo database. I know this is a crude way of doing things and if I want to play with roles and permissions I have to do it through Orion. The only way you provide for us to read sensor data via Orion is reading the last measurement with this command:
curl -G -X GET \ 'http://localhost:1026/v2/entities/urn:ngsi-ld:Motion:001' \ -d 'type=Motion' \ -H 'fiware-service: openiot' \ -H 'fiware-servicepath: /'
Is there a way to mine time series data between dates (or N measurements back from now) via orion so i can secure time series data mining and assign it to a role with permission?
I know there is STH-Comet to read time series data but from reading the tutorials I understand that cannot connect sth-comet with keyrock via a proxy. Is this possible?
2019-06-06 12:06|CREATED monitor | # answers= 0, accepted answer= False