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

[fiware-stackoverflow] IoT Agent plus MQTT - invoking command as a measurement

    Details

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

      Description

      Created question in FIWARE Q/A platform on 16-07-2019 at 19:07
      Please, ANSWER this question AT https://stackoverflow.com/questions/57062728/iot-agent-plus-mqtt-invoking-command-as-a-measurement

      Question:
      IoT Agent plus MQTT - invoking command as a measurement

      Description:
      I'm using IoTAgent over MQTT configuration. After going step by step with the tutorial presented on FIWARE's website is there a way to invoke command using measurment input of the IoT Agent?

      Let's say i have 2 arduinos: one is an actuator and the other one is a sensor. The actuator has LED attached, sensor has a button. I want to send a message from sensor-arduino with command ON (to MQTT Broker or directly as an Ultralight message via HTTP - as far as I tested IoTA for Ultralight can run simultaneously both modes which is great) what will invoke sending the command defined for given device.

      Let's say im using this config:

      I can invoke command like this (which is very inconvenient):

      Or after registering the command, I can use Orion Context Broker:

      Those approaches give me a response in Mosquitto subscriber.

      How can I create a message sent to IoTAgent (via MQTT or HTTP) that will invoke command sent to MQTT Broker? The command is furhter managed in actuator-arduino as long as is received in the MQTT Broker.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        1d 18h 1 Backlog Manager 18/Jul/19 3:06 PM
        In Progress In Progress Answered Answered
        2h 59m 1 Backlog Manager 18/Jul/19 6:06 PM
        Answered Answered Closed Closed
        1d 1 Backlog Manager 19/Jul/19 6:06 PM
        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2019-07-19 18:06|UPDATED status: transition Finish| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2019-07-19 18:06|UPDATED status: transition Finish| # answers= 1, accepted answer= True
        backlogmanager Backlog Manager made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2019-07-18 18:06|UPDATED status: transition Answered| # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2019-07-18 18:06|UPDATED status: transition Answered| # answers= 1, accepted answer= False
        backlogmanager Backlog Manager made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2019-07-18 15:06|UPDATED status: transition Answer| # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2019-07-18 15:06|UPDATED status: transition Answer| # answers= 1, accepted answer= False
        backlogmanager Backlog Manager made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        fla Fernando Lopez made changes -
        HD-Enabler IDAS [ 10884 ]
        Description
        Created question in FIWARE Q/A platform on 16-07-2019 at 19:07
        {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/57062728/iot-agent-plus-mqtt-invoking-command-as-a-measurement


        +Question:+
        IoT Agent plus MQTT - invoking command as a measurement

        +Description:+
        I'm using IoTAgent over MQTT configuration. After going step by step with the tutorial presented on FIWARE's website is there a way to invoke command using measurment input of the IoT Agent?

        Let's say i have 2 arduinos: one is an actuator and the other one is a sensor. The actuator has LED attached, sensor has a button. I want to send a message from sensor-arduino with command ON (to MQTT Broker or directly as an Ultralight message via HTTP - as far as I tested IoTA for Ultralight can run simultaneously both modes which is great) what will invoke sending the command defined for given device.

        Let's say im using this config:



        I can invoke command like this (which is very inconvenient):



        Or after registering the command, I can use Orion Context Broker:



        Those approaches give me a response in Mosquitto subscriber.

        How can I create a message sent to IoTAgent (via MQTT or HTTP) that will invoke command sent to MQTT Broker? The command is furhter managed in actuator-arduino as long as is received in the MQTT Broker.
        Created question in FIWARE Q/A platform on 16-07-2019 at 19:07
        {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/57062728/iot-agent-plus-mqtt-invoking-command-as-a-measurement


        +Question:+
        IoT Agent plus MQTT - invoking command as a measurement

        +Description:+
        I'm using IoTAgent over MQTT configuration. After going step by step with the tutorial presented on FIWARE's website is there a way to invoke command using measurment input of the IoT Agent?

        Let's say i have 2 arduinos: one is an actuator and the other one is a sensor. The actuator has LED attached, sensor has a button. I want to send a message from sensor-arduino with command ON (to MQTT Broker or directly as an Ultralight message via HTTP - as far as I tested IoTA for Ultralight can run simultaneously both modes which is great) what will invoke sending the command defined for given device.

        Let's say im using this config:



        I can invoke command like this (which is very inconvenient):



        Or after registering the command, I can use Orion Context Broker:



        Those approaches give me a response in Mosquitto subscriber.

        How can I create a message sent to IoTAgent (via MQTT or HTTP) that will invoke command sent to MQTT Broker? The command is furhter managed in actuator-arduino as long as is received in the MQTT Broker.
        fla Fernando Lopez made changes -
        Assignee Jason Fox [ jason.fox ]
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2019-07-16 21:06|CREATED monitor | # answers= 0, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2019-07-16 21:06|CREATED monitor | # answers= 0, accepted answer= False
        backlogmanager Backlog Manager created issue -

          People

          • Assignee:
            jason.fox Jason Fox
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: