[ https://jira.fiware.org/browse/HELP-14319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fernando Lopez updated HELP-14319:
----------------------------------
Description:
Created question in FIWARE Q/A platform on 20-06-2018 at 11:06
{color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/50944501/sending-mqtt-messages-to-orion-context-broker
+Question:+
Sending MQTT messages to Orion Context broker
+Description:+
I have a relatively simple switch that sends data whenever the button is pressed (either 1 or 0). The message protocol it uses is MQTT. It is connected to Mosquitto via Wi-Fi and successfully sends data to it (i am able to see it using mosquitto_sub -v -t "#". However, I would like to be able to send this data to Orion Context Broker and then receive it using REST commands and store it using Fiware-Cygnus afterwards.
the topic that sensor publishes messages to is tt/sergo/demo/sw
the name of the sensor presented in mosquitto_sub when sensor is first connected: DMS-A01
the IP - address of sensor: 192.168.0.108
I have installed Iot-Agent UL, which is working, but I don't know how to make it listen to the specific sensor that sends data to Mosquitto.
I read the manuals but either missed something or did not find the solution to my problem.
I tried using the manual below, but could not apply it to my problem.
Connecting "thing" to Fiware
Thank you in advance, stack overflow community.
was:
Created question in FIWARE Q/A platform on 20-06-2018 at 11:06
{color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/50944501/sending-mqtt-messages-to-orion-context-broker
+Question:+
Sending MQTT messages to Orion Context broker
+Description:+
I have a relatively simple switch that sends data whenever the button is pressed (either 1 or 0). The message protocol it uses is MQTT. It is connected to Mosquitto via Wi-Fi and successfully sends data to it (i am able to see it using mosquitto_sub -v -t "#". However, I would like to be able to send this data to Orion Context Broker and then receive it using REST commands and store it using Fiware-Cygnus afterwards.
the topic that sensor publishes messages to is tt/sergo/demo/sw
the name of the sensor presented in mosquitto_sub when sensor is first connected: DMS-A01
the IP - address of sensor: 192.168.0.108
I have installed Iot-Agent UL, which is working, but I don't know how to make it listen to the specific sensor that sends data to Mosquitto.
I read the manuals but either missed something or did not find the solution to my problem.
I tried using the manual below, but could not apply it to my problem.
Connecting "thing" to Fiware
Thank you in advance, stack overflow community.
HD-Enabler: Orion
> FIWARE.Question.Tech.Sending MQTT messages to Orion Context broker.
> -------------------------------------------------------------------
>
> Key: HELP-14319
> URL: https://jira.fiware.org/browse/HELP-14319
> Project: Help-Desk
> Issue Type: Monitor
> Components: FIWARE-TECH-HELP
> Reporter: Backlog Manager
> Labels: fiware, fiware-orion, iot, mqtt
>
> Created question in FIWARE Q/A platform on 20-06-2018 at 11:06
> {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/50944501/sending-mqtt-messages-to-orion-context-broker
> +Question:+
> Sending MQTT messages to Orion Context broker
> +Description:+
> I have a relatively simple switch that sends data whenever the button is pressed (either 1 or 0). The message protocol it uses is MQTT. It is connected to Mosquitto via Wi-Fi and successfully sends data to it (i am able to see it using mosquitto_sub -v -t "#". However, I would like to be able to send this data to Orion Context Broker and then receive it using REST commands and store it using Fiware-Cygnus afterwards.
> the topic that sensor publishes messages to is tt/sergo/demo/sw
> the name of the sensor presented in mosquitto_sub when sensor is first connected: DMS-A01
> the IP - address of sensor: 192.168.0.108
> I have installed Iot-Agent UL, which is working, but I don't know how to make it listen to the specific sensor that sends data to Mosquitto.
> I read the manuals but either missed something or did not find the solution to my problem.
> I tried using the manual below, but could not apply it to my problem.
> Connecting "thing" to Fiware
> Thank you in advance, stack overflow community.
--
This message was sent by Atlassian JIRA
(v6.4.1#64016)
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy