Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-8257

checking command from orion to iot agent

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: 2021
    • Component/s: FIWARE-TECH-HELP
    • Labels:
      None

      Description

      Hello,

      I've used the fiware Orion context broker and iotagent-ul in my project .
      I registered a virual device by sending a json message carrying the device
      attributes , the command attributes , device endpoint address and the used
      protocol (UL2.0).
      Now when i update the command attribute of the device entity in the context
      broker , How can i check that the command is sent to the iotagent
      successfully before it is forwarded to the device virtual device itself.

      • and can i make the ip address of a Raspberrypi the endpoint itself and
        assign a port to a device connected to the raspberrypi . and how could this
        be done .
        -in case i have no physical device could i consider the iot agent's address
        an endpoint to check whether any update on the command attribute in the
        context broker will be forwarded to that endpoint ( iotagent in this case)

      thanks
      Best Regards
      Ahmad

      [Created via e-mail received from: ahmad essam <ahmad.elsayfy@gmail.com>]

        Issue Links

          Activity

          Hide
          fermin Fermín Galán added a comment -

          The question seems to be related with IOTA, not directly with Orion. Assigning back to Scrum Master, so he can re-asign to the proper team (or assinging back to me if I'm wrong).

          Show
          fermin Fermín Galán added a comment - The question seems to be related with IOTA, not directly with Orion. Assigning back to Scrum Master, so he can re-asign to the proper team (or assinging back to me if I'm wrong).
          Hide
          ralli Carlos Ralli Ucendo added a comment -

          This question is to be answered by IDAS development team.
          Cheers,

          Show
          ralli Carlos Ralli Ucendo added a comment - This question is to be answered by IDAS development team. Cheers,
          Hide
          mcp Miguel Carrillo added a comment -

          In case the physical device does not have an address, polling commands could be used. Check the following links for further information:

          https://github.com/telefonicaid/iotagent-node-lib#commands
          https://github.com/telefonicaid/iotagent-ul/blob/master/docs/usermanual.md#sending-commands

          Concerning the status check for commands, whenever a new command has been issued to the IoTAgent, the IoTAgent updates the device entity with a new attribute named "<command-name>_status" that indicate the current status of the command request (i.e.: whether it is pending, has succeeded or has ended up as an error).

          Show
          mcp Miguel Carrillo added a comment - In case the physical device does not have an address, polling commands could be used. Check the following links for further information: https://github.com/telefonicaid/iotagent-node-lib#commands https://github.com/telefonicaid/iotagent-ul/blob/master/docs/usermanual.md#sending-commands Concerning the status check for commands, whenever a new command has been issued to the IoTAgent, the IoTAgent updates the device entity with a new attribute named "<command-name>_status" that indicate the current status of the command request (i.e.: whether it is pending, has succeeded or has ended up as an error).

            People

            • Assignee:
              mcp Miguel Carrillo
              Reporter:
              fw.ext.user FW External User
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: