Details
-
Type:
Monitor
-
Status: Closed
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: FIWARE-TECH-HELP
Description
Created question in FIWARE Q/A platform on 19-10-2022 at 20:10
Please, ANSWER this question AT https://stackoverflow.com/questions/74131256/send-a-json-as-payload-via-mqtt-to-fiware
Question:
Send a JSON as payload via MQTT to Fiware
Description:
I am working on this Fiware flow:
I can successfully send MQTT messages to the iotagent-ul using the mqtt paho library. E.g. a single type message through the publish library:
publish.single("/ul/5jggokgpepnvsb2uv4s40d59ov/agv001/attrs", "AGV_Th|25|AVG_X|0.35", hostname="172.31.85.246", port=31624)
However, I would need to send JSON payloads, is it possible to send this message format through iotagent-ul or would it be necessary to use another iot agent like iotagent-json as an interpreter for these messages?
Activity
Field | Original Value | New Value |
---|---|---|
Component/s | FIWARE-TECH-HELP [ 10278 ] |
HD-Enabler | Unknown [ 10910 ] | |
HD-Chapter | Unknown [ 10845 ] | |
HD-Node | Unknown [ 10852 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Answered [ 10104 ] |
Resolution | Done [ 10000 ] | |
Status | Answered [ 10104 ] | Closed [ 6 ] |
Summary | [fiware-stackoverflow] Send a JSON as payload via MQTT to Fiware | FIWARE.Question.Tech.Send a JSON as payload via MQTT to Fiware. |
HD-Enabler | Unknown [ 10910 ] | |
HD-Chapter | Unknown [ 10845 ] | |
HD-Node | Unknown [ 10852 ] |
Transition | Time In Source Status | Execution Times | Last Executer | Last Execution Date | |||||
---|---|---|---|---|---|---|---|---|---|
|
23h 59m | 1 | Backlog Manager | 21/Oct/22 7:31 AM | |||||
|
1d | 1 | Backlog Manager | 22/Oct/22 7:32 AM | |||||
|
1d 23h 59m | 1 | Backlog Manager | 24/Oct/22 7:32 AM |
2022-10-20 05:32|CREATED monitor | # answers= 0, accepted answer= False