Setting up MQTT on RUT241

Hello dear support team!

We would like to configure a Teltonika RUT241 as an MQTT client for a remote monitoring project.

Currently, we are successfully using Modbus Serial Client + Data to Server (HTTP) to collect data from PLCs and send it to our backend.

Now we want to switch (or extend) this setup to MQTT.

Goal (Phase 1 – Testing)

  • Use RUT241 as an MQTT client

  • Send Modbus data to a public test broker (e.g. HiveMQ)

  • Later switch to our own Mosquitto broker on a Windows server

Our questions

  1. What is the minimum configuration required on RUT241 to:

    • Read data from Modbus (already working)

    • Publish this data via MQTT to a broker?

  2. Which services/components should be used?

    • MQTT Publisher?

    • Data to Server with MQTT?

    • Modbus + MQTT integration (if available)?

  3. What is the simplest recommended architecture on the router side?
    (We noticed many MQTT-related options/packages and would like to avoid unnecessary complexity.)

Important note

We do NOT want to mix HTTP and MQTT in this setup.
We only want a clean MQTT-based data flow:
Modbus → MQTT → Broker

A minimal working example/configuration would be highly appreciated.

Thank you!