Comments (6)
I assume that this issue should have been raised under the IoT Agent tutorial. The Getting Started tutorial only includes the context broker.
Could you provide further details by raising a separate issue over there - it is unclear which tutorial and which step you are referring to and which token are you talking about.
from tutorials.getting-started.
I (perhaps wrongly) assumed that the IoT Agent needed to be registered in the context broker prior to connecting to it...
from tutorials.getting-started.
The IoT Agent registers itself with the context broker on startup using the IOTA_CB_HOST
environment variable - An example can be found it the docker-compose
Manual registration of commands is in the context broker is no longer necessary. Later versions of the IoT Agents are able automatically register devices into the context broker - see FIWARE/tutorials.IoT-Agent#20 - the tutorial still keeps the redundant step at the moment.
from tutorials.getting-started.
Closing this issue, as further discussion should be raised against another tutorial.
from tutorials.getting-started.
Sorry...for not understanding just yet...
I understand that there would be some environment variable pointing to the uri of the context broker, but surly there must be some provisioning process allowing the agent to connect?
I do appreciate your quick answers, and I apologize if they are stupid. I come from a background of AWS and Azure and assumes an IoT agent is the equivalent of a Thing/Device.
from tutorials.getting-started.
IoT Agents are not devices, they are a middleware which connects to devices. Basically you're confusing the two ports of the IoT Agent.
- The North Port of the IoT Agent speaks NGSI and can connect to the context broker directly
- The South Port of the IoT Agent speaks whatever-your-device-protocol/payload is and indeed does need to be provisioned.
The South Port can be kind of vague as well, as the IoT Agent-to-device communication does not necessarily have to be HTTP. If it is HTTP, the flow of HTTP requests is kind of obvious:
- Context Broker => IoT Agent => Device
But it could be that the IoT Agent is just listening to topics on an MQTT broker or accepting COAP requests from LightweightM2M or listening to a LoRa server or whatever.
Depending on your data flow you could also look at the Node Red connector.
from tutorials.getting-started.
Related Issues (16)
- Create a table of contents for the README
- The FIWARE Banner file is not found.
- The location of entities should be encoded in GeoJSON
- Error when trying to use the `services` command on the NGSI-LD branch HOT 5
- Use own @context file HOT 1
- reference next tutorials, so that people can understand how to continue
- Services script removes all containers and volumes HOT 1
- Problem in file data-models/ngsi-context.jsonld HOT 2
- `services` script does not validate HOT 1
- In any tutorial add a section on how to represent the same example using JSON-LD (NGSI-LD) HOT 3
- Errors in README.md
- error in README.md request header
- error in barn creation
- Feedback HOT 1
- Use console style to improve readability of command line examples / output
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tutorials.getting-started.