MQTT Addressing


The address of any Tag that belongs to a MQTT data source depends on the selected Message Format (In data source configuration).



Selecting "Default" will map tags from the device to Stream server automatically. This automatic maps require that the device send its MQTT payload in Stream format.


Example payload:

[

  {

    "MsgSource": "Source1",

    "TagName": "GROUP1.TAG1",

    "RawValue": "41",

    "ScaledValue": "41",

    "Status": "Normal",

    "ComStatus": null,

    "TimeStamp": "2020-02-03 12:21:14"

  },

  {

    "MsgSource": "Source1",

    "TagName": "GROUP1.TAG2",

    "RawValue": "88",

    "ScaledValue": "88",

    "Status": "Normal",

    "ComStatus": null,

    "TimeStamp": "2020-02-03 12:21:14"

  }

]


Example screen shot

Function: Holding Register

Index: 2