MQTT integration help

I am a beginner in IoT and Chirpstack. I already have a Chirpstack installation receiving sensor events. I would like to send events from Chirpstack to an MQTT. Is this MQTT integration? I tried to configure the chirpstack.toml file, the integration.mqtt section, and the region_eu868.toml file, but the only result was that my gateway went offline. I’m not sure what to do. Any help is welcome.

Yes and yes.

There isn’t a huge amount of configuration required for the MQTT integration, mostly server/user/pass and optionally certs. Most everything else can be left at the defaults when getting started.

Try posting your configuration and see if anyone has input.

thx I resolved my problem.


    # Event topic template.
    event_topic="{{ 'application/{{application_id}}/device/{{dev_eui}}/event/{{event}}' }}"

    # Command topic.
    # This is the topic on which the MQTT subscribes for receiving (enqueue) commands.
    command_topic="{{ 'application/{{application_id}}/device/{{dev_eui}}/command/{{command}}' }}"

    # MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)

    # Use JSON encoding instead of Protobuf (binary).

    # Connect with the given username (optional)

    # Connect with the given password (optional)