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

        Hide
        backlogmanager Backlog Manager added a comment -

        2020-02-26 21:06|CREATED monitor | # answers= 0, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2020-02-26 21:06|CREATED monitor | # answers= 0, accepted answer= False
        Hide
        backlogmanager Backlog Manager added a comment -

        2020-03-02 15:06|UPDATED status: transition Answer| # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2020-03-02 15:06|UPDATED status: transition Answer| # answers= 1, accepted answer= False
        Hide
        backlogmanager Backlog Manager added a comment -

        2020-03-02 18:06|UPDATED status: transition Answered| # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2020-03-02 18:06|UPDATED status: transition Answered| # answers= 1, accepted answer= False
        Hide
        backlogmanager Backlog Manager added a comment -

        2020-03-05 18:06|UPDATED status: transition Finish| # answers= 2, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2020-03-05 18:06|UPDATED status: transition Finish| # answers= 2, accepted answer= True

          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: