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
Transition | Time In Source Status | Execution Times | Last Executer | Last Execution Date | |||||
---|---|---|---|---|---|---|---|---|---|
|
4d 18h | 1 | Backlog Manager | 02/Mar/20 3:06 PM | |||||
|
2h 59m | 1 | Backlog Manager | 02/Mar/20 6:06 PM | |||||
|
3d | 1 | Backlog Manager | 05/Mar/20 6:06 PM |