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?
-d
is not needed. That GET request doesn't use any payload - fgalan