Giter VIP home page Giter VIP logo

Comments (6)

jason-fox avatar jason-fox commented on July 26, 2024

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.

wmmihaa avatar wmmihaa commented on July 26, 2024

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.

jason-fox avatar jason-fox commented on July 26, 2024

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.

jason-fox avatar jason-fox commented on July 26, 2024

Closing this issue, as further discussion should be raised against another tutorial.

from tutorials.getting-started.

wmmihaa avatar wmmihaa commented on July 26, 2024

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.

jason-fox avatar jason-fox commented on July 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.