[Backlogmanager] [FIWARE-JIRA] (HELP-16026) [fiware-stackoverflow] IoT Agent plus MQTT - invoking command as a measurement

Fernando Lopez (JIRA) jira-help-desk at jira.fiware.org
Thu Jul 18 13:04:00 CEST 2019


     [ https://jira.fiware.org/browse/HELP-16026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fernando Lopez updated HELP-16026:
----------------------------------
    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. 


  was:

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. 


     HD-Enabler: IDAS

> [fiware-stackoverflow] IoT Agent plus MQTT - invoking command as a measurement
> ------------------------------------------------------------------------------
>
>                 Key: HELP-16026
>                 URL: https://jira.fiware.org/browse/HELP-16026
>             Project: Help-Desk
>          Issue Type: Monitor
>          Components: FIWARE-TECH-HELP
>            Reporter: Backlog Manager
>            Assignee: Jason Fox
>              Labels: fiware, mqtt
>
> 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. 



--
This message was sent by Atlassian JIRA
(v6.4.1#64016)


More information about the Backlogmanager mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy