Our goal is to build up a context driven IoT platform for energy management.
For this I'm trying to understand the NGSIv2 API for a couple of days now. But this is very difficult. Every example I can find (including the step by step guide) lacks some important points.
The main problem (for now) is that I have to register serveral devices, which are able to execute commands. Until now I haven't found any description/example how to do this.
What I've understand so far is:
- the devices will act as
context-provider
- for this I have to implement kinds of
iot-agents (transform data from/to context-broker and device)
- these
iot-agents have to provide the REST endpoints /v2/op/update and /v2/op/query
- on startup they have to use the
/v2/registration endpoint of the context-broker to self register
- ....
... and there isn't any description of the registration payload. I don't know how to notify the context-broker about: "Hey CB. I'm device .... I'm able to execute these commands: ...."
Can you please update your documentation/examples.
Our goal is to build up a context driven IoT platform for energy management.
For this I'm trying to understand the NGSIv2 API for a couple of days now. But this is very difficult. Every example I can find (including the step by step guide) lacks some important points.
The main problem (for now) is that I have to register serveral devices, which are able to execute
commands. Until now I haven't found any description/example how to do this.What I've understand so far is:
context-provideriot-agents(transform data from/tocontext-brokerand device)iot-agentshave to provide the REST endpoints/v2/op/updateand/v2/op/query/v2/registrationendpoint of thecontext-brokerto self register... and there isn't any description of the registration payload. I don't know how to notify the
context-brokerabout: "Hey CB. I'm device.... I'm able to execute these commands: ...."Can you please update your documentation/examples.