MQTT Addressing


The address of any Tag that belongs to a MQTT data source should follow the following syntax format:


<Topic>;<TokenPath>


  • MQTT Message Example:
    • Topic: gen1/data
    • Payload (JSON):

{

     "temperature":"15",

      "humidity":"58"

}


Addressing for the above example should be like the following:


To get the temperature value: gen1;temperature

To get the humidity value: gen1;humidity



Note that Tag name is irrelevant to both the topic name and the token path. Specify the appropriate tag name according to your tagging philosophy.


Example: