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

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open In Progress In Progress
          29d 15h 21m 1 Miguel Carrillo 13/Mar/17 3:02 PM
          In Progress In Progress Answered Answered
          2s 1 Miguel Carrillo 13/Mar/17 3:02 PM
          Answered Answered Closed Closed
          2s 1 Miguel Carrillo 13/Mar/17 3:02 PM
          fla Fernando Lopez made changes -
          Fix Version/s 2021 [ 12600 ]
          mcp Miguel Carrillo made changes -
          Link This issue relates to HELP-8258 [ HELP-8258 ]
          mcp Miguel Carrillo made changes -
          Resolution Done [ 10000 ]
          Status Answered [ 10104 ] Closed [ 6 ]
          mcp Miguel Carrillo made changes -
          Status In Progress [ 3 ] Answered [ 10104 ]
          mcp Miguel Carrillo made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          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).
          ralli Carlos Ralli Ucendo made changes -
          Assignee Carlos Ralli Ucendo [ ralli ] Miguel Carrillo [ mcp ]
          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,
          fla Fernando Lopez made changes -
          Assignee Fernando Lopez [ fla ] Carlos Ralli Ucendo [ ralli ]
          fla Fernando Lopez made changes -
          HD-Enabler Orion [ 10875 ] IDAS [ 10884 ]
          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).
          fermin Fermín Galán made changes -
          Assignee Fermín Galán [ fermin ] Fernando Lopez [ fla ]
          fla Fernando Lopez made changes -
          Component/s FIWARE-TECH-HELP [ 10278 ]
          fla Fernando Lopez made changes -
          Assignee Fermín Galán [ fermin ]
          fla Fernando Lopez made changes -
          Field Original Value New Value
          HD-Chapter IoT [ 10839 ]
          HD-Enabler Orion [ 10875 ]
          fw.ext.user FW External User created issue -

            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: