Details
-
Type:
Monitor
-
Status: Closed
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
Description
Created question in FIWARE Q/A platform on 26-02-2020 at 18:02
Please, ANSWER this question AT https://stackoverflow.com/questions/60419637/iotagent-ultralight-over-mqtt-is-not-processing-values-from-mqtt-broker
Question:
IotAgent UltraLight over MQTT is not processing values from MQTT broker
Description:
I am following the tutorial under:
https://github.com/FIWARE/tutorials.IoT-over-MQTT
Steps 1 to 3 are followed exactly as in the tutorial (working fine), in Step 4 I am using mosquitto_pub to publish the message to the MQTT broker.
The MQTT message does not get processed by the IotAgent, however. I can see this when I try to retrieve the data from the Context Broker as in Step 5.
Using the debugger with:
docker exec -it [IOTAGENT CONTAINER] pm2 monit
also shows nothing happening when the MQTT message is published. I have tried the messaging formats below:
mosquitto_pub -t "/4jggokgpepnvsb2uv4s40d59ov/motion001/attrs" -m "c|1"
mosquitto_pub -t /4jggokgpepnvsb2uv4s40d59ov/motion001/attrs -m '
'
The Mosquitto broker is running and can be subscribed to.
Am I missing a parameter? What could be the reason that the IotAgent is not working as expected?
I had tested the setup successfully some months ago, but unfortunately the testing parameters are not available anymore.
Activity
Field | Original Value | New Value |
---|---|---|
Component/s | FIWARE-TECH-HELP [ 10278 ] |
Assignee | Jason Fox [ jason.fox ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Answered [ 10104 ] |
Resolution | Done [ 10000 ] | |
Status | Answered [ 10104 ] | Closed [ 6 ] |
Fix Version/s | 2021 [ 12600 ] |