Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-20149

FIWARE.Question.Tech.Send a JSON as payload via MQTT to Fiware.

    Details

    • Type: Monitor
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: FIWARE-TECH-HELP
    • Labels:

      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

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        23h 59m 1 Backlog Manager 21/Oct/22 7:31 AM
        In Progress In Progress Answered Answered
        1d 1 Backlog Manager 22/Oct/22 7:32 AM
        Answered Answered Closed Closed
        1d 23h 59m 1 Backlog Manager 24/Oct/22 7:32 AM

          People

          • Assignee:
            Unassigned
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: