Configuring DrvMqttPublisher

Forum Home Forums Understanding the Software Configuring DrvMqttPublisher

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #16351
    Hennie_Kotze
    Participant

    Good Day,

    I want to use the MQTT publisher driver to publish data to a broker.

    I have added a communication line using the driver, but I am struggling with the rest of the configuration. Do you have a short description of the configuration steps perhaps?

    Regards,

    Hennie Kotze

    #16353
    Mikhail
    Moderator

    Hello,
    There are 2 ways to publish data via MQTT:
    1. Using the DrvMqttPublisher driver. Use this way to publish data of the selected channels.
    You should select the MQTT type of communication channel. Add a device, and set up the device’s properties.

    2. Using the DrvDsMqtt driver to create an MQTT data source. It’s more handy when you need to publish all data of the specified devices.

    Try to configure it intuitively, and publish screenshots if some settings are not clear.

    #16369
    meidad
    Participant

    Is there any manual for the DrvMqttPublisher
    we want to get modbus data and sen it as JSON using MQTT

    #16371
    Mikhail
    Moderator

    No, unfortunately. Set up intuitively. Write here in case of issues, providing screenshots.

    #16373
    meidad
    Participant

    can we know what are the MQTT Publisher Publish Format parameters
    is it posible to send whole table and not line by line
    what are the values of @stat
    how can i access any channel from javascript

    #16377
    Mikhail
    Moderator

    MQTT Publisher sends data tag by tag. Payload format is configurable. I suggest to try. It does not require much efforts.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.