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

FIWARE.Question.Tech.MQTT topic transform in Mosquitto.

    Details

      Description

      Created question in FIWARE Q/A platform on 10-08-2022 at 15:08
      Please, ANSWER this question AT https://stackoverflow.com/questions/73309310/mqtt-topic-transform-in-mosquitto

      Question:
      MQTT topic transform in Mosquitto

      Description:
      I'm working on integrating a Shelly sensor(https://shelly.cloud/) into an existed IoT system FIWARE(https://www.fiware.org/). The sensor can publish the monitoring data via MQTT with JSON payload.
      Shelly sensor published the data at topic

      {SHELLY_ID}

      /events/rpc, but the FIWARE can only subscribe on topic /json/api-key/device-id/attrs. The topic of publication and subscription are different now. In our application, we use Mosquitto as an MQTT broker, is it possible to do the topic transform in Mosquitto broker?
      I think Mosquitto has full knowledge of topics and can do the topic mapping and transformation easily. Does anyone have an idea or information for this? I think it's much easier than to re-build and customize the FIWARE system.

        Activity

        Hide
        backlogmanager Backlog Manager added a comment -

        2022-08-11 05:31|CREATED monitor | # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2022-08-11 05:31|CREATED monitor | # answers= 1, accepted answer= True
        Hide
        backlogmanager Backlog Manager added a comment -

        2022-08-12 05:31|UPDATED status: transition Answer| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2022-08-12 05:31|UPDATED status: transition Answer| # answers= 1, accepted answer= True
        Hide
        backlogmanager Backlog Manager added a comment -

        2022-08-13 05:31|UPDATED status: transition Finish| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2022-08-13 05:31|UPDATED status: transition Finish| # answers= 1, accepted answer= True

          People

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

            Dates

            • Created:
              Updated:
              Resolved: