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

[fiware-stackoverflow] IotAgent UltraLight over MQTT is not processing values from MQTT broker

    Details

      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 '

      {"c":1}

      '

      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
        Open Open In Progress In Progress
        4d 18h 1 Backlog Manager 02/Mar/20 3:06 PM
        In Progress In Progress Answered Answered
        2h 59m 1 Backlog Manager 02/Mar/20 6:06 PM
        Answered Answered Closed Closed
        3d 1 Backlog Manager 05/Mar/20 6:06 PM

          People

          • Assignee:
            jason.fox Jason Fox
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: