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

        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        backlogmanager Backlog Manager made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        backlogmanager Backlog Manager made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        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 ]
        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: